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');
File size: 133 Bytes
c8af042 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4c300d43ea8c6b83bffebb5686373154d8677bc2e11ac8a4ae3c89c494997d0c
size 92753145
|