Instructions to use google/pix2struct-chartqa-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/pix2struct-chartqa-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="google/pix2struct-chartqa-base")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("google/pix2struct-chartqa-base") model = AutoModelForImageTextToText.from_pretrained("google/pix2struct-chartqa-base") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 7b56202
Update config.json 0d1b9ed
Update config.json 7e1fb62
Create README.md 6822d57
Upload processor 146835e
Upload Pix2StructForConditionalGeneration 82e731d
initial commit a9de354
Younes Belkada commited on