Instructions to use Xenova/vit-gpt2-image-captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/vit-gpt2-image-captioning with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-text', 'Xenova/vit-gpt2-image-captioning');
Add/update the quantized ONNX model files and README.md for Transformers.js v3
#3 opened about 1 year ago
by
whitphx
optimization for mobile
#2 opened about 1 year ago
by
vlad-m-dev
quantized ONNX export and inference
#1 opened over 2 years ago
by
centaur31