Instructions to use movementso/blip-image-captioning-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use movementso/blip-image-captioning-large 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="movementso/blip-image-captioning-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("movementso/blip-image-captioning-large") model = AutoModelForMultimodalLM.from_pretrained("movementso/blip-image-captioning-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __pycache__/handler.cpython-310.pyc from movementso/blip-image-captioning-large: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/movementso/blip-image-captioning-large/resolve/main/__pycache__/handler.cpython-310.pyc
- Command line
-
hf download hf://movementso/blip-image-captioning-large/__pycache__/handler.cpython-310.pyc
-
curl -L -o handler.cpython-310.pyc https://huggingface.co/movementso/blip-image-captioning-large/resolve/main/__pycache__/handler.cpython-310.pyc
1.55 kB
This file contains binary data. It cannot be displayed, but you can still download it.