mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update repo
This commit is contained in:
parent
81a5b29804
commit
e32e1a7747
@ -42,6 +42,17 @@ decoder_conf:
|
||||
self_attention_dropout_rate: 0.0
|
||||
src_attention_dropout_rate: 0.0
|
||||
|
||||
# frontend related
|
||||
frontend: wav_frontend
|
||||
frontend_conf:
|
||||
fs: 16000
|
||||
window: hamming
|
||||
n_mels: 80
|
||||
frame_length: 25
|
||||
frame_shift: 10
|
||||
lfr_m: 1
|
||||
lfr_n: 1
|
||||
|
||||
model: paraformer
|
||||
model_conf:
|
||||
ctc_weight: 0.3
|
||||
@ -50,15 +61,10 @@ model_conf:
|
||||
predictor_weight: 1.0
|
||||
sampling_ratio: 0.4
|
||||
|
||||
# minibatch related
|
||||
batch_type: length
|
||||
batch_bins: 25000
|
||||
num_workers: 16
|
||||
|
||||
# optimization related
|
||||
accum_grad: 1
|
||||
grad_clip: 5
|
||||
max_epoch: 50
|
||||
max_epoch: 150
|
||||
val_scheduler_criterion:
|
||||
- valid
|
||||
- acc
|
||||
@ -98,6 +104,15 @@ predictor_conf:
|
||||
l_order: 1
|
||||
r_order: 1
|
||||
|
||||
dataset_conf:
|
||||
shuffle: True
|
||||
shuffle_conf:
|
||||
shuffle_size: 2048
|
||||
sort_size: 500
|
||||
batch_conf:
|
||||
batch_type: token
|
||||
batch_size: 25000
|
||||
num_workers: 8
|
||||
|
||||
log_interval: 50
|
||||
unused_parameters: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user