Instructions to use KoalaAI/Text-Moderation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KoalaAI/Text-Moderation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KoalaAI/Text-Moderation")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KoalaAI/Text-Moderation") model = AutoModelForSequenceClassification.from_pretrained("KoalaAI/Text-Moderation", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f213dd74a44ed71672ba33a371e74dc13628e35d47abd3a25a51a21e8a27e39c
- Size of remote file:
- 557 MB
- SHA256:
- fad115a8cd91eb803fb278249024fd9be85ec3566e996a19ba0c3d55f49379c5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.