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');
Update preprocessor_config.json
Browse files- preprocessor_config.json +0 -3
preprocessor_config.json
CHANGED
|
@@ -16,9 +16,6 @@
|
|
| 16 |
"data_format",
|
| 17 |
"input_data_format"
|
| 18 |
],
|
| 19 |
-
"auto_map": {
|
| 20 |
-
"AutoProcessor": "processing_florence2.Florence2Processor"
|
| 21 |
-
},
|
| 22 |
"crop_size": {
|
| 23 |
"height": 768,
|
| 24 |
"width": 768
|
|
|
|
| 16 |
"data_format",
|
| 17 |
"input_data_format"
|
| 18 |
],
|
|
|
|
|
|
|
|
|
|
| 19 |
"crop_size": {
|
| 20 |
"height": 768,
|
| 21 |
"width": 768
|