finetune BERT+cnn with error of AttributeError: 'str' object has no attribute 'unsqueeze' using pytorch

前端 未结 0 1804
-上瘾入骨i
-上瘾入骨i 2020-12-11 14:33

I have a problem when I run the code loss=model(inputs,label_ids), it happens a problem of AttributeError. I have seached on Google for a long time but I can\'t find a key t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题