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

[Model] Initial support for BLIP-2 #5920

Draft
wants to merge 214 commits into
base: main
Choose a base branch
from

Conversation

DarkLight1337
Copy link
Collaborator

@DarkLight1337 DarkLight1337 commented Jun 27, 2024

Implement BLIP-2 model (tested with Salesforce/blip2-opt-2.7b).

FIX #4739

Related contributions

This PR depends on #5276 as the HuggingFace processor doesn't expect image token to be present in the text at all. It also depends on the fix provided by #5954.

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

Successfully merging this pull request may close these issues.

[New Model]: Blip2 Support required
2 participants