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