Instructions to use Falconsai/offensive_speech_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/offensive_speech_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Falconsai/offensive_speech_detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Falconsai/offensive_speech_detection") model = AutoModelForSequenceClassification.from_pretrained("Falconsai/offensive_speech_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from Falconsai/offensive_speech_detection: direct link, hf CLI and curl.
- Browser
- Download file 536 MB
-
https://huggingface.co/Falconsai/offensive_speech_detection/resolve/refs%2Fpr%2F1/optimizer.pt
- Command line
-
hf download hf://Falconsai/offensive_speech_detection@refs/pr/1/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/Falconsai/offensive_speech_detection/resolve/refs%2Fpr%2F1/optimizer.pt
536 MB
- Xet hash:
- eba1cc8fd92c2fcd4d9e8b1abca959dedfd170e9a8648e625090aebacfb0e48a
- Size of remote file:
- 536 MB
- SHA256:
- b899111ea3377e5da91f3d3a7b9a5469fe38a5d32f5d5de7ba78be8d9d05dd06
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.