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
@@ -23,5 +23,12 @@
|
|
23 |
"num_attention_heads": 16,
|
24 |
"num_hidden_layers": 27,
|
25 |
"torch_dtype": "float32"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
27 |
-
}
|
|
|
23 |
"num_attention_heads": 16,
|
24 |
"num_hidden_layers": 27,
|
25 |
"torch_dtype": "float32"
|
26 |
+
},
|
27 |
+
"transformers.js_config": {
|
28 |
+
"use_external_data_format": {
|
29 |
+
"model.onnx": true,
|
30 |
+
"model_fp16.onnx": true,
|
31 |
+
"text_model.onnx": true
|
32 |
+
}
|
33 |
}
|
34 |
+
}
|