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