Instructions to use vllm-sr/mmbert-jailbreak-detector-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vllm-sr/mmbert-jailbreak-detector-lora 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, "vllm-sr/mmbert-jailbreak-detector-lora") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
Verified signaturebee4e01 -
Upload folder using huggingface_hub
Verified signature4e0975e
-
Upload mmBERT LoRA adapter: mmBERT Jailbreak Detector with LoRA - Security classification (97.7% accuracy)
Verified signaturec286c77