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

训练时的一些错误 #115

Open
gittyspirit opened this issue Mar 31, 2023 · 1 comment
Open

训练时的一些错误 #115

gittyspirit opened this issue Mar 31, 2023 · 1 comment

Comments

@gittyspirit
Copy link

OSError: model_epoch40_50w is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with use_auth_tokenor log in withhuggingface-cli loginand passuse_auth_token=True.

我已经登录了HuggingFace账户,请问use_auth_token应如何修改?

@Whylickspittle
Copy link

我也遇到了这个问题,但是在上周的时候这个问题还不存在,我也不知道更新了什么。之前这个命令应该是直接调用选择model文件夹下预训练的权重文件,现在是得自己Hugging Face仓库下的?
我现在是通过修改interact.py文件夹下的
parser.add_argument('--model_path', default='model/model_epoch40_50w', type=str, required=False, help='对话模型路径')
修改默认的model_path参数下的默认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

2 participants