Transformers.js - Enable external data format in Node.js
Browse filesSee https://github.com/huggingface/transformers.js/pull/1212 for more information.
- config.json +5 -1
config.json
CHANGED
|
@@ -28,8 +28,12 @@
|
|
| 28 |
"kv_cache_dtype": {
|
| 29 |
"q4f16": "float16",
|
| 30 |
"fp16": "float16"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
},
|
| 33 |
"use_cache": true,
|
| 34 |
"vocab_size": 49152
|
| 35 |
-
}
|
|
|
|
| 28 |
"kv_cache_dtype": {
|
| 29 |
"q4f16": "float16",
|
| 30 |
"fp16": "float16"
|
| 31 |
+
},
|
| 32 |
+
"use_external_data_format": {
|
| 33 |
+
"model.onnx": true,
|
| 34 |
+
"model_fp16.onnx": true
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"use_cache": true,
|
| 38 |
"vocab_size": 49152
|
| 39 |
+
}
|