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');
Download processor_config.json from LemOneLabs/Janus-Pro-1B-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/LemOneLabs/Janus-Pro-1B-ONNX/resolve/main/processor_config.json
- Command line
-
hf download hf://LemOneLabs/Janus-Pro-1B-ONNX/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/LemOneLabs/Janus-Pro-1B-ONNX/resolve/main/processor_config.json
288 Bytes
| { | |
| "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" | |
| } | |