@@ -24,14 +24,14 @@ speech_config:
24
24
normalize_per_feature : False
25
25
26
26
decoder_config :
27
- vocabulary : null
27
+ vocabulary : ./vocabularies/librispeech/librispeech_train_10_1008.subwords
28
28
target_vocab_size : 1000
29
29
max_subword_length : 10
30
30
blank_at_zero : True
31
- beam_width : 5
31
+ beam_width : 0
32
32
norm_score : True
33
33
corpus_files :
34
- - /media/nlhuy/Data /ML/Datasets/ASR/Raw/LibriSpeech/train-clean-100/transcripts.tsv
34
+ - /mnt/h /ML/Datasets/ASR/Raw/LibriSpeech/train-clean-100/transcripts.tsv
35
35
36
36
model_config :
37
37
name : conformer
@@ -40,7 +40,7 @@ model_config:
40
40
filters : 144
41
41
kernel_size : 3
42
42
strides : 2
43
- encoder_positional_encoding : sinusoid_concat_v2
43
+ encoder_positional_encoding : sinusoid_concat
44
44
encoder_dmodel : 144
45
45
encoder_num_blocks : 16
46
46
encoder_head_size : 36
@@ -66,7 +66,7 @@ learning_config:
66
66
train_dataset_config :
67
67
use_tf : True
68
68
augmentation_config :
69
- after :
69
+ feature_augment :
70
70
time_masking :
71
71
num_masks : 10
72
72
mask_factor : 100
@@ -75,19 +75,18 @@ learning_config:
75
75
num_masks : 1
76
76
mask_factor : 27
77
77
data_paths :
78
- - /mnt/Data /ML/Datasets/ASR/Raw/LibriSpeech/train-clean-100/transcripts.tsv
79
- tfrecords_dir : /mnt/Miscellanea/Datasets/Speech/LibriSpeech/tfrecords
78
+ - /mnt/h /ML/Datasets/ASR/Raw/LibriSpeech/train-clean-100/transcripts.tsv
79
+ tfrecords_dir : null
80
80
shuffle : True
81
81
cache : True
82
- cache_percent : 0.2
83
82
buffer_size : 100
84
83
drop_remainder : True
85
84
stage : train
86
85
87
86
eval_dataset_config :
88
87
use_tf : True
89
88
data_paths : null
90
- tfrecords_dir : /mnt/Miscellanea/Datasets/Speech/LibriSpeech/tfrecords
89
+ tfrecords_dir : null
91
90
shuffle : False
92
91
cache : True
93
92
buffer_size : 100
@@ -97,7 +96,7 @@ learning_config:
97
96
test_dataset_config :
98
97
use_tf : True
99
98
data_paths : null
100
- tfrecords_dir : /mnt/Miscellanea/Datasets/Speech/LibriSpeech/tfrecords
99
+ tfrecords_dir : null
101
100
shuffle : False
102
101
cache : True
103
102
buffer_size : 100
@@ -106,26 +105,21 @@ learning_config:
106
105
107
106
optimizer_config :
108
107
warmup_steps : 40000
109
- beta1 : 0.9
110
- beta2 : 0.98
108
+ beta_1 : 0.9
109
+ beta_2 : 0.98
111
110
epsilon : 1e-9
112
111
113
112
running_config :
114
113
batch_size : 2
115
- accumulation_steps : 4
116
114
num_epochs : 50
117
- outdir : /mnt/Miscellanea/Models/local/conformer
118
- log_interval_steps : 300
119
- eval_interval_steps : 500
120
- save_interval_steps : 1000
121
115
checkpoint :
122
- filepath : /mnt/Miscellanea /Models/local/conformer/checkpoints/{epoch:02d}.h5
116
+ filepath : /mnt/e /Models/local/conformer/checkpoints/{epoch:02d}.h5
123
117
save_best_only : True
124
- save_weights_only : False
118
+ save_weights_only : True
125
119
save_freq : epoch
126
- states_dir : /mnt/Miscellanea /Models/local/conformer/states
120
+ states_dir : /mnt/e /Models/local/conformer/states
127
121
tensorboard :
128
- log_dir : /mnt/Miscellanea /Models/local/conformer/tensorboard
122
+ log_dir : /mnt/e /Models/local/conformer/tensorboard
129
123
histogram_freq : 1
130
124
write_graph : True
131
125
write_images : True
0 commit comments