File size: 3,739 Bytes
a1be16b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
#!/usr/bin/env bash
DATASET_NAMES="librispeech_asr+librispeech_asr+common_voice_13_0+voxpopuli+ami-ihm+ami-sdm+peoples_speech-clean+tedlium+switchboard-data+switchboard-data+gigaspeech-l+spgispeech+chime4+google/fleurs+earnings22"
DATASET_CONFIG_NAMES="all+all+en+en+ihm+sdm+clean+release3+all+all+l+L+1-channel+en_us+chunked"
DATASET_SPLIT_NAMES="test.clean+test.other+test+test+test+test+test+test+test.switchboard+test.callhome+test+test+test+test+test"
TEXT_COLUMN_NAMES="text+text+text+text+text+text+text+text+text+text+text+text+text+transcription+transcription"
python run_eval.py \
--model_name_or_path "openai/whisper-tiny.en" \
--dataset_name $DATASET_NAMES \
--dataset_config_name $DATASET_CONFIG_NAMES \
--dataset_split_name $DATASET_SPLIT_NAMES \
--text_column_name $TEXT_COLUMN_NAMES \
--cache_dir "/home/sanchitgandhi/.cache" \
--dataset_cache_dir "/home/sanchitgandhi/.cache" \
--output_dir "./" \
--wandb_dir "/home/sanchitgandhi/.cache" \
--wandb_project "distil-whisper-test" \
--wandb_name "tiny.en" \
--per_device_eval_batch_size 32 \
--dtype "bfloat16" \
--dataloader_num_workers 0 \
--report_to "wandb" \
--streaming \
--predict_with_generate
python run_eval.py \
--model_name_or_path "openai/whisper-base.en" \
--dataset_name $DATASET_NAMES \
--dataset_config_name $DATASET_CONFIG_NAMES \
--dataset_split_name $DATASET_SPLIT_NAMES \
--text_column_name $TEXT_COLUMN_NAMES \
--cache_dir "/home/sanchitgandhi/.cache" \
--dataset_cache_dir "/home/sanchitgandhi/.cache" \
--output_dir "./" \
--wandb_dir "/home/sanchitgandhi/.cache" \
--wandb_project "distil-whisper-test" \
--wandb_name "base.en" \
--per_device_eval_batch_size 32 \
--dtype "bfloat16" \
--dataloader_num_workers 0 \
--report_to "wandb" \
--streaming \
--predict_with_generate
python run_eval.py \
--model_name_or_path "openai/whisper-small.en" \
--dataset_name $DATASET_NAMES \
--dataset_config_name $DATASET_CONFIG_NAMES \
--dataset_split_name $DATASET_SPLIT_NAMES \
--text_column_name $TEXT_COLUMN_NAMES \
--cache_dir "/home/sanchitgandhi/.cache" \
--dataset_cache_dir "/home/sanchitgandhi/.cache" \
--output_dir "./" \
--wandb_dir "/home/sanchitgandhi/.cache" \
--wandb_project "distil-whisper-test" \
--wandb_name "small.en" \
--per_device_eval_batch_size 32 \
--dtype "bfloat16" \
--dataloader_num_workers 0 \
--report_to "wandb" \
--streaming \
--predict_with_generate
python run_eval.py \
--model_name_or_path "openai/whisper-medium.en" \
--dataset_name $DATASET_NAMES \
--dataset_config_name $DATASET_CONFIG_NAMES \
--dataset_split_name $DATASET_SPLIT_NAMES \
--text_column_name $TEXT_COLUMN_NAMES \
--cache_dir "/home/sanchitgandhi/.cache" \
--dataset_cache_dir "/home/sanchitgandhi/.cache" \
--output_dir "./" \
--wandb_dir "/home/sanchitgandhi/.cache" \
--wandb_project "distil-whisper-test" \
--wandb_name "medium.en" \
--per_device_eval_batch_size 32 \
--dtype "bfloat16" \
--dataloader_num_workers 0 \
--report_to "wandb" \
--streaming \
--predict_with_generate
python run_eval.py \
--model_name_or_path "openai/whisper-large-v2" \
--dataset_name $DATASET_NAMES \
--dataset_config_name $DATASET_CONFIG_NAMES \
--dataset_split_name $DATASET_SPLIT_NAMES \
--text_column_name $TEXT_COLUMN_NAMES \
--cache_dir "/home/sanchitgandhi/.cache" \
--dataset_cache_dir "/home/sanchitgandhi/.cache" \
--output_dir "./" \
--wandb_dir "/home/sanchitgandhi/.cache" \
--wandb_project "distil-whisper-test" \
--wandb_name "large-v2" \
--per_device_eval_batch_size 16 \
--dtype "bfloat16" \
--dataloader_num_workers 0 \
--report_to "wandb" \
--streaming \
--predict_with_generate
|