Make sure to modify the file ```path.sh``` in order to export the necessary environment variables. The file ```path.sh``` is also sourced at the beginning of ```run.sh```.
Make sure to modify the file ```path.sh``` in order to export the necessary environment variables. The file ```path.sh``` is also sourced at the beginning of ```run.sh```.
### Model File
### Model File
**You need to download and store a model file**. In the main script (```run.sh```) you can specify the ```model_path```. This study is based on the large pretrained model XLSR-53 which can be downloaded here: [wav2vec2](https://github.com/facebookresearch/fairseq/blob/main/examples/wav2vec)
**You need to download and store a model file**. In the main script (```run.sh```) you can specify the ```model_path```. This study is based on the large pretrained model **XLSR-53** which can be downloaded here: [wav2vec2](https://github.com/facebookresearch/fairseq/blob/main/examples/wav2vec)
**Unfortunately loading/initializing the model with version ```fairseq 0.12.2``` lead to errors because of mismatches with respect to dictionary keys. Anyway, we provide a script (```local/create_xlsr_new.py```) which removes some dictionary keys and stores a new version of the model preventing those errors** (see also [ISSUE](https://github.com/facebookresearch/fairseq/issues/3741)).
**Unfortunately loading/initializing the model with version ```fairseq 0.12.2``` lead to errors because of mismatches with respect to dictionary keys. Anyway, we provide a script (```local/create_xlsr_new.py```) which removes some dictionary keys and stores a new version of the model preventing those errors** (see also [ISSUE](https://github.com/facebookresearch/fairseq/issues/3741)).