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

model_type: 'internvl2-8b' is not registered #1324

Closed
Jiax323 opened this issue Jul 8, 2024 · 11 comments
Closed

model_type: 'internvl2-8b' is not registered #1324

Jiax323 opened this issue Jul 8, 2024 · 11 comments

Comments

@Jiax323
Copy link

Jiax323 commented Jul 8, 2024

CUDA_VISIBLE_DEVICES=0 swift sft
--model_type internvl2-8b
--dataset /home/admin/workspace/aop_lab/inf_extr_data/train_dataset_ocr_pic_intern.json
--max_length 4096

显示model_type: 'internvl2-8b' is not registered
@Jintao-Huang
Copy link
Collaborator

从main分支 安装呢

@Jiax323
Copy link
Author

Jiax323 commented Jul 9, 2024

[INFO:swift] Downloading the model from ModelScope Hub, model_id: OpenGVLab/InternVL2-8B
[ERROR:modelscope] The request model: OpenGVLab/InternVL2-8B does not exist!
会出现这个错误

@hjh0119
Copy link
Collaborator

hjh0119 commented Jul 9, 2024

该模型是申请制下载, 你需要申请下载后用ModelScope Hub登录

@Jiax323
Copy link
Author

Jiax323 commented Jul 10, 2024

下载之后如何在python代码中进行调用呢,有相关参考文档吗?

@GoudyGe
Copy link

GoudyGe commented Jul 19, 2024

我也遇到这个问题:我的是internvl2-1b 想微调提示模型没有注册,我snapshot download下载下来了之后,依然有这个提醒。

@hjh0119
Copy link
Collaborator

hjh0119 commented Jul 19, 2024

@GoudyGe
Copy link

GoudyGe commented Jul 19, 2024

@hjh0119
Copy link
Collaborator

hjh0119 commented Jul 19, 2024

@GoudyGe hub_token的逻辑最近几天有更新, 你试下更新swift会不会还有问题

@GoudyGe
Copy link

GoudyGe commented Jul 19, 2024

@GoudyGe hub_token的逻辑最近几天有更新, 你试下更新swift会不会还有问题

而且我看了微调命令的help里面是没有1b的模型的,但是文档里面写了有1b,2b的才有。

@hjh0119
Copy link
Collaborator

hjh0119 commented Jul 19, 2024

@GoudyGe 1b是昨天新支持的, 需要你用源码安装swift

@GoudyGe
Copy link

GoudyGe commented Jul 19, 2024

@GoudyGe 1b是昨天新支持的, 需要你用源码安装swift

ok··· 明白了

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

4 participants