LLaVA-NeXT icon indicating copy to clipboard operation
LLaVA-NeXT copied to clipboard

After the mm_vision_tower and mm_mlp_adapter of llava-onevision-qwen2-7b-ov were fine-tuned, the model parameter shape did not match after the fine-tuning

Open zyf8818 opened this issue 1 year ago • 6 comments

After the mm_vision_tower and mm_mlp_adapter of llava-onevision-qwen2-7b-ov were fine-tuned, the model parameter shape did not match after the fine-tuning. 微信图片_20241118104341

This is my training setting:after fine-tuning, when I load the fine-tuned model there is an error:

微信图片_20241118104707

zyf8818 avatar Nov 18 '24 02:11 zyf8818

I used zero2 and zero3 respectively, but the fine-tuned model would report errors during the loading process. Is this caused by improper parameter setting?

zyf8818 avatar Nov 18 '24 02:11 zyf8818

another information for this error: Uploading 微信图片_20241118110501.png…

zyf8818 avatar Nov 18 '24 03:11 zyf8818

I had the same problem. I resolved this by following this: https://github.com/LLaVA-VL/LLaVA-NeXT/issues/329

jun297 avatar Nov 19 '24 10:11 jun297

I had the same problem. I resolved this by following this: #329

Thanks a lot, it works.

zyf8818 avatar Nov 21 '24 03:11 zyf8818

I had the same problem. I resolved this by following this: #329

Thanks a lot, it works.

@ZhangYuanhan-AI 你好这个确定是可以这样改吗,这个关乎重新微调对不对的问题orz,不知道能不能确认一下~ (*❦ω❦)

jun0wanan avatar Jan 04 '25 15:01 jun0wanan

I had the same problem. I resolved this by following this: #329

Thanks a lot, it works.

@ZhangYuanhan-AI 你好这个确定是可以这样改吗,这个关乎重新微调对不对的问题orz,不知道能不能确认一下~ (*❦ω❦)

Yes. It works.

ZhangYuanhan-AI avatar Jan 05 '25 01:01 ZhangYuanhan-AI