Instructions to use Xenova/pix2struct-textcaps-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/pix2struct-textcaps-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-textcaps-base');
Download onnx/encoder_model_quantized.onnx from Xenova/pix2struct-textcaps-base: direct link, hf CLI and curl.
- Browser
- Download file 92.8 MB
-
https://huggingface.co/Xenova/pix2struct-textcaps-base/resolve/main/onnx/encoder_model_quantized.onnx
- Command line
-
hf download hf://Xenova/pix2struct-textcaps-base/onnx/encoder_model_quantized.onnx
-
curl -L -o encoder_model_quantized.onnx https://huggingface.co/Xenova/pix2struct-textcaps-base/resolve/main/onnx/encoder_model_quantized.onnx
92.8 MB
- Xet hash:
- 0e3a390242e01b05b55a011ccddbde2d05632170ab608586406646e2fc58bb8e
- Size of remote file:
- 92.8 MB
- SHA256:
- eb60fa5d4ce55cefa792394e1c38c6f78cc851b98506d88c202324d753432304
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.