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
|
@@ -39,10 +39,4 @@ Training data is from OffensEval2020 which can be found [here]( https://figshare
|
|
| 39 |
|
| 40 |
This model was made in collaboration between Johan Horsmans and Gustav Aarup Lauridsen for their Cultural Data Science Exam.
|
| 41 |
|
| 42 |
-
### BibTeX entry and citation info
|
| 43 |
|
| 44 |
-
```bibtex
|
| 45 |
-
@inproceedings{...,
|
| 46 |
-
year={2020}
|
| 47 |
-
}
|
| 48 |
-
```
|
|
|
|
| 39 |
|
| 40 |
This model was made in collaboration between Johan Horsmans and Gustav Aarup Lauridsen for their Cultural Data Science Exam.
|
| 41 |
|
|
|
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|