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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("sahilnishad/Florence-2-FT-DocVQA", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("sahilnishad/Florence-2-FT-DocVQA", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
No attribute of generate
#1 opened about 1 year ago
by
abhi2233