ABSA-PyTorch
ABSA-PyTorch copied to clipboard
关于bert 与 albert
您好,我将您的模型从Bert改为Albert,利用transformer将BertTokenization与BertModel改为ALbertTokenization与AlbertModel,并运行了bert_spc与lcf_bert,但精度一直在45上下波动,Loss也一直高于1。起初怀疑是albert 将NSP改为SOP后 bert-spc 可能不再适应,于是运行了没有bert_spc的aen模型,但仍没有解决问题,所以想请教一下您可能是什么原因造成的,谢谢!
目前这个repo用的是pytorch-transformers==1.2.0,不是最新的transformers那个版本,那个好像之前是发现会有你这个问题的。你试试卸载了,安装1.2.0这个版本
好的,谢谢您
Hello, I encountered the same problem, did you solve it? If it is resolved, please tell me the solution. Thank you