Image-to-Text
Transformers
Safetensors
English
florence2
image-text-to-text
finetune
VQA
VLM
custom_code
Instructions to use prithivMLmods/Florence-2-VLM-Doc-VQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Florence-2-VLM-Doc-VQA 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="prithivMLmods/Florence-2-VLM-Doc-VQA", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("prithivMLmods/Florence-2-VLM-Doc-VQA", trust_remote_code=True) model = AutoModelForImageTextToText.from_pretrained("prithivMLmods/Florence-2-VLM-Doc-VQA", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,13 +9,7 @@ language:
|
|
| 9 |
- en
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# Model
|
| 13 |
-
|
| 14 |
-
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
## Model Details
|
| 19 |
|
| 20 |
# Visual Question Answering Model
|
| 21 |
|
|
|
|
| 9 |
- en
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Model Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Visual Question Answering Model
|
| 15 |
|