Skip to content

Latest commit

 

History

History

whisper

  1. Start docker 启动命令可参考: README.md

  2. Prepare model

apt install git-lfs
git lfs install
git clone https://huggingface.co/openai/whisper-small

# git clone https://huggingface.co/openai/whisper-large
# git clone https://huggingface.co/openai/whisper-tiny

  1. Download dataset
python download.py
  1. Prerequisites
pip install -r requirements.txt
  1. Train
# Single GPU
bash train_whisper.sh

# Multi-GPU DDP
bash dist_train_whisper.sh
  1. Test
python test_whisper.py --models_dir <models-dir> --data_dir <datasets-dir>