Transformers.js - Enable external data format in Node.js
Browse filesSee https://github.com/huggingface/transformers.js/pull/1212 for more information.
- config.json +8 -1
config.json
CHANGED
|
@@ -24,5 +24,12 @@
|
|
| 24 |
"num_hidden_layers": 27,
|
| 25 |
"patch_size": 14,
|
| 26 |
"torch_dtype": "float32"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
-
}
|
|
|
|
| 24 |
"num_hidden_layers": 27,
|
| 25 |
"patch_size": 14,
|
| 26 |
"torch_dtype": "float32"
|
| 27 |
+
},
|
| 28 |
+
"transformers.js_config": {
|
| 29 |
+
"use_external_data_format": {
|
| 30 |
+
"model.onnx": true,
|
| 31 |
+
"model_fp16.onnx": true,
|
| 32 |
+
"text_model.onnx": true
|
| 33 |
+
}
|
| 34 |
}
|
| 35 |
+
}
|