23 lines
610 B
Bash
Executable File
23 lines
610 B
Bash
Executable File
#!/usr/bin/env bash
|
|
python run_asr.py \
|
|
--output_dir="./wav2vec2-base-timit-asr" \
|
|
--num_train_epochs="30" \
|
|
--per_device_train_batch_size="20" \
|
|
--per_device_eval_batch_size="20" \
|
|
--evaluation_strategy="steps" \
|
|
--save_steps="500" \
|
|
--eval_steps="100" \
|
|
--logging_steps="50" \
|
|
--learning_rate="5e-4" \
|
|
--warmup_steps="3000" \
|
|
--model_name_or_path="facebook/wav2vec2-base" \
|
|
--fp16 \
|
|
--dataset_name="timit_asr" \
|
|
--train_split_name="train" \
|
|
--validation_split_name="test" \
|
|
--orthography="timit" \
|
|
--preprocessing_num_workers="$(nproc)" \
|
|
--group_by_length \
|
|
--freeze_feature_extractor \
|
|
--verbose_logging \
|