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")# 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
pipeline_tag:
|
| 3 |
tags:
|
| 4 |
- image-captioning
|
| 5 |
-
inference: false
|
| 6 |
languages:
|
| 7 |
- en
|
| 8 |
license: bsd-3-clause
|
|
|
|
| 1 |
---
|
| 2 |
+
pipeline_tag: image-to-text
|
| 3 |
tags:
|
| 4 |
- image-captioning
|
|
|
|
| 5 |
languages:
|
| 6 |
- en
|
| 7 |
license: bsd-3-clause
|