-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
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
确少配置文件config.json #44
Comments
请问您解决了吗?我也遇到了类似问题,谢谢! |
你这个路径文件错了吧? |
下载好模型文件后,在main文件下新建init_model文件夹,将下载后的模型文件放在init_model文件夹下,修改train_bert.sh的第二行export pretrain_dir=../init_model/ 为export pretrain_dir=./init_model/ ,出错的原因是路径前面多了一个点,导致程序找不到文件位置。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
![11](https://user-images.githubusercontent.com/28286686/152974480-60ac66b1-290f-4a0b-84b2-39ba88bf3a48.JPG)
The text was updated successfully, but these errors were encountered: