Transformers.js - Enable external data format in Node.js
Browse filesSee https://github.com/huggingface/transformers.js/pull/1212 for more information.
- config.json +6 -1
config.json
CHANGED
|
@@ -1,3 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"model_type": "depth_pro"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "depth_pro",
|
| 3 |
+
"transformers.js_config": {
|
| 4 |
+
"use_external_data_format": {
|
| 5 |
+
"model.onnx": true
|
| 6 |
+
}
|
| 7 |
+
}
|
| 8 |
}
|