Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

opus-research
/
opus-moderation-4-fast

Text Classification
Transformers
Safetensors
modernbert
moderation
toxicity
jailbreak-detection
multi-label
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use opus-research/opus-moderation-4-fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use opus-research/opus-moderation-4-fast with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="opus-research/opus-moderation-4-fast")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("opus-research/opus-moderation-4-fast")
    model = AutoModelForSequenceClassification.from_pretrained("opus-research/opus-moderation-4-fast", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-moderation-4-fast
602 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
spoodyzz's picture
spoodyzz
model card
246805d verified 5 days ago
  • .gitattributes
    1.52 kB
    initial commit 5 days ago
  • README.md
    2.96 kB
    model card 5 days ago
  • config.json
    2.5 kB
    opus-moderation 3 + 4 family release: weights 5 days ago
  • model.safetensors
    598 MB
    xet
    opus-moderation 3 + 4 family release: weights 5 days ago
  • opus_arch.json
    91 Bytes
    opus-moderation 3 + 4 family release: weights 5 days ago
  • thresholds.json
    270 Bytes
    opus-moderation 3 + 4 family release: weights 5 days ago
  • tokenizer.json
    3.58 MB
    opus-moderation 3 + 4 family release: weights 5 days ago
  • tokenizer_config.json
    380 Bytes
    opus-moderation 3 + 4 family release: weights 5 days ago
  • training_args.bin
    5.27 kB
    xet
    opus-moderation 3 + 4 family release: weights 5 days ago