This repo contains the code for GermEval 2021. For details, see https://germeval2021toxic.github.io/SharedTask.
- Install PyTorch 1.1.0 (see instructions here).
- Install other requirements in
requirements.txt
.
cd src
python prepare_data.py
cd bash
chmod +x *
./<filename>
<filename>
iscv_*
for cross validation based training.<filename>
istrain_best_models.sh
for training best models.
cd bash
chmod +x *
./predict_using_best_models.sh
cd src
python prepare_references.py
python evaluate.py # enter predictions' file path inside file before running
- Prepare submission files
cd src
python prepare_submission_files.py
- Analyze training logs
cd src
python read_log_file.py # enter log file path inside file before running