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