An open API service indexing awesome lists of open source software.

https://github.com/simulacrum6/op-hate-nlp

Training code and public data for the paper "A Legal Approach to Hate Speech - Operationalizing the EU's Legal Framework against the Expression of Hatred as an NLP Task"
https://github.com/simulacrum6/op-hate-nlp

bert-fine-tuning evaluation hate-speech-detection machine-learning neural-networks nlp python

Last synced: about 2 months ago
JSON representation

Training code and public data for the paper "A Legal Approach to Hate Speech - Operationalizing the EU's Legal Framework against the Expression of Hatred as an NLP Task"

Awesome Lists containing this project

README

        

# A Legal Approach to Hate Speech - Operationalizing the EU's Legal Framework against the Expression of Hatred as an NLP Task
Training code and public data for the paper "A Legal Approach to Hate Speech - Operationalizing the EU's Legal Framework against the Expression of Hatred as an NLP Task"

# Running the Code
If you have Anaconda installed and in your environment, you can execute the `run.sh` script.

If you are using pip, install the dependencies listed in `environment.yml` manually. Then run `python train.py` to train the model and `python eval.py` to evaluate the model's performance.

***NOTE***: This repository contains only the made-up section of the final dataset, as explained in the paper under Section _Ethical Considerations / Release of the Data_.