Instructions to use onnx-community/siglip2-large-patch16-512-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/siglip2-large-patch16-512-ONNX with Transformers.js:
// ⚠️ Unknown pipeline tag
Transformers.js - Enable external data format in Node.js
Browse filesSee https://github.com/huggingface/transformers.js/pull/1212 for more information.
- config.json +7 -1
config.json
CHANGED
|
@@ -23,5 +23,11 @@
|
|
| 23 |
"num_attention_heads": 16,
|
| 24 |
"num_hidden_layers": 24,
|
| 25 |
"torch_dtype": "float32"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
-
}
|
|
|
|
| 23 |
"num_attention_heads": 16,
|
| 24 |
"num_hidden_layers": 24,
|
| 25 |
"torch_dtype": "float32"
|
| 26 |
+
},
|
| 27 |
+
"transformers.js_config": {
|
| 28 |
+
"use_external_data_format": {
|
| 29 |
+
"model.onnx": true,
|
| 30 |
+
"text_model.onnx": true
|
| 31 |
+
}
|
| 32 |
}
|
| 33 |
+
}
|