Update config.json
Browse files- config.json +58 -20
config.json
CHANGED
@@ -1,22 +1,60 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
"
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
"
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
|
|
1 |
{
|
2 |
+
"data_dir": "/path/to/data",
|
3 |
+
"text_encoder": {
|
4 |
+
"model_path": "/path/to/text_encoder.h5",
|
5 |
+
"max_length": 512
|
6 |
+
},
|
7 |
+
"image_encoder": {
|
8 |
+
"model_path": "/path/to/image_encoder.h5",
|
9 |
+
"input_size": [224, 224, 3]
|
10 |
+
},
|
11 |
+
"audio_encoder": {
|
12 |
+
"model_path": "/path/to/audio_encoder.h5",
|
13 |
+
"sample_rate": 16000,
|
14 |
+
"duration": 5.0
|
15 |
+
},
|
16 |
+
"hybrid_model": {
|
17 |
+
"dense_units": [512, 256],
|
18 |
+
"dropout_rate": 0.2,
|
19 |
+
"output_units": 1,
|
20 |
+
"output_activation": "sigmoid"
|
21 |
+
},
|
22 |
+
"attention": {
|
23 |
+
"traditional_attention": {
|
24 |
+
"attention_type": "additive"
|
25 |
+
},
|
26 |
+
"self_attention": {
|
27 |
+
"num_heads": 8,
|
28 |
+
"key_dim": 64
|
29 |
+
},
|
30 |
+
"linear_attention": {
|
31 |
+
"num_heads": 4,
|
32 |
+
"key_dim": 32
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"belief_desire_intent_tree": {
|
36 |
+
"max_depth": 5,
|
37 |
+
"node_units": 128
|
38 |
+
},
|
39 |
+
"training": {
|
40 |
+
"epochs": 10,
|
41 |
+
"batch_size": 32,
|
42 |
+
"learning_rate": 0.001
|
43 |
+
},
|
44 |
+
"realtime_learning": {
|
45 |
+
"update_interval": 100,
|
46 |
+
"update_batch_size": 16
|
47 |
+
},
|
48 |
+
"knowledge_base": {
|
49 |
+
"embedding_dim": 256,
|
50 |
+
"max_entities": 100000
|
51 |
+
},
|
52 |
+
"explainer": {
|
53 |
+
"explanation_type": "attention"
|
54 |
+
},
|
55 |
+
"iragel": {
|
56 |
+
"generation_length": 100,
|
57 |
+
"top_k": 5,
|
58 |
+
"top_p": 0.9
|
59 |
+
}
|
60 |
}
|