-
Notifications
You must be signed in to change notification settings - Fork 98
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
transfer_param.py 转换vincuna hf模型成sat模型报错 #177
Comments
请安装github最新版sat
|
这个问题解决了。 但我在finetune vicuna的时候报错了,报错如下: |
cogvlm加载的checkpoint应该是旧版本的llama,如果你想用新版的llama可能需要修改一下cogvlm的代码。 两者的区别是新版sat把mlp内置了,不需要添加mixin。 |
可能是你转换的不太对吧,转换脚本在这里:https://github.com/THUDM/SwissArmyTransformer/tree/main/examples/llama |
eva_args肯定是没有的,因为转换的是语言模型。 |
cogVLM不是基于vicuna finetune的吗? 我也看到cogVLM的issue提到基于vincuna finetune和基于cogVLM finetune 没有区别。而finutune的代码中是需要eva_args结构里的数据的,那究竟是怎么基于vincuna finetune的呢?有没有可以参考的资料呢 |
直接用cogvlm的model_config.json加载你转换好的checkpoint文件。也就是说把cogvlm的model_config.json复制到你转换好的权重文件夹里。 |
如果需要预训练的vit权重,可以把vit部分直接添加到你转换好的checkpoint文件里。 |
请问我下载更新的时候出现了这种错误,您知道如何解决吗? × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
如果不用于训练的话可以这样试试:
否则就需要安装正确的cuda版本 |
好的 谢谢,但是这个对应的cuda版本和python版本如何查看呢 |
import torch
print(torch.version.cuda) |
谢谢你 我尝试一下 |
No description provided.
The text was updated successfully, but these errors were encountered: