dengxingzhi
dengxingzhi
您好,在我使用"python train_demo.py --encoder roberta --pretrain_ckpt /model/roberta-base"命令时,运行到proto.py的37行出现了"AttributeError: 'str' object has no attribute 'size'“错误,我进行了debug,然后发现proto.py中的第34行support_emb的值是一个str类型,但是却在37行使用了.size属性,为什么会出现这种情况呢,self.sentence_encorder(support)返回的是一个字符类型吗?我该怎么处理呢,谢谢
Hi, I would like to ask, if I want to use relational classification in NLP tasks and I want to retrain the model without using the trained checkpoints you published,...
hello,An error occurs when I run the debert cola.sh script Traceback (most recent call last): File "examples/text-classification/run_glue.py", line 626, in main() File "examples/text-classification/run_glue.py", line 558, in main train_result = trainer.train(resume_from_checkpoint=checkpoint)...