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');
| { | |
| "background_color": [ | |
| 127, | |
| 127, | |
| 127 | |
| ], | |
| "do_normalize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "VLMImageProcessor", | |
| "image_size": 384, | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "min_size": 14, | |
| "processor_class": "VLChatProcessor", | |
| "rescale_factor": 0.00392156862745098 | |
| } | |