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:23cc6b7b05a1bcd3a829edaf6cb6fe5a7da9f48e20bdeba76b7d428e348e271a
size 192112757
|