Instructions to use alexandrainst/da-hatespeech-detection-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexandrainst/da-hatespeech-detection-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alexandrainst/da-hatespeech-detection-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alexandrainst/da-hatespeech-detection-base") model = AutoModelForSequenceClassification.from_pretrained("alexandrainst/da-hatespeech-detection-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from alexandrainst/da-hatespeech-detection-base: direct link, hf CLI and curl.
- Browser
- Download file 443 MB
-
https://huggingface.co/alexandrainst/da-hatespeech-detection-base/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://alexandrainst/da-hatespeech-detection-base/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/alexandrainst/da-hatespeech-detection-base/resolve/main/pytorch_model.bin
443 MB
- Xet hash:
- 1c33bd164b2fa7d064a8eadef0a29854bf87811ed2e6771570d914032a83c5cd
- Size of remote file:
- 443 MB
- SHA256:
- 44bee74323a0c63ed93a83250030b4d0af844d5332fe2ce896c7f6916a32d97f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.