Xenova HF staff commited on
Commit
29f74e6
·
verified ·
1 Parent(s): f3a9d68

Transformers.js - Enable external data format in Node.js

Browse files

See https://github.com/huggingface/transformers.js/pull/1212 for more information.

Files changed (1) hide show
  1. 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
+ }