Instructions to use nnpy/blip-image-captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nnpy/blip-image-captioning 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="nnpy/blip-image-captioning")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("nnpy/blip-image-captioning") model = AutoModelForMultimodalLM.from_pretrained("nnpy/blip-image-captioning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#4)
- Adding `safetensors` variant of this model (4552b8fd432bd0de23fd2b9054faf00ba5f90952) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>b413986
-
Update README.md
9e192f4
-
Update README.md
badd543 -
Update README.md
1b67c1b -
Update README.md
b6d2ff6
-
Update README.md
c186c67 -
Update README.md
a69937b -
Create README.md
859e6d1 -
Upload 5 files
4de7439
-
Upload BlipForConditionalGeneration (#1)
- Upload BlipForConditionalGeneration (b00b884807938a5e45c0e703931c782164b168d2)ad2420b -
initial commit
4428124