Instructions to use sheldonrobinson/siglip-large-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use sheldonrobinson/siglip-large-patch16-384 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-image-classification', 'sheldonrobinson/siglip-large-patch16-384');
Transformers.js - Enable external data format in Node.js
#1
by Xenova HF Staff - opened
- config.json +6 -1
config.json
CHANGED
|
@@ -20,5 +20,10 @@
|
|
| 20 |
"model_type": "siglip_vision_model",
|
| 21 |
"num_attention_heads": 16,
|
| 22 |
"num_hidden_layers": 24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
-
}
|
|
|
|
| 20 |
"model_type": "siglip_vision_model",
|
| 21 |
"num_attention_heads": 16,
|
| 22 |
"num_hidden_layers": 24
|
| 23 |
+
},
|
| 24 |
+
"transformers.js_config": {
|
| 25 |
+
"use_external_data_format": {
|
| 26 |
+
"model.onnx": true
|
| 27 |
+
}
|
| 28 |
}
|
| 29 |
+
}
|