Instructions to use Bazzar/bazzar_moderation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Bazzar/bazzar_moderation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Bazzar/bazzar_moderation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Bazzar/bazzar_moderation") model = AutoModelForSequenceClassification.from_pretrained("Bazzar/bazzar_moderation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download onnx/test from Bazzar/bazzar_moderation: direct link, hf CLI and curl.
- Browser
- Download file 0 Bytes
-
https://huggingface.co/Bazzar/bazzar_moderation/resolve/main/onnx/test
- Command line
-
hf download hf://Bazzar/bazzar_moderation/onnx/test
-
curl -L -o test https://huggingface.co/Bazzar/bazzar_moderation/resolve/main/onnx/test
0 Bytes