Text Classification
Transformers
ONNX
English
bert
toxic
moderation
safety
content-moderation
quantized
text-embeddings-inference
Instructions to use hul0/shuddhi-base-onnx-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hul0/shuddhi-base-onnx-int8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hul0/shuddhi-base-onnx-int8")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hul0/shuddhi-base-onnx-int8") model = AutoModelForSequenceClassification.from_pretrained("hul0/shuddhi-base-onnx-int8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 208 Bytes
afdaf2d | 1 2 3 4 5 6 7 8 | {
"toxic": 0.7799928784370422,
"severe_toxic": 0.8539127111434937,
"obscene": 0.9069831967353821,
"threat": 0.38606879115104675,
"insult": 0.8832359910011292,
"identity_hate": 0.7942253947257996
} |