We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: Can't load '../init_model//roberta_wwm_ext/config.json'. Make sure that:
'../init_model//roberta_wwm_ext/config.json' is a correct model identifier listed on 'https://huggingface.co/models'
or '../init_model//roberta_wwm_ext/config.json' is the correct path to a directory containing a 'config.json' file
The text was updated successfully, but these errors were encountered:
请问您解决了吗?我也遇到了类似问题,谢谢!
Sorry, something went wrong.
你这个路径文件错了吧?
下载好模型文件后,在main文件下新建init_model文件夹,将下载后的模型文件放在init_model文件夹下,修改train_bert.sh的第二行export pretrain_dir=../init_model/ 为export pretrain_dir=./init_model/ ,出错的原因是路径前面多了一个点,导致程序找不到文件位置。
No branches or pull requests
OSError: Can't load '../init_model//roberta_wwm_ext/config.json'. Make sure that:
'../init_model//roberta_wwm_ext/config.json' is a correct model identifier listed on 'https://huggingface.co/models'
or '../init_model//roberta_wwm_ext/config.json' is the correct path to a directory containing a 'config.json' file
The text was updated successfully, but these errors were encountered: