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"
- Host: GitHub
- URL: https://github.com/simulacrum6/op-hate-nlp
- Owner: simulacrum6
- Created: 2022-11-03T07:34:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-03T08:42:32.000Z (over 2 years ago)
- Last Synced: 2025-02-08T00:28:45.733Z (3 months ago)
- Topics: bert-fine-tuning, evaluation, hate-speech-detection, machine-learning, neural-networks, nlp, python
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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_.