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

plug in problem #11

Closed
kenxxxxx opened this issue Mar 5, 2024 · 5 comments
Closed

plug in problem #11

kenxxxxx opened this issue Mar 5, 2024 · 5 comments

Comments

@kenxxxxx
Copy link

kenxxxxx commented Mar 5, 2024

The tensor matrix output by vitlens is 1*768 for each modal message right? So where in Instructblip do I plug it in can you please answer? Thanks!

@StanLei52
Copy link
Collaborator

Hi, thank you for your question.

For InstructBLIP and SEED-LLaMA integration, we use EVA-CLIP-g/14(embedding dim: 1408) for ViT-Lens training, which is different from ViT-Lens-L (based on ViT Large). Since we use the same ViT as InstructBLIP and SEED-LLaMA, we directly plug the Lens and modality module prior to ViT layers.

@kenxxxxx
Copy link
Author

kenxxxxx commented Mar 5, 2024

Thanks for your answer! Do you plan to upload the models used for integration?

Hi, thank you for your question.

For InstructBLIP and SEED-LLaMA integration, we use EVA-CLIP-g/14(embedding dim: 1408) for ViT-Lens training, which is different from ViT-Lens-L (based on ViT Large). Since we use the same ViT as InstructBLIP and SEED-LLaMA, we directly plug the Lens and modality module prior to ViT layers.

@StanLei52
Copy link
Collaborator

Yes. Currently some ckpt can be found on hf(3D). I am working on cleaning the code for integration pipeline and plan to release it within one month due to limited bandwidth.

@kenxxxxx
Copy link
Author

kenxxxxx commented Mar 6, 2024

Okay thanks!

@cfeng16
Copy link

cfeng16 commented Apr 4, 2024

Nice work! I am wondering if there is any update regarding the release of code?

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

3 participants