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
Automatic correction of README.md metadata for keys. Contact website@huggingface.co for any question
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
| 3 |
|
| 4 |
- da
|
| 5 |
|
|
@@ -7,9 +7,9 @@ tags:
|
|
| 7 |
- Hatespeech
|
| 8 |
- Danish
|
| 9 |
- BERT
|
| 10 |
-
license:
|
| 11 |
-
datasets:
|
| 12 |
-
- DKHate - OffensEval2020
|
| 13 |
Classes:
|
| 14 |
- Hateful
|
| 15 |
- Not Hateful
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
|
| 4 |
- da
|
| 5 |
|
|
|
|
| 7 |
- Hatespeech
|
| 8 |
- Danish
|
| 9 |
- BERT
|
| 10 |
+
license: mit
|
| 11 |
+
datasets:
|
| 12 |
+
- DKHate - OffensEval2020
|
| 13 |
Classes:
|
| 14 |
- Hateful
|
| 15 |
- Not Hateful
|