【求助帖】多模态课程启动minigptv报错 #290

Open
opened 2024-10-25 16:50:16 +08:00 by qcwqbc · 2 comments

启动时报错
RuntimeError: Internal: could not parse ModelProto from /root/autodl-tmp/MiniGPT-4/Llama-2-7b-chat-hf/tokenizer.model

启动时报错 RuntimeError: Internal: could not parse ModelProto from /root/autodl-tmp/MiniGPT-4/Llama-2-7b-chat-hf/tokenizer.model
  1. 可能模型文件损坏或缺失,检查文件大小是否和官网一致;否则重新下载模型。
    https://www.modelscope.cn/models/shakechen/Llama-2-7b-chat-hf/files
    image
  2. 版本不兼容,确保正在使用的库(如transformers)的版本与模型所需的版本相匹配。
1. 可能模型文件损坏或缺失,检查文件大小是否和官网一致;否则重新下载模型。 https://www.modelscope.cn/models/shakechen/Llama-2-7b-chat-hf/files <img width="959" alt="image" src="/attachments/e91e6aa6-008a-4733-a513-cab16957bad3"> 2. 版本不兼容,确保正在使用的库(如transformers)的版本与模型所需的版本相匹配。
246 KiB
Author
  1. 可能模型文件损坏或缺失,检查文件大小是否和官网一致;否则重新下载模型。
    https://www.modelscope.cn/models/shakechen/Llama-2-7b-chat-hf/files
    image
  2. 版本不兼容,确保正在使用的库(如transformers)的版本与模型所需的版本相匹配。

重新下载了模型,就成了

> 1. 可能模型文件损坏或缺失,检查文件大小是否和官网一致;否则重新下载模型。 > https://www.modelscope.cn/models/shakechen/Llama-2-7b-chat-hf/files > <img width="959" alt="image" src="/attachments/e91e6aa6-008a-4733-a513-cab16957bad3"> > 2. 版本不兼容,确保正在使用的库(如transformers)的版本与模型所需的版本相匹配。 > 重新下载了模型,就成了
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#290
No description provided.