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: 134 Bytes
c8af042 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b5b9f4dba2142c7f75eb705c936773b4df64f48a3d0ab7a50901a7ece8f45354
size 762171452
|