Skip to content

Commit b0a2e3e

Browse files
committed
Add amsgrad hparam + style tweak
1 parent e577293 commit b0a2e3e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

hparams.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
adam_beta1=0.5,
100100
adam_beta2=0.9,
101101
adam_eps=1e-6,
102+
amsgrad=False,
102103
initial_learning_rate=5e-4, # 0.001,
103104
lr_schedule="noam_learning_rate_decay",
104105
lr_schedule_kwargs={},
@@ -125,14 +126,16 @@
125126
# Forced garbage collection probability
126127
# Use only when MemoryError continues in Windows (Disabled by default)
127128
#gc_probability = 0.001,
128-
129+
129130
# json_meta mode only
130131
# 0: "use all",
131132
# 1: "ignore only unmatched_alignment",
132133
# 2: "fully ignore recognition",
133-
ignore_recognition_level = 2,
134-
min_text=20, # when dealing with non-dedicated speech dataset(e.g. movie excerpts), setting min_text above 15 is desirable. Can be adjusted by dataset.
135-
process_only_htk_aligned = False, # if true, data without phoneme alignment file(.lab) will be ignored
134+
ignore_recognition_level=2,
135+
# when dealing with non-dedicated speech dataset(e.g. movie excerpts), setting min_text above 15 is desirable. Can be adjusted by dataset.
136+
min_text=20,
137+
# if true, data without phoneme alignment file(.lab) will be ignored
138+
process_only_htk_aligned=False,
136139
)
137140

138141

0 commit comments

Comments
 (0)