Skip to content
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

Open
fx7056 opened this issue Feb 8, 2022 · 3 comments
Open

确少配置文件config.json #44

fx7056 opened this issue Feb 8, 2022 · 3 comments

Comments

@fx7056
Copy link

fx7056 commented Feb 8, 2022

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

@fx7056 fx7056 changed the title 确实配置文件config.json 确少配置文件config.json Feb 9, 2022
@Djokovic0311
Copy link

请问您解决了吗?我也遇到了类似问题,谢谢!

@xinjicong
Copy link

你这个路径文件错了吧?

@xiaoweiweixiao
Copy link

下载好模型文件后,在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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants