forked from MycroftAI/mycroft-precise
-
Notifications
You must be signed in to change notification settings - Fork 4
/
dialog.json
97 lines (79 loc) · 3.52 KB
/
dialog.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[ {
"dialog_name": "main_menu_optional_dialog",
"dialog_description": "optional dialog to be prompted if the user hasn't fill in the config.json file",
"dialog_content": [
{
"text": "Please enter the relative path to the wakeword recordings directory (ie audio/):\n",
"dialog_type": "input-string-wakeword_recordings_directory"
},
{
"text": "Please enter the name you want to give the wakeword model (ie. 'wakeword_model'):\n",
"dialog_type": "input-string-model_name"
}
]
},
{
"dialog_name": "main_menu_dialog",
"dialog_description": "main menu dialog to choose data prep options",
"dialog_content": [
{
"text": "Please enter your choice\n1. Generate TTS wakeword data\n2. Optimally split and create a base model from wake-word-recorder data\n3. Generate extra data\n4. Generate further data from other data sets\n5. Do it all\n6. Exit\n\n",
"dialog_type": "input-numbered-main_choice"
}
]
},
{
"dialog_name": "base_model_menu_dialog",
"dialog_description": "generating the base model menu dialog",
"dialog_content": [
{
"text":"Splitting the data from {source_directory}",
"dialog_type": "inform-splitting_data"
},
{
"text": "Running experimental training to find the optimal test-train split..",
"dialog_type": "inform-experiment_train_test_split"
},
{
"text": "Average test set accuracy: {average_val_acc} \u00B1 {standard_deviation_val_acc}\nAverage train set accuracy: {average_acc} \u00B1 {standard_deviation_acc}",
"dialog_type": "inform-accuracy"
},
{
"text": "{selected_model_name} produces the best results with {selected_model_results}",
"dialog_type": "inform-best_model"
},
{
"text": "Starting incremental training on {random_user_recordings_directory}",
"dialog_type": "inform-incremental_training_start"
},
{
"text": "Incremental training on {random_user_recordings_directory} complete",
"dialog_type": "inform-incremental_training_complete"
},
{
"text": "training {wakeword_model_name} with the new data..",
"dialog_type": "inform-training_start"
},
{
"text": "{wakeword_model_name} training complete",
"dialog_type": "inform-training_complete"
},
{
"text": "changed {selected_model_name} to {wakeword_model_name}",
"dialog_type": "inform-changed_model_name"
},
{
"text": "Average accuracies of the base model...",
"dialog_type": "inform-base_model_accuracies"
},
{
"text": "Original best model: \n{selected_model_name}: {selected_model_results}\n dataset size: {dataset_size}",
"dialog_type": "inform-original_best_base_model_results"
},
{
"text": "Try the model in: precise-listen {wakeword_model_name}.net in your command line. Run 2 to continue generating {wakeword_model_name} data to production quality",
"dialog_type": "inform-continue"
}
]
}
]