mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-08 00:24:19 +00:00
use a more aggresive sampling_weight
This commit is contained in:
parent
ae4d2fbfcc
commit
fdc4fcabb9
@ -238,7 +238,7 @@ def triplet_text_sampling(
|
||||
lower_all_char,
|
||||
]
|
||||
|
||||
sampling_weight = [0.5, 0.2, 0.15, 0.15] # Mixed-punc should have the largest sampling prob
|
||||
sampling_weight = [0.7, 0.3, 0.0, 0.0] # Mixed-punc should have the largest sampling prob
|
||||
|
||||
total_transforms = len(transforms) # do not use the recognized trans
|
||||
|
||||
|
@ -240,7 +240,8 @@ def triplet_text_sampling(
|
||||
lower_all_char,
|
||||
]
|
||||
|
||||
sampling_weight = [0.5, 0.2, 0.15, 0.15] # Mixed-punc should have the largest sampling prob
|
||||
# sampling_weight = [0.5, 0.2, 0.15, 0.15] # Mixed-punc should have the largest sampling prob
|
||||
sampling_weight = [0.7, 0.3, 0.0, 0.0]
|
||||
|
||||
total_transforms = len(transforms) # do not use the recognized trans
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user