versae commited on
Commit
fc1bc61
1 Parent(s): 413843a

Create run.sh

Browse files
Files changed (1) hide show
  1. run.sh +39 -0
run.sh ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ WANDB_ENTITY=NbAiLab WANDB_PROJECT=wav2vec2 python run_speech_recognition_ctc.py \
2
+ --dataset_name="NbAiLab/NPSC" \
3
+ --model_name_or_path="facebook/wav2vec2-xls-r-1b" \
4
+ --hub_model_id="NbAiLab/wav2vec2-xlsr-1b-npsc" \
5
+ --dataset_config_name="16K_mp3" \
6
+ --output_dir="./" \
7
+ --overwrite_output_dir \
8
+ --num_train_epochs="15" \
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" \
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
+ --chars_to_ignore , ? . ! \- \; \: \" “ % ‘ ” � — ’ … – _ \\ + \# / \
32
+ --gradient_checkpointing \
33
+ --use_auth_token \
34
+ --seed="13" \
35
+ --fp16 \
36
+ --group_by_length \
37
+ --do_train --do_eval \
38
+ --push_to_hub \
39
+ --preprocessing_num_workers="32"