ayymen commited on
Commit
9e2d07e
·
verified ·
1 Parent(s): 54dd6d8

Upload cmd.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. cmd.sh +38 -0
cmd.sh ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ python run_speech_recognition_ctc.py \
2
+ --model_name_or_path="facebook/w2v-bert-2.0" \
3
+ --dataset_name="CLEAR-Global/chichewa_34_307h" \
4
+ --train_split_name="train" \
5
+ --eval_split_name="validation" \
6
+ --output_dir="./w2v-bert-2.0-chichewa_34_307h" \
7
+ --max_steps="100000" \
8
+ --per_device_train_batch_size="32" \
9
+ --per_device_eval_batch_size="32" \
10
+ --gradient_accumulation_steps="2" \
11
+ --freeze_feature_encoder=false \
12
+ --add_adapter=true \
13
+ --mask_time_prob="0.0" \
14
+ --final_dropout="0.1" \
15
+ --attention_dropout="0.05" \
16
+ --feat_proj_dropout="0.05" \
17
+ --hidden_dropout="0.05" \
18
+ --ctc_zero_infinity=true \
19
+ --learning_rate="3e-5" \
20
+ --warmup_ratio="0.1" \
21
+ --eval_strategy="steps" \
22
+ --save_steps="1000" \
23
+ --eval_steps="1000" \
24
+ --logging_steps="1" \
25
+ --eval_metrics wer cer \
26
+ --save_total_limit="1" \
27
+ --load_best_model_at_end \
28
+ --max_duration_in_seconds="30" \
29
+ --gradient_checkpointing \
30
+ --fp16 \
31
+ --group_by_length \
32
+ --length_column_name "input_length" \
33
+ --do_train --do_eval \
34
+ --preprocessing_num_workers="22" \
35
+ --dataloader_num_workers="22" \
36
+ --push_to_hub \
37
+ --push_to_hub_organization="CLEAR-Global" \
38
+ --hub_strategy="checkpoint"