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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
751e1f2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:69e118c00fb34f4d5ad817ca43c3c42f5f4f66ce94e1f977fd3ee75b413657f8
size 442763608
|