Text Classification
PEFT
Safetensors
English
multilingual
content-safety
lora
mlcommons
ai-safety
jailbreak-detection
moderation
Instructions to use llm-semantic-router/mlcommons-safety-classifier-level1-binary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use llm-semantic-router/mlcommons-safety-classifier-level1-binary with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("jhu-clsp/mmBERT-base") model = PeftModel.from_pretrained(base_model, "llm-semantic-router/mlcommons-safety-classifier-level1-binary") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d190257ad9e708b6380d3c156211aadc3067a642e133cddeb10406f735092b83
- Size of remote file:
- 34.4 MB
- SHA256:
- 3cdd116e350e9551f912dd7670b55fe726dcd5d6377c7477ef4792885deb9c1a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.