-
Notifications
You must be signed in to change notification settings - Fork 0
/
lora_config.yaml
72 lines (66 loc) · 1.13 KB
/
lora_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# LoRA finetune related
use_adapter: true
adapter: lora
save_strategy: adapter
adapter_conf:
rank: 4
alpha: 4
dropout_rate: 0.1
target_modules:
- w_1
- w_2
- merge_proj
freeze_param:
- "encoder"
- "ctc"
rir_scp: null
rir_apply_prob: 1.0
noise_scp: null
noise_apply_prob: 1.0
noise_db_range: '13_15'
speech_volume_normalize: null
non_linguistic_symbols: null
preprocessor_conf:
speech_name: speech
text_name: text
# training related
seed: 2024
num_workers: 1
ngpu: 1
batch_type: unsorted
batch_bins: 1600000
batch_size: 1
accum_grad: 4
max_epoch: 20
log_interval: 10
patience: null
init: null
best_model_criterion:
- - valid
- acc
- max
keep_nbest_models: 10
use_amp: false
multiple_iterator: false
optim: adamw
optim_conf:
lr: 0.0001
weight_decay: 0.000001
scheduler: steplr
scheduler_conf:
step_size: 1000
specaug: specaug
specaug_conf:
apply_time_warp: true
time_warp_window: 5
time_warp_mode: bicubic
apply_freq_mask: true
freq_mask_width_range:
- 0
- 27
num_freq_mask: 2
apply_time_mask: true
time_mask_width_ratio_range:
- 0.
- 0.05
num_time_mask: 5