Image-to-Text
Transformers
Safetensors
English
florence2
image-text-to-text
image-captioning
custom_code
Instructions to use yayayaaa/florence-2-large-ft-moredetailed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yayayaaa/florence-2-large-ft-moredetailed 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="yayayaaa/florence-2-large-ft-moredetailed", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("yayayaaa/florence-2-large-ft-moredetailed", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("yayayaaa/florence-2-large-ft-moredetailed", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Update README.md (#4)
Browse files- Update README.md (0a38c28cbe8458342286a162de24157162ded238)
Co-authored-by: M <userx1@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -8,6 +8,8 @@ language:
|
|
| 8 |
- en
|
| 9 |
library_name: transformers
|
| 10 |
pipeline_tag: image-to-text
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# Florence-2-large-ft trained on task MORE_DETAILED_CAPTION with imageinwords
|
|
|
|
| 8 |
- en
|
| 9 |
library_name: transformers
|
| 10 |
pipeline_tag: image-to-text
|
| 11 |
+
tags:
|
| 12 |
+
- image-captioning
|
| 13 |
---
|
| 14 |
|
| 15 |
# Florence-2-large-ft trained on task MORE_DETAILED_CAPTION with imageinwords
|