Instructions to use shadowlilac/visor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shadowlilac/visor with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="shadowlilac/visor")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("shadowlilac/visor") model = AutoModelForMultimodalLM.from_pretrained("shadowlilac/visor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
c0d8e07 -
Upload BlipForConditionalGeneration
c607464 -
Upload processor
603a23f -
Update LICENSE
f6e929f -
Update LICENSE
08a9da9 -
Rename LICENSE.txt to LICENSE_BLIP
2d472be -
Upload Salesforce BLIP license
a38b587
-
Update preprocessor_config.json
d71f7ea
-
Update README.md
bf0a6a0 -
Update LICENSE
89ea3cd -
Upload BlipForConditionalGeneration
bc65d00 -
Upload processor
d4be244 -
initial commit
924d7c2