Transformers.js - Enable external data format in Node.js
Browse filesSee https://github.com/huggingface/transformers.js/pull/1212 for more information.
- 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 |
+
}
|