Text Classification
Transformers
Safetensors
English
modernbert
fill-mask
content-safety
guardrail
moderation
toxicity
safety
text-embeddings-inference
Instructions to use CobuildX-AI/cbx-content-safety-detector-17M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CobuildX-AI/cbx-content-safety-detector-17M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CobuildX-AI/cbx-content-safety-detector-17M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CobuildX-AI/cbx-content-safety-detector-17M") model = AutoModelForMaskedLM.from_pretrained("CobuildX-AI/cbx-content-safety-detector-17M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
4 days ago
-
Release v0.1
Verified signature546a2da