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:
- 3c2a5f21b9c3786049eb6edd807dd43cea301db02233d3bef1053fd1a5275ed5
- Size of remote file:
- 27.1 MB
- SHA256:
- b3e073345e8c1dc376136d0fc92feff3aefbc25ef8aeb332cfc44428f38bcd7a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.