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