Run this model with HF Jobs

Run google/pix2struct-docvqa-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/google/pix2struct-docvqa-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/google/pix2struct-docvqa-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
pix2struct-docvqa-base / preprocessor_config.json
ybelkada's picture
ybelkada HF Staff
Upload processor
87ef4ff
Raw History Blame Contribute Delete
249 Bytes
{
"do_convert_rgb": true,
"do_normalize": true,
"image_processor_type": "Pix2StructImageProcessor",
"is_vqa": true,
"max_patches": 2048,
"patch_size": {
"height": 16,
"width": 16
},
"processor_class": "Pix2StructProcessor"
}