Bert-Chinese-Text-Classification-Pytorch
Bert-Chinese-Text-Classification-Pytorch copied to clipboard
使用自己的数据集进行测试时出现张量个数不匹配的问题
报错处:_, pooled = self.bert(context, attention_mask=mask, output_all_encoded_layers=False) 报错如下 RuntimeError: The size of tensor a (117) must match the size of tensor b (118) at non-singleton dimension 3
我也这样,什么问题
@649453932 大佬知道怎么回事吗,语料里有字母或英文就会包这个错