Transformers.js - Enable external data format in Node.js (#1)
Browse files- Transformers.js - Enable external data format in Node.js (be6bf18c319ff2c2431e1409374521b07917a068)
- 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 |
+
}
|