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');
How to use onnx in android ?
#8
by omjnjjj - opened
As a beginner , I am try to use this model, but now I have three questions:
1 Can these ONNX files be used on Android devices? I noticed in the readme that it only mentions compatibility with JavaScript.
2 How can I use ONNX files on Android? I've found some demos of ONNX Runtime on Android, but they are very simple and only use a single ONNX file as the model file. I have a basic idea, such as combining multiple ONNX files into one . If this method is not feasible, could you please guide me on how to proceed?
3 If this method is feasible, could you please upload the merged ONNX file? Or tell me how to merge these ONNX files?
Thank you very much
omjnjjj changed discussion title from How to use onnx to How to use onnx in android ?