mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
fix bug
This commit is contained in:
parent
b75d1e89bb
commit
dcd40590df
@ -60,16 +60,19 @@ scheduler_conf:
|
|||||||
dataset: OpenAIDataset
|
dataset: OpenAIDataset
|
||||||
dataset_conf:
|
dataset_conf:
|
||||||
index_ds: OpenAIIndexDSJsonl
|
index_ds: OpenAIIndexDSJsonl
|
||||||
batch_sampler: CustomDistributedBatchSampler
|
batch_sampler: BatchSampler
|
||||||
batch_type: example # example or length
|
batch_type: token
|
||||||
batch_size: 4 # if batch_type is example, batch_size is the numbers of samples; if length, batch_size is source_token_len+target_token_len;
|
batch_size: 900
|
||||||
max_token_length: 3000 # filter samples if source_token_len+target_token_len > max_token_length,
|
max_token_length: 1024
|
||||||
shuffle: True
|
shuffle: true
|
||||||
num_workers: 0
|
sort_size: 1024
|
||||||
|
batch_size_scale_ratio_max: 2
|
||||||
|
num_workers: 4
|
||||||
audio_adaptor_downsample_rate: ${audio_adaptor_conf.downsample_rate}
|
audio_adaptor_downsample_rate: ${audio_adaptor_conf.downsample_rate}
|
||||||
audio_encoder_downsample_rate: 2
|
audio_encoder_downsample_rate: 2
|
||||||
# prompt: "<|startoftranscription|><|zh|><|transcribe|><|zh|><|notimestamps|><|wo_itn|>"
|
data_split_num: 512
|
||||||
|
batch_size_sample_max: 15
|
||||||
|
retry: 20
|
||||||
|
|
||||||
|
|
||||||
tokenizer: HuggingfaceTokenizer
|
tokenizer: HuggingfaceTokenizer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user