Question Answering
Transformers
Safetensors
English
florence2
image-text-to-text
document-vqa
vqa
image-to-text
multimodal
custom_code
Instructions to use sahilnishad/Florence-2-FT-DocVQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sahilnishad/Florence-2-FT-DocVQA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="sahilnishad/Florence-2-FT-DocVQA", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("sahilnishad/Florence-2-FT-DocVQA", trust_remote_code=True) model = AutoModelForImageTextToText.from_pretrained("sahilnishad/Florence-2-FT-DocVQA", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Ctrl+K