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

training V-L and L-P projection layer #58

Open
remvanthull opened this issue Jun 26, 2024 · 1 comment
Open

training V-L and L-P projection layer #58

remvanthull opened this issue Jun 26, 2024 · 1 comment

Comments

@remvanthull
Copy link

Hi!

I have a question about training the projection layers; is this allowed by the code by default, or do you need to specify model arguments/make changes in the code to do this? I was getting quite confused when trying to figure this out.

Thanks so much in advance!
Rachel

@remvanthull
Copy link
Author

@hanoonaR I noticed in train_ft.py that the mm_projector weights were set to requires_grad = False, should this be set to True to finetune the V-L projection layer?
https://github.com/mbzuai-oryx/groundingLMM/blob/0c8b252efc5f7b8310bf2f83c3441d78862eb750/train_ft.py#L214C1-L215C32

Or should you set --tune_mm_mlp_adapter to True?

Thanks,
Rachel

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

1 participant