Image-Text-to-Text
Transformers.js
ONNX
florence2
vision
text-generation
text2text-generation
image-to-text
Instructions to use onnx-community/Florence-2-large-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-large-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-large-ft');
Demo script
#3
by razwork - opened
Can you please provide a short demo script to run this model?
Thanks!
Hi there! This is still a work-in-progress, but you can find some example (experimental) usage at https://github.com/xenova/transformers.js/pull/545#issuecomment-2183625876. Note that this requires installing Transformers.js v3 from source with
npm install xenova/transformers.js#v3
No description provided.
could you tell me how to export this model in onnx? when I export this model I encounter many problems.