Update config.json
Browse files- config.json +13 -8
config.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
|
| 3 |
+
config = {
|
| 4 |
+
"model_type": "bert",
|
| 5 |
+
"hidden_size": 768,
|
| 6 |
+
"num_attention_heads": 12,
|
| 7 |
+
"num_hidden_layers": 12,
|
| 8 |
+
"vocab_size": 30522,
|
| 9 |
+
"max_position_embeddings": 512
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
with open("config.json", "w") as f:
|
| 13 |
+
json.dump(config, f)
|