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

Qwen2-vl lora train? #5996

Open
1 task done
kike-0304 opened this issue Nov 12, 2024 · 2 comments
Open
1 task done

Qwen2-vl lora train? #5996

kike-0304 opened this issue Nov 12, 2024 · 2 comments
Labels
solved This problem has been already solved

Comments

@kike-0304
Copy link

Reminder

  • I have read the README and searched the existing issues.

System Info

None

Reproduction

lora qwen2-vl

Expected behavior

Using Lora to train qwen2-vl, will the visual encoder freeze? How can Lora train the language model while training all the parameters of the visual model?

Others

No response

@github-actions github-actions bot added the pending This problem is yet to be addressed label Nov 12, 2024
@CaiJichang212
Copy link

请问这里的--lora_target all all包含ViT模块的参数吗?

@hiyouga
Copy link
Owner

hiyouga commented Nov 14, 2024

We freeze the vision encoder by default

freeze_vision_tower: bool = field(
default=True,
metadata={"help": "Whether ot not to freeze vision tower in MLLM training."},
)

@hiyouga hiyouga added solved This problem has been already solved and removed pending This problem is yet to be addressed labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

No branches or pull requests

3 participants