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 pytorch_model.bin from hope04302/hate-speech-detection: direct link, hf CLI and curl.
- Browser
- Download file 395 MB
-
https://huggingface.co/hope04302/hate-speech-detection/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://hope04302/hate-speech-detection/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hope04302/hate-speech-detection/resolve/main/pytorch_model.bin
395 MB
- Xet hash:
- 629d9a2302ccf95d34147a6a59889ddbeeefe2d145c20c0de7527fe310c628ad
- Size of remote file:
- 395 MB
- SHA256:
- bbf5351665f738847761f77c817e6939e0ba00c70aa5cdc92ffd785f5475cd4d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.