lyblsgo
2025-06-16 3ee9e8e3ba1d8d01e9310eef034240d32bf6b5a2
funasr/models/paraformer_streaming/template.yaml
@@ -121,7 +121,7 @@
dataset: AudioDataset
dataset_conf:
    index_ds: IndexDSJsonl
    batch_sampler: DynamicBatchLocalShuffleSampler
    batch_sampler: BatchSampler
    batch_type: example # example or length
    batch_size: 1 # if batch_type is example, batch_size is the numbers of samples; if length, batch_size is source_token_len+target_token_len;
    max_token_length: 2048 # filter samples if source_token_len+target_token_len > max_token_length,