Instructions to use google/pix2struct-ai2d-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/pix2struct-ai2d-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="google/pix2struct-ai2d-base")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/pix2struct-ai2d-base") model = AutoModelForMultimodalLM.from_pretrained("google/pix2struct-ai2d-base") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md a1883ef
Fix task type (#1) 7169d6f
Update README.md 1e43d8f
Update config.json ebdbc9c
Update config.json 1524e02
Update preprocessor_config.json eaf69d3
Upload processor c23f3c7
Upload processor 2e40652
Update preprocessor_config.json fb30cee
Upload processor 206cc05
Upload processor 8c4013e
Update README.md bf544e9
Update README.md 8b5fd15
Update README.md 10fac4e
Create README.md 3ad501b
Upload processor 07e2c6a
Upload Pix2StructForConditionalGeneration c129060
initial commit 0efebd1
Younes Belkada commited on