This repository is still under active development. Proper README and documentation will be added soon.
- BUT SGE Cluster setup
- Clone repository and change directory to project root.
- Set ENVS_ROOT.
ENVS_ROOT=/mnt/matylda5/ipoloka/envs
- Create conda environment
conda create -p "${ENVS_ROOT}/huggingface_asr" python=3.10
- Activate conda environment
conda activate "${ENVS_ROOT}/huggingface_asr"
- Install requirements
pip install -r requirements_BUT_cluster.txt
- Extend PYTHONPATH with sources root
export PYTHONPATH="${PYTHONPATH}:${PWD}/src"
- Run following command and test if help message was printed.
python src/trainers/train_enc_dec_asr.py -h
Recipes are provided in the recipes
directory. Each recipe contains a run.sh
script that can be used to train a model. The script contains all the necessary commands to train a model. The script can be run directly or it can be submitted to the SLURM cluster.