songyouwei / ABSA-PyTorch

Aspect Based Sentiment Analysis, PyTorch Implementations. 基于方面的情感分析,使用PyTorch实现。
MIT License
1.99k stars 522 forks source link

关于LCF_BERT #215

Open Neverer opened 2 years ago

Neverer commented 2 years ago

训练LCF_BERT时,出现TypeError: dropout(): argument 'input' (position 1) must be Tensor, not str

itsceleste7 commented 6 months ago

transformers的版本不能高于4,可以降到3.5.1