pere commited on
Commit
44babc0
1 Parent(s): e276032

manual submit

Browse files
Files changed (3) hide show
  1. run.sh +6 -7
  2. run_freddy.sh +41 -0
  3. vocab.json +1 -1
run.sh CHANGED
@@ -1,15 +1,15 @@
1
- python run_speech_recognition_ctc.py \
2
  --dataset_name="NbAiLab/NPSC" \
3
  --model_name_or_path="KBLab/wav2vec2-large-voxrex" \
4
  --hub_model_id="NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk" \
5
- --dataset_config_name="16K_mp3_nynorsk" \
6
  --output_dir="./" \
7
  --overwrite_output_dir \
8
- --num_train_epochs="40" \
9
  --per_device_train_batch_size="16" \
10
  --per_device_eval_batch_size="16" \
11
  --gradient_accumulation_steps="2" \
12
- --learning_rate="7.5e-5" \
13
  --warmup_steps="2000" \
14
  --length_column_name="input_length" \
15
  --evaluation_strategy="steps" \
@@ -29,7 +29,7 @@ python run_speech_recognition_ctc.py \
29
  --mask_feature_prob="0.25" \
30
  --mask_feature_length="64" \
31
  --gradient_checkpointing \
32
- --min_duration_in_seconds="0.8" \
33
  --max_duration_in_seconds="30.0" \
34
  --use_auth_token \
35
  --seed="42" \
@@ -37,5 +37,4 @@ python run_speech_recognition_ctc.py \
37
  --group_by_length \
38
  --do_train --do_eval \
39
  --push_to_hub \
40
- --preprocessing_num_workers="32"\
41
- --ctc_zero_infinity=True
 
1
+ WANDB_ENTITY=NbAiLab WANDB_PROJECT=wav2vec2 python run_speech_recognition_ctc.py \
2
  --dataset_name="NbAiLab/NPSC" \
3
  --model_name_or_path="KBLab/wav2vec2-large-voxrex" \
4
  --hub_model_id="NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk" \
5
+ --dataset_config_name="16K_mp3" \
6
  --output_dir="./" \
7
  --overwrite_output_dir \
8
+ --num_train_epochs="80" \
9
  --per_device_train_batch_size="16" \
10
  --per_device_eval_batch_size="16" \
11
  --gradient_accumulation_steps="2" \
12
+ --learning_rate="1e-4" \
13
  --warmup_steps="2000" \
14
  --length_column_name="input_length" \
15
  --evaluation_strategy="steps" \
 
29
  --mask_feature_prob="0.25" \
30
  --mask_feature_length="64" \
31
  --gradient_checkpointing \
32
+ --min_duration_in_seconds="0.5" \
33
  --max_duration_in_seconds="30.0" \
34
  --use_auth_token \
35
  --seed="42" \
 
37
  --group_by_length \
38
  --do_train --do_eval \
39
  --push_to_hub \
40
+ --preprocessing_num_workers="32"
 
run_freddy.sh ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ python run_speech_recognition_ctc.py \
2
+ --dataset_name="NbAiLab/NPSC" \
3
+ --model_name_or_path="KBLab/wav2vec2-large-voxrex" \
4
+ --hub_model_id="NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk" \
5
+ --dataset_config_name="16K_mp3_nynorsk" \
6
+ --output_dir="./" \
7
+ --overwrite_output_dir \
8
+ --num_train_epochs="40" \
9
+ --per_device_train_batch_size="16" \
10
+ --per_device_eval_batch_size="16" \
11
+ --gradient_accumulation_steps="2" \
12
+ --learning_rate="7.5e-5" \
13
+ --warmup_steps="2000" \
14
+ --length_column_name="input_length" \
15
+ --evaluation_strategy="steps" \
16
+ --text_column_name="text" \
17
+ --save_steps="500" \
18
+ --eval_steps="500" \
19
+ --logging_steps="100" \
20
+ --layerdrop="0.041" \
21
+ --attention_dropout="0.094" \
22
+ --activation_dropout="0.055" \
23
+ --hidden_dropout="0.047" \
24
+ --save_total_limit="3" \
25
+ --freeze_feature_encoder \
26
+ --feat_proj_dropout="0.04" \
27
+ --mask_time_prob="0.082" \
28
+ --mask_time_length="10" \
29
+ --mask_feature_prob="0.25" \
30
+ --mask_feature_length="64" \
31
+ --gradient_checkpointing \
32
+ --min_duration_in_seconds="0.8" \
33
+ --max_duration_in_seconds="30.0" \
34
+ --use_auth_token \
35
+ --seed="42" \
36
+ --fp16 \
37
+ --group_by_length \
38
+ --do_train --do_eval \
39
+ --push_to_hub \
40
+ --preprocessing_num_workers="32"\
41
+ --ctc_zero_infinity=True
vocab.json CHANGED
@@ -1 +1 @@
1
- {"a": 1, "b": 2, "c": 3, "d": 4, "e": 5, "f": 6, "g": 7, "h": 8, "i": 9, "j": 10, "k": 11, "l": 12, "m": 13, "n": 14, "o": 15, "p": 16, "q": 17, "r": 18, "s": 19, "t": 20, "u": 21, "v": 22, "w": 23, "x": 24, "y": 25, "z": 26, "å": 27, "æ": 28, "ø": 29, "|": 0, "[UNK]": 30, "[PAD]": 31}
 
1
+ {"a": 1, "b": 2, "c": 3, "d": 4, "e": 5, "f": 6, "g": 7, "h": 8, "i": 9, "j": 10, "k": 11, "l": 12, "m": 13, "n": 14, "o": 15, "p": 16, "q": 17, "r": 18, "s": 19, "t": 20, "u": 21, "v": 22, "w": 23, "x": 24, "y": 25, "z": 26, "\u00e5": 27, "\u00e6": 28, "\u00f8": 29, "|": 0, "[UNK]": 30, "[PAD]": 31}