forked from lucasgris/wav2vec4bp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfine_tune.sh
executable file
·91 lines (81 loc) · 3.29 KB
/
fine_tune.sh
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
root=$1
if ! test -f "$root/xlsr_53_56k.pt"; then
wget https://dl.fbaipublicfiles.com/fairseq/wav2vec/xlsr_53_56k.pt $root/xlsr_53_56k.pt
fi
if ! test -f "$root/wav2vec2_base_10k.pt"; then
wget https://dl.fbaipublicfiles.com/voxpopuli/models/wav2vec2_base_10k.pt $root/wav2vec2_base_10k.pt
fi
if ! test -f "$root/wav2vec2_base_100k.pt"; then
wget https://dl.fbaipublicfiles.com/voxpopuli/models/wav2vec2_base_100k.pt $root/wav2vec2_base_100k.pt
fi
fairseq-hydra-train \
task.data=$root/data/bp_dataset \
checkpoint.save_dir=$root/checkpoints/stt/bp_400h \
model.w2v_path=$root/xlsr_53_56k.pt \
common.tensorboard_logdir=$root/logs/stt/bp_400h \
--config-dir $root/configs \
--config-name finetune_400h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/cetuc_dataset \
checkpoint.save_dir=$root/checkpoints/stt/cetuc_100h \
common.tensorboard_logdir=$root/logs/stt/cetuc_100h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_100h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/commonvoice_dataset \
checkpoint.save_dir=$root/checkpoints/stt/commonvoice_10h \
common.tensorboard_logdir=$root/logs/stt/commonvoice_10h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_10h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/commonvoice_dataset \
checkpoint.save_dir=$root/checkpoints/stt/commonvoice_100h \
common.tensorboard_logdir=$root/logs/stt/commonvoice_100h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_100h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/lapsbm_dataset \
checkpoint.save_dir=$root/checkpoints/stt/lapsbm_1h \
common.tensorboard_logdir=$root/logs/stt/lapsbm_1h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_1h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/mls_dataset \
checkpoint.save_dir=$root/checkpoints/stt/mls_100h \
common.tensorboard_logdir=$root/logs/stt/mls_100h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_100h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/sid_dataset \
checkpoint.save_dir=$root/checkpoints/stt/sid_10h \
common.tensorboard_logdir=$root/logs/stt/sid_10h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_10h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/tedx_dataset \
checkpoint.save_dir=$root/checkpoints/stt/tedx_100h \
common.tensorboard_logdir=$root/logs/stt/tedx_100h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_100h
fairseq-hydra-train \
dataset.disable_validation=true \
task.data=$root/data/voxforge_dataset \
checkpoint.save_dir=$root/checkpoints/stt/voxforge_1h \
common.tensorboard_logdir=$root/logs/stt/voxforge_1h \
model.w2v_path=$root/xlsr_53_56k.pt \
--config-dir $root/configs \
--config-name finetune_1h