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