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');
Update tokenizer files
#3
by Xenova HF Staff - opened
- tokenizer_config.json +0 -3
tokenizer_config.json
CHANGED
|
@@ -9260,9 +9260,6 @@
|
|
| 9260 |
"</poly>",
|
| 9261 |
"<and>"
|
| 9262 |
],
|
| 9263 |
-
"auto_map": {
|
| 9264 |
-
"AutoProcessor": "processing_florence2.Florence2Processor"
|
| 9265 |
-
},
|
| 9266 |
"bos_token": "<s>",
|
| 9267 |
"clean_up_tokenization_spaces": true,
|
| 9268 |
"cls_token": "<s>",
|
|
|
|
| 9260 |
"</poly>",
|
| 9261 |
"<and>"
|
| 9262 |
],
|
|
|
|
|
|
|
|
|
|
| 9263 |
"bos_token": "<s>",
|
| 9264 |
"clean_up_tokenization_spaces": true,
|
| 9265 |
"cls_token": "<s>",
|