THUDM / VisualGLM-6B

Chinese and English multimodal conversational language model | 多模态中英双语对话语言模型
Apache License 2.0
4.07k stars 414 forks source link

在微调加载模型的过程中遇到的问题:ValueError: could not find the metadata file ../latest, please check --load #304

Open LittleGreenYuan opened 10 months ago

LittleGreenYuan commented 10 months ago

在加载模型的过程中遇到了下方的错误: ValueError: could not find the metadata file ../latest, please check --load

此前,还有提示缺少了“model_config.json”文件,但我通过复制别人的越过了这个问题。 请问这种情况我该如何解决?

1049451037 commented 10 months ago

这种情况应该通过官方自动下载下载模型。复制别人的肯定跑不起来官方代码。

LittleGreenYuan commented 10 months ago

非常感谢解答,因为有本地加载模型的需要,所以可能需要将所有组件都放置在本地而非缓存在目录里。总之,我再去试试看要如何解决。

newledge commented 8 months ago

这种情况应该通过官方自动下载下载模型。复制别人的肯定跑不起来官方代码。

官方https://huggingface.co/THUDM/visualglm-6b 中就没有latest文件

feifeifei1236 commented 8 months ago

您好,请问这个问题解决了吗?

xiongxiaochu commented 7 months ago

请问这个问题解决了吗?

newledge commented 7 months ago

嗯嗯,解决了,https://huggingface.co/wangrongsheng/XrayGLM-300/tree/main,你们从这里下载模型吧