Image-Text-to-Text
Transformers.js
ONNX
florence2
vision
text-generation
text2text-generation
image-to-text
Instructions to use onnx-community/Florence-2-base 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 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');
Download tokenizer.json from onnx-community/Florence-2-base: direct link, hf CLI and curl.
- Browser
- Download file 2.3 MB
-
https://huggingface.co/onnx-community/Florence-2-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://onnx-community/Florence-2-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/onnx-community/Florence-2-base/resolve/main/tokenizer.json
2.3 MB
File too large to display, you can check the raw version instead.