Instructions to use Guscode/DKbert-hatespeech-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Guscode/DKbert-hatespeech-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Guscode/DKbert-hatespeech-detection")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Guscode/DKbert-hatespeech-detection") model = AutoModelForSequenceClassification.from_pretrained("Guscode/DKbert-hatespeech-detection") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -27,7 +27,9 @@ Training data is from OffensEval2020 which can be found [here]( https://figshare
|
|
| 27 |
## Performance
|
| 28 |
|
| 29 |
The model achieves a macro F1-score of 0.78
|
|
|
|
| 30 |
Precision hateful: 0.77
|
|
|
|
| 31 |
Recall hateful: 0.49
|
| 32 |
|
| 33 |
See more on [DK hate github](https://github.com/Guscode/DKbert-hatespeech-detection)
|
|
|
|
| 27 |
## Performance
|
| 28 |
|
| 29 |
The model achieves a macro F1-score of 0.78
|
| 30 |
+
|
| 31 |
Precision hateful: 0.77
|
| 32 |
+
|
| 33 |
Recall hateful: 0.49
|
| 34 |
|
| 35 |
See more on [DK hate github](https://github.com/Guscode/DKbert-hatespeech-detection)
|