ACLT
ACLT copied to clipboard
OSError
你好,我想用Roberta去替换bert,但是遇到一个错误,不知道什么原因,您能帮我看一下吗?不甚感激!

你好,我想用Roberta去替换bert,但是遇到一个错误,不知道什么原因,您能帮我看一下吗?不甚感激!
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.
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!