-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
41 lines (38 loc) · 996 Bytes
/
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
# dirname to find data
train_name: "whisper"
train_id: "1"
model_name: "small.en"
train_root: /home/barb_cinnamon_is/libri-parsed
train_manifest: /home/barb_cinnamon_is/libri-parsed/val-clean_manifest.csv
val_root: /home/barb_cinnamon_is/libri-parsed
val_manifest: /home/barb_cinnamon_is/libri-parsed/val-clean_manifest.csv
test_root: /home/barb_cinnamon_is/libri-parsed
test_manifest: /home/barb_cinnamon_is/libri-parsed/test-clean_manifest.csv
path:
log: "./log"
checkpoint: "./checkpoint" # dir to save model
data:
audio_sampling_rate: 16000
audio_max_length: 480000
lang: "en"
dict_path: null
frontend: None
text_max_length: 120
train_ratio: 0.8
val_ratio: 0.1
timestamps: False
train:
batch_size: 2
seed: 7747
learning_rate: 0.0005
weight_decay: 0.01
adam_epsilon: 0.00000001
warmup_steps: 2
num_worker: 4
num_train_epochs: 10
gradient_accumulation_steps: 8
inference:
using_prompt: False
dict_coeff: 0.0
ban_dict_coeff: 0.0
epoch_index: 4