For more information about the model as a whole: NLTM-National Institute of Technology Dialect-Identification
Steps to use the model:
- Download the models and .py files
- Rename the paths to the models and to your corresponding audio file
- Instance a model object: model = DID_Model()
- Load the weights for the model by running: model.load_weights(model_path)
- Predict the dialect through inference: model.predict_dialect(aud_path, wave2vec_model_path)