We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Either need to update transformers package to latest (or pre-latest) version or specify revision in .from_pretrained calls.
processor = Blip2Processor.from_pretrained("Salesforce/blip2-opt-2.7b", revision="51572668da0eb669e01a189dc22abe6088589a24") # Initialize the BLIP2 model model = Blip2ForConditionalGeneration.from_pretrained( "Salesforce/blip2-opt-2.7b", torch_dtype=torch.float16, revision="51572668da0eb669e01a189dc22abe6088589a24" )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Either need to update transformers package to latest (or pre-latest) version or specify revision in .from_pretrained calls.
The text was updated successfully, but these errors were encountered: