Kasivs commited on
Commit
484f9e1
1 Parent(s): 21fc68e

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +13 -8
config.json CHANGED
@@ -1,8 +1,13 @@
1
- {
2
- "model_type": "bert",
3
- "hidden_size": 768,
4
- "num_attention_heads": 12,
5
- "num_hidden_layers": 12,
6
- "vocab_size": 30522,
7
- "max_position_embeddings": 512
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)