Create setting.json
Browse files- setting.json +14 -0
setting.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
|
3 |
+
config = {
|
4 |
+
"input_dim": 13,
|
5 |
+
"model_dim": 64,
|
6 |
+
"num_heads": 8,
|
7 |
+
"num_layers": 2,
|
8 |
+
"output_dim": 1,
|
9 |
+
"model_type": "custom_transformer"
|
10 |
+
}
|
11 |
+
|
12 |
+
config_save_path = r'setting.json'
|
13 |
+
with open(config_save_path, 'w') as f:
|
14 |
+
json.dump(config, f)
|