Image-Text-to-Text
Transformers
PyTorch
pix2struct
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="zirui3/pix2struct-cord-v2")
# Load model directly
from transformers import AutoProcessor, AutoModelForImageTextToText

processor = AutoProcessor.from_pretrained("zirui3/pix2struct-cord-v2")
model = AutoModelForImageTextToText.from_pretrained("zirui3/pix2struct-cord-v2")
Quick Links

summary

KIE(Key Information Extraction) from doc images without OCR based on pix2struct

Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train zirui3/pix2struct-cord-v2