Instructions to use LemOneLabs/FastVLM-0.5B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use LemOneLabs/FastVLM-0.5B-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'LemOneLabs/FastVLM-0.5B-ONNX');
Download processor_config.json from LemOneLabs/FastVLM-0.5B-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 133 Bytes
-
https://huggingface.co/LemOneLabs/FastVLM-0.5B-ONNX/resolve/main/processor_config.json
- Command line
-
hf download hf://LemOneLabs/FastVLM-0.5B-ONNX/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/LemOneLabs/FastVLM-0.5B-ONNX/resolve/main/processor_config.json
133 Bytes
| { | |
| "image_token": "<image>", | |
| "num_additional_image_tokens": 0, | |
| "processor_class": "LlavaProcessor", | |
| "patch_size": 64 | |
| } |