Instructions to use IMSyPP/hate_speech_targets_nl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IMSyPP/hate_speech_targets_nl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IMSyPP/hate_speech_targets_nl")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IMSyPP/hate_speech_targets_nl") model = AutoModelForSequenceClassification.from_pretrained("IMSyPP/hate_speech_targets_nl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Hate Speech Target Classifier for Social Media Content in Dutch
|
| 2 |
|
| 3 |
A monolingual model for hate speech target classification of social media content in Dutch. The model was trained on 20000 social media posts (youtube, twitter, facebook) and tested on an independent test set of 2000 posts. It is based on the pre-trained language model [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased).
|
|
@@ -20,10 +26,4 @@ The model classifies each input into one of four distinct classes:
|
|
| 20 |
* 8 - MEDIA
|
| 21 |
* 9 - ISLAMOPHOBIA
|
| 22 |
* 10 - INDIVIDUAL
|
| 23 |
-
* 11 - SEXISM
|
| 24 |
-
|
| 25 |
-
---
|
| 26 |
-
language:
|
| 27 |
-
- nl
|
| 28 |
-
license: mit
|
| 29 |
-
---
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- nl
|
| 4 |
+
license: mit
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
# Hate Speech Target Classifier for Social Media Content in Dutch
|
| 8 |
|
| 9 |
A monolingual model for hate speech target classification of social media content in Dutch. The model was trained on 20000 social media posts (youtube, twitter, facebook) and tested on an independent test set of 2000 posts. It is based on the pre-trained language model [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased).
|
|
|
|
| 26 |
* 8 - MEDIA
|
| 27 |
* 9 - ISLAMOPHOBIA
|
| 28 |
* 10 - INDIVIDUAL
|
| 29 |
+
* 11 - SEXISM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|