-
Notifications
You must be signed in to change notification settings - Fork 110
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
模型加载问题 #96
Comments
I apologize for any confusion caused. You can replace "monkey_model" with for the model weights' path you have downloaded or "echo840/Monkey". |
感谢您的回复,将”monkey_model“改成”echo840/Monkey”后,出现了以下错误 |
[2024-05-27 07:42:53,689] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect) 在测试textMonkey模型时候的报错 |
Hello, you should either use transformers==4.32.0 or refer to this link for fixing: https://huggingface.co/echo840/Monkey-Chat/discussions/1. https://huggingface.co/echo840/Monkey/discussions/4
|
您能告诉我,您是在训练还是测试时报错的呢? |
在训练的时候报错 |
我将这里的"monkey_model"改成了本地路径,并且按照readme文件一步一步配置的环境,但是之后运行训练脚本就会报上面的错误 |
config = MonkeyConfig.from_pretrained(
"monkey_model",
cache_dir=training_args.cache_dir,
trust_remote_code=True,
)这段代码因为"monkey_model",会报以下错误
OSError: monkey_model 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 either by logging in with
huggingface-cli login
or by passingtoken=<your_token>
The text was updated successfully, but these errors were encountered: