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/encoder_model_quantized.onnx from Xenova/pix2struct-docvqa-base: direct link, hf CLI and curl.
- Browser
- Download file 92.8 MB
-
https://huggingface.co/Xenova/pix2struct-docvqa-base/resolve/main/onnx/encoder_model_quantized.onnx
- Command line
-
hf download hf://Xenova/pix2struct-docvqa-base/onnx/encoder_model_quantized.onnx
-
curl -L -o encoder_model_quantized.onnx https://huggingface.co/Xenova/pix2struct-docvqa-base/resolve/main/onnx/encoder_model_quantized.onnx
92.8 MB
- Xet hash:
- babf13da2d190cbfc47620fe8b8402c82d8ec1ba0c57f1b66d9306f98714c5d6
- Size of remote file:
- 92.8 MB
- SHA256:
- 666f3af0d140e85f240fafefa376d42b718877888fb2c6d139f49972b3d1440d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.