Image-Text-to-Text
Transformers.js
ONNX
florence2
vision
text-generation
text2text-generation
image-to-text
Instructions to use onnx-community/Florence-2-base-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/Florence-2-base-ft with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'onnx-community/Florence-2-base-ft');
Download vocab.json from onnx-community/Florence-2-base-ft: direct link, hf CLI and curl.
- Browser
- Download file 1.1 MB
-
https://huggingface.co/onnx-community/Florence-2-base-ft/resolve/main/vocab.json
- Command line
-
hf download hf://onnx-community/Florence-2-base-ft/vocab.json
-
curl -L -o vocab.json https://huggingface.co/onnx-community/Florence-2-base-ft/resolve/main/vocab.json
1.1 MB
File too large to display, you can check the raw version instead.