Instructions to use onnx-community/FastVLM-0.5B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/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', 'onnx-community/FastVLM-0.5B-ONNX');
File size: 133 Bytes
04126f1 | 1 2 3 4 5 6 | {
"image_token": "<image>",
"num_additional_image_tokens": 0,
"processor_class": "LlavaProcessor",
"patch_size": 64
} |