Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

CobuildX-AI
/
cbx-content-safety-detector-17M

Text Classification
Transformers
Safetensors
English
modernbert
fill-mask
content-safety
guardrail
moderation
toxicity
safety
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
cbx-content-safety-detector-17M
70.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SRK-CobuildX's picture
SRK-CobuildX
Release v0.1
546a2da verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • LICENSE
    11.4 kB
    Release v0.1 4 days ago
  • NOTICE
    4.85 kB
    Release v0.1 4 days ago
  • README.md
    15 kB
    Release v0.1 4 days ago
  • cbx_config.json
    4.22 kB
    Release v0.1 4 days ago
  • cbx_safety.py
    6.09 kB
    Release v0.1 4 days ago
  • checksums.sha256
    876 Bytes
    Release v0.1 4 days ago
  • config.json
    1.59 kB
    Release v0.1 4 days ago
  • example.py
    1.22 kB
    Release v0.1 4 days ago
  • model.safetensors
    67.2 MB
    xet
    Release v0.1 4 days ago
  • requirements.txt
    46 Bytes
    Release v0.1 4 days ago
  • tokenizer.json
    3.58 MB
    Release v0.1 4 days ago
  • tokenizer_config.json
    379 Bytes
    Release v0.1 4 days ago