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