sanchit-gandhi HF staff commited on
Commit
92e52db
1 Parent(s): f0823a3

Add scripts and weights

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - esc
6
+ datasets:
7
+ - common_voice
8
+ ---To reproduce this run, execute:
9
+ ```python
10
+ #!/usr/bin/env bash
11
+ python run_flax_speech_recognition_seq2seq.py \
12
+ --dataset_name="esc/esc-datasets" \
13
+ --model_name_or_path="esc/wav2vec2-aed-pretrained" \
14
+ --dataset_config_name="ami" \
15
+ --output_dir="./" \
16
+ --wandb_name="wav2vec2-aed-common-voice" \
17
+ --wandb_project="wav2vec2-aed" \
18
+ --per_device_train_batch_size="8" \
19
+ --per_device_eval_batch_size="2" \
20
+ --learning_rate="1e-4" \
21
+ --warmup_steps="500" \
22
+ --logging_steps="25" \
23
+ --max_steps="50000" \
24
+ --eval_steps="10000" \
25
+ --save_steps="10000" \
26
+ --generation_max_length="200" \
27
+ --generation_num_beams="5" \
28
+ --generation_length_penalty="1.2" \
29
+ --max_eval_duration_in_seconds="20" \
30
+ --overwrite_output_dir \
31
+ --gradient_checkpointing \
32
+ --freeze_feature_encoder \
33
+ --predict_with_generate \
34
+ --do_eval \
35
+ --do_train \
36
+ --do_predict \
37
+ --push_to_hub \
38
+ --use_auth_token
39
+
40
+ ```