marinone94 commited on
Commit
fe64479
β€’
1 Parent(s): 3870354

fix run script

Browse files
Files changed (1) hide show
  1. run.sh +7 -9
run.sh CHANGED
@@ -1,27 +1,25 @@
1
  python run_speech_recognition_ctc.py \
2
- --dataset_name="mozilla-foundation/common_voice_8_0" \
3
  --model_name_or_path="KBLab/wav2vec2-large-voxrex" \
4
  --dataset_config_name="sv-SE" \
5
  --train_split_name="train+validation" \
6
  --eval_split_name="test" \
7
  --output_dir="./" \
8
  --overwrite_output_dir \
9
- --num_train_epochs="100" \
10
  --per_device_train_batch_size="32" \
11
  --per_device_eval_batch_size="32" \
12
  --gradient_accumulation_steps="4" \
13
- --learning_rate="2.5e-4" \
14
  --warmup_ratio="0.25" \
15
  --length_column_name="input_length" \
16
- --evaluation_strategy="steps" \
17
- --save_strategy="steps" \
18
- --eval_steps="500" \
19
- --save_steps="500" \
20
  --text_column_name="sentence" \
21
  --chars_to_ignore , ? . ! \- \; \: \" β€œ % β€˜ ” οΏ½ β€” ’ … – \
22
- --logging_steps="50" \
23
  --layerdrop="0.0" \
24
- --activation_dropout="0.1" \
25
  --save_total_limit="2" \
26
  --freeze_feature_encoder \
27
  --feat_proj_dropout="0.0" \
 
1
  python run_speech_recognition_ctc.py \
2
+ --dataset_name="mozilla-foundation/common_voice_9_0" \
3
  --model_name_or_path="KBLab/wav2vec2-large-voxrex" \
4
  --dataset_config_name="sv-SE" \
5
  --train_split_name="train+validation" \
6
  --eval_split_name="test" \
7
  --output_dir="./" \
8
  --overwrite_output_dir \
9
+ --num_train_epochs="200" \
10
  --per_device_train_batch_size="32" \
11
  --per_device_eval_batch_size="32" \
12
  --gradient_accumulation_steps="4" \
13
+ --learning_rate="7.5e-5" \
14
  --warmup_ratio="0.25" \
15
  --length_column_name="input_length" \
16
+ --evaluation_strategy="epoch" \
17
+ --save_strategy="epoch" \
 
 
18
  --text_column_name="sentence" \
19
  --chars_to_ignore , ? . ! \- \; \: \" β€œ % β€˜ ” οΏ½ β€” ’ … – \
20
+ --logging_steps="100" \
21
  --layerdrop="0.0" \
22
+ --activation_dropout="0.15" \
23
  --save_total_limit="2" \
24
  --freeze_feature_encoder \
25
  --feat_proj_dropout="0.0" \