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');
Export code
#6
by Vasanth - opened
Hi,
I am finetuning for my custom usecase. I would like to know if you can share on how to export florence 2 as onnx model
ICYMI, I published the export code here: https://gist.github.com/xenova/d48921875c8178de1dd72443cfb6f7c8