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

#1
by Xenova HF Staff - opened
Files changed (1) hide show
  1. config.json +7 -1
config.json CHANGED
@@ -28,5 +28,11 @@
28
  "num_attention_heads": 16,
29
  "num_hidden_layers": 32,
30
  "projection_dim": 512
 
 
 
 
 
 
31
  }
32
- }
 
28
  "num_attention_heads": 16,
29
  "num_hidden_layers": 32,
30
  "projection_dim": 512
31
+ },
32
+ "transformers.js_config": {
33
+ "use_external_data_format": {
34
+ "model.onnx": true,
35
+ "vision_encoder.onnx": true
36
+ }
37
  }
38
+ }