patrickvonplaten commited on
Commit
084bb18
1 Parent(s): 7aac9c7

Create run.sh

Browse files
Files changed (1) hide show
  1. run.sh +26 -0
run.sh ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ CUDA_VISIBLE_DEVICES="1" python run_speech_recognition_ctc.py \
3
+ --dataset_name="timit_asr" \
4
+ --model_name_or_path="microsoft/unispeech-large-1500h-cv" \
5
+ --overwrite_output_dir \
6
+ --output_dir="./unispeech-large-1500h-cv-timit" \
7
+ --train_split_name="train" \
8
+ --num_train_epochs="20" \
9
+ --per_device_train_batch_size="32" \
10
+ --per_device_eval_batch_size="1" \
11
+ --weight_decay="0.005" \
12
+ --learning_rate="1e-4" \
13
+ --warmup_steps="1000" \
14
+ --evaluation_strategy="steps" \
15
+ --text_column_name="text" \
16
+ --save_steps="400" \
17
+ --eval_steps="100" \
18
+ --logging_steps="10" \
19
+ --layerdrop="0.0" \
20
+ --save_total_limit="3" \
21
+ --freeze_feature_extractor \
22
+ --chars_to_ignore , ? . ! - \; \: \" “ % ‘ ” � \
23
+ --fp16 \
24
+ --group_by_length \
25
+ --push_to_hub \
26
+ --do_train --do_eval \