Downloads · 30 days
66
2% of all-time downloads
vllm-sr/lora_jailbreak_classifier_roberta-base_model
lora_jailbreak_classifier_roberta-base_model is a text classification model from vllm-sr. Use it when you need a label for a piece of text. It is set up for candle. The card lists the license as apache-2.0.
This is a LoRA (Low-Rank Adaptation) fine-tuned model based on roberta-base for Multi-task classification.
Downloads · 30 days
66
2% of all-time downloads
All-time downloads
2.8K
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This is a LoRA (Low-Rank Adaptation) fine-tuned model based on roberta-base for Multi-task classification.
This model is part of the semantic-router project and is optimized for use with the Candle framework in Rust.
from semantic_router import SemanticRouter
# The model will be automatically downloaded and used
router = SemanticRouter()
results = router.classify_batch(["Your text here"])
use candle_core::{Device, Tensor};
use candle_transformers::models::bert::BertModel;
// Load the model using Candle
let device = Device::Cpu;
let model = BertModel::load(&device, &config, &weights)?;
This model was fine-tuned using LoRA (Low-Rank Adaptation) technique:
Multi-task classification
For detailed performance metrics, see the training results.
model.safetensors: LoRA adapter weightsconfig.json: Model configurationlora_config.json: LoRA-specific configurationtokenizer.json: Tokenizer configurationlabel_mapping.json: Label mappings for classificationIf you use this model, please cite:
@misc{semantic-router-lora,
title={LoRA Fine-tuned Models for Semantic Router},
author={Semantic Router Team},
year={2025},
url={https://github.com/vllm-project/semantic-router}
}
Apache 2.0