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 -2
config.json
CHANGED
@@ -24,5 +24,11 @@
|
|
24 |
"use_cache": true,
|
25 |
"use_mrope": false,
|
26 |
"use_sliding_window": false,
|
27 |
-
"vocab_size": 151936
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
"use_cache": true,
|
25 |
"use_mrope": false,
|
26 |
"use_sliding_window": false,
|
27 |
+
"vocab_size": 151936,
|
28 |
+
"transformers.js_config": {
|
29 |
+
"use_external_data_format": {
|
30 |
+
"model.onnx": true,
|
31 |
+
"model_fp16.onnx": true
|
32 |
+
}
|
33 |
+
}
|
34 |
+
}
|