Text Classification
PEFT
Safetensors
English
multilingual
content-safety
lora
mlcommons
ai-safety
hazard-classification
moderation
Instructions to use llm-semantic-router/mmbert-safety-binary-hazard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use llm-semantic-router/mmbert-safety-binary-hazard 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/mmbert-safety-binary-hazard") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
7a44c77 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3cdd116e350e9551f912dd7670b55fe726dcd5d6377c7477ef4792885deb9c1a
size 34363453
|