Views
No views yet
pip install git+https://github.com/openai/whisper.git1#!/usr/bin/env bash
2CUDA_VISIBLE_DEVICES=0 python run_speech_recognition_whisper.py \
3 --model_name_or_path="medium.en" \
4 --dataset_name="esb/datasets" \
5 --dataset_config_name="switchboard" \
6 --max_steps="5000" \
7 --output_dir="./" \
8 --run_name="whisper-switchboard" \
9 --max_steps="5000" \
10 --output_dir="./" \
11 --run_name="whisper-switchboard" \
12 --wandb_project="whisper" \
13 --per_device_train_batch_size="64" \
14 --per_device_eval_batch_size="16" \
15 --logging_steps="25" \
16 --learning_rate="1e-4" \
17 --warmup_steps="500" \
18 --report_to="wandb" \
19 --preprocessing_num_workers="16" \
20 --evaluation_strategy="steps" \
21 --eval_steps="1000" \
22 --save_strategy="steps" \
23 --save_steps="1000" \
24 --generation_max_length="224" \
25 --length_column_name="input_lengths" \
26 --gradient_checkpointing \
27 --group_by_length \
28 --freeze_encoder \
29 --fp16 \
30 --overwrite_output_dir \
31 --do_train \
32 --do_eval \
33 --do_predict \
34 --predict_with_generate \
35 --use_auth_token
36