Instructions to use barsbold/BLIP-MGLmusuemUpdated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use barsbold/BLIP-MGLmusuemUpdated 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="barsbold/BLIP-MGLmusuemUpdated")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("barsbold/BLIP-MGLmusuemUpdated") model = AutoModelForImageTextToText.from_pretrained("barsbold/BLIP-MGLmusuemUpdated") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Model ID
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
datasets:
|
| 4 |
+
- barsbold/ImagetotextMGL
|
| 5 |
+
- barsbold/MGLmus
|
| 6 |
+
language:
|
| 7 |
+
- mn
|
| 8 |
+
pipeline_tag: image-to-text
|
| 9 |
---
|
| 10 |
|
| 11 |
# Model Card for Model ID
|