ACLT icon indicating copy to clipboard operation
ACLT copied to clipboard

OSError

Open xdcui-nlp opened this issue 3 years ago • 2 comments
trafficstars

你好,我想用Roberta去替换bert,但是遇到一个错误,不知道什么原因,您能帮我看一下吗?不甚感激! 截屏2022-03-17 下午9 22 58

xdcui-nlp avatar Mar 17 '22 13:03 xdcui-nlp

你好,我想用Roberta去替换bert,但是遇到一个错误,不知道什么原因,您能帮我看一下吗?不甚感激! 截屏2022-03-17 下午9 22 58

Hi thanks for your interest. If you want to use RoBERTa instead of BERT as a pre-trained model, you first need to download the model from https://huggingface.co/roberta-base/tree/main, and place all model files under the /pretrain_model/ folder. Meanwhile, you may need to call the RoBERTa API in ACLT.py at 37-39lines.

zyxnlp avatar Mar 19 '22 11:03 zyxnlp

Hi thanks for your interest. If you want to use RoBERTa instead of BERT as a pre-trained model, you first need to download the model from https://huggingface.co/roberta-base/tree/main, and place all model files under the /pretrain_model/ folder. Meanwhile, you may need to call the RoBERTa API in ACLT.py at 37-39lines.

I'm glad to receive your reply. I'll have a try!

xdcui-nlp avatar Mar 20 '22 04:03 xdcui-nlp