A classifier for distinguishing between European and Brazilian Portuguese.
To create a virtual environment using Conda, run the following commands:
conda create --name .conda python=3.11
conda activate .conda
Install the necessary dependencies by running:
pip install -e .
Training scripts are located in the train folder. For example, to find the best hyperparameters for the BERT model, run:
sh scripts/train/search_bert.sh
To evaluate the trained models, execute the evaluation script:
sh scripts/eval/run.sh