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")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from Guscode/DKbert-hatespeech-detection: direct link, hf CLI and curl.
- Browser
- Download file 443 MB
-
https://huggingface.co/Guscode/DKbert-hatespeech-detection/resolve/edbbde93f7c0eced542a84ca47ab9dbb74b58605/pytorch_model.bin
- Command line
-
hf download hf://Guscode/DKbert-hatespeech-detection@edbbde93f7c0eced542a84ca47ab9dbb74b58605/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Guscode/DKbert-hatespeech-detection/resolve/edbbde93f7c0eced542a84ca47ab9dbb74b58605/pytorch_model.bin
443 MB
- Xet hash:
- 1cfc2f2f1b6920191c67b08bbf8a07a9ba10d65fe33191e72d5220be39ef464a
- Size of remote file:
- 443 MB
- SHA256:
- d3ea7c529fbbfae778bf3b56a66c173653966d582cfcfbbc66aa0735ff090499
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.