Xenova HF Staff commited on
Commit
5554cfa
·
verified ·
1 Parent(s): f791782

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