-
Notifications
You must be signed in to change notification settings - Fork 5
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
微调internXC2报错 #7
Comments
我们的实现方法加入了单独的image token标记图片位置,这在原模型中是没有的。您需要在模型的 |
感谢 |
File "/cache/zy/VL-RLHF/src/vlrlhf/models/InternLMXC2/init.py", line 87, in _merge_input_ids_with_image_features |
|
我们统一用 |
|
方便展示一下internXC2模型的config.py文件吗 |
可以参考我们放出的checkpoint: https://huggingface.co/TideDra/internlm-xcomposer2-vl-7b-DPO/blob/main/config.json |
internXC2 的DPO代码还是跑不起来,您确定repo里是最新版本的代码吗?是不是repo是之前的版本导致有些bug没有修复 |
File "/home/ma-user/anaconda3/envs/dpo/lib/python3.10/site-packages/transformers/configuration_utils.py", line 264, in getattribute
return super().getattribute(key)
AttributeError: 'InternLMXcomposer2Config' object has no attribute 'image_token_index'
The text was updated successfully, but these errors were encountered: