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
Commit History
-
Update tokenizer_config.json (#11)
- Update tokenizer_config.json (44e4e7d441b5674e9c2ccb4ea8a4b5aeceb6827e)cb46fbd -
Update tokenizer_config.json (#10)
- Update tokenizer_config.json (04c8f0c2b28f9d04bab728604ef5c1c839f56a1d)83fe3b6 -
Update tokenizer_config.json (#9)
- Update tokenizer_config.json (5ee53a216f4285849b4496352902b82d2fc44029) - Update tokenizer_config.json (e0715a52d27383321ce0f89af1d95c06e03f842c)3d62b65
-
Upload processor
3c1e1a0