from local

This commit is contained in:
dohe0342 2023-02-25 17:15:06 +09:00
parent f28d66a3ed
commit 2e348bb1c9
3 changed files with 4 additions and 4 deletions

View File

@ -479,11 +479,11 @@ def decode_one_batch(
"attention-decoder",
]
lm_scale_list = [0]
#lm_scale_list = [0]
#lm_scale_list = [i/20 for i in range(20)]
#lm_scale_list = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7]
#lm_scale_list += [0.8, 0.9, 1.0, 1.1, 1.2, 1.3]
#lm_scale_list += [1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0]
lm_scale_list = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7]
lm_scale_list += [0.8, 0.9, 1.0, 1.1, 1.2, 1.3]
lm_scale_list += [1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0]
if params.method == "1best":
best_path_dict = one_best_decoding(

Binary file not shown.