ayymen commited on
Commit
ace48af
·
verified ·
1 Parent(s): 6f5e716

Upload cmd.sh with huggingface_hub

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