Instructions to use Xenova/pix2struct-docvqa-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/pix2struct-docvqa-base with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'Xenova/pix2struct-docvqa-base');
Download onnx/decoder_model_merged_quantized.onnx from Xenova/pix2struct-docvqa-base: direct link, hf CLI and curl.
- Browser
- Download file 193 MB
-
https://huggingface.co/Xenova/pix2struct-docvqa-base/resolve/main/onnx/decoder_model_merged_quantized.onnx
- Command line
-
hf download hf://Xenova/pix2struct-docvqa-base/onnx/decoder_model_merged_quantized.onnx
-
curl -L -o decoder_model_merged_quantized.onnx https://huggingface.co/Xenova/pix2struct-docvqa-base/resolve/main/onnx/decoder_model_merged_quantized.onnx
193 MB
- Xet hash:
- 501f491a40fe1dc0e04fc8d69cdf0b5d56032e9cab118b7c4e4539dcbb9f7cb5
- Size of remote file:
- 193 MB
- SHA256:
- 02af0a9ff9457299fa2b7053e435dadc3a10532b01be996235d032e59ed0bb29
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.