Instructions to use alexandrainst/da-hatespeech-classification-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexandrainst/da-hatespeech-classification-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alexandrainst/da-hatespeech-classification-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alexandrainst/da-hatespeech-classification-base") model = AutoModelForSequenceClassification.from_pretrained("alexandrainst/da-hatespeech-classification-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
1315b9f
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (8e1bb523703292c0a01efc6573df4fa2ee139cfc) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>f3c7019
-
Update README.md
29416f7
-
Update README.md
0915098 -
Update README.md
4ca9aae
-
initial commit
19fdf61 -
initial commit
8d09d29