Instructions to use rb05751/toxic_speech_detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rb05751/toxic_speech_detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rb05751/toxic_speech_detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rb05751/toxic_speech_detector") model = AutoModelForSequenceClassification.from_pretrained("rb05751/toxic_speech_detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
4eef652 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:082893aafd8cc6f6d57275faf0482b337c8a71dc149839fab868fbb16dc05de3
size 498657649
|