Text Classification
Transformers
Safetensors
modernbert
moderation
toxicity
jailbreak-detection
multi-label
text-embeddings-inference
Instructions to use opus-research/opus-moderation-4-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use opus-research/opus-moderation-4-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="opus-research/opus-moderation-4-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("opus-research/opus-moderation-4-large") model = AutoModelForSequenceClassification.from_pretrained("opus-research/opus-moderation-4-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b4ccb407f3d5255040551f47ae4fab8c1015c55521739ab75df684fae1d4a0d0
- Size of remote file:
- 5.27 kB
- SHA256:
- f296b9fc1fd6445e17f6c1966f28cd41fe0cd2c29fcea2980ee6b5f5fb2945bc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.