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');
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"_attn_implementation_autoset": true,
|
| 3 |
-
"_name_or_path": "ariG23498/llava-fastvithd_0.5b_stage3",
|
| 4 |
"architectures": [
|
| 5 |
"LlavaQwen2ForCausalLM"
|
| 6 |
],
|
|
|
|
| 1 |
{
|
| 2 |
"_attn_implementation_autoset": true,
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
"LlavaQwen2ForCausalLM"
|
| 5 |
],
|