Instructions to use LemOneLabs/Janus-Pro-1B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use LemOneLabs/Janus-Pro-1B-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('any-to-any', 'LemOneLabs/Janus-Pro-1B-ONNX');
File size: 288 Bytes
94087f4 | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"add_special_token": false,
"ignore_id": -100,
"image_tag": "<image_placeholder>",
"image_start_tag": "<begin_of_image>",
"image_end_tag": "<end_of_image>",
"mask_prompt": true,
"num_image_tokens": 576,
"processor_class": "VLChatProcessor",
"sft_format": "deepseek"
}
|