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

使用hugging face给的例子报错 #209

Closed
cheun726 opened this issue Nov 8, 2024 · 1 comment
Closed

使用hugging face给的例子报错 #209

cheun726 opened this issue Nov 8, 2024 · 1 comment

Comments

@cheun726
Copy link

cheun726 commented Nov 8, 2024

image
image
我使用huggging face给的demo例子,我将模型等文件下载到本地。报错。我检查您的原始文件,发现并没有 报错的这个文件。请帮我解决一下
image

@yinanhe
Copy link
Member

yinanhe commented Nov 11, 2024

您好,在这段代码中会加载internlm2的相关config,请确保您的机器有可以访问到huggingface的网络,如果没有的话,可以提前下载internlm2除了safetensor之外的其他的文件并把config中的语言模型的路径指向您的本地缓存。https://huggingface.co/OpenGVLab/InternVideo2_Chat_8B_InternLM2_5/blob/main/modeling_base.py#L136-L143

@shepnerd shepnerd closed this as completed Dec 7, 2024
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

3 participants