Image-Text-to-Text
Transformers.js
ONNX
English
llava
text-generation
multimodal
qwen
conversational
Instructions to use onnx-community/nanoLLaVA-1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/nanoLLaVA-1.5 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'onnx-community/nanoLLaVA-1.5');
Download preprocessor_config.json from onnx-community/nanoLLaVA-1.5: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/onnx-community/nanoLLaVA-1.5/resolve/bbebb4745520963f1a3d1cfde885f6f778bc4bff/preprocessor_config.json
- Command line
-
hf download hf://onnx-community/nanoLLaVA-1.5@bbebb4745520963f1a3d1cfde885f6f778bc4bff/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/onnx-community/nanoLLaVA-1.5/resolve/bbebb4745520963f1a3d1cfde885f6f778bc4bff/preprocessor_config.json
367 Bytes
| { | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "SiglipImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "SiglipProcessor", | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 384, | |
| "width": 384 | |
| } | |
| } |