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