Downloads · 30 days
0
hivetrace/harm-qwen-2.5-3b-lora-requests
harm-qwen-2.5-3b-lora-requests is a text classification model from hivetrace. Use it when you need a label for a piece of text.
Downloads · 30 days
0
Access
Public
Updated Aug 12, 2025
Repo size
100 MB
Likes
0
Public
Click a slice to open those files.
.pt59.2 MB · 56%
From the Hugging Face model README
Content Metrics:
Category Safe Accuracy Unsafe Accuracy
discredit 0.88 0.97
discrimination 1.00 0.57
drugs 0.96 0.99
pedophilia 1.00 0.99
religion 1.00 0.95
sexual_chat 0.99 0.98
sexual_content 1.00 1.00
suicide 0.96 1.00
swearing 1.00 1.00
violence 1.00 1.00
weapon 0.87 1.00
To load this model, use the following command:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained('Qwen/Qwen2.5-3B-Instruct', trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained('Qwen/Qwen2.5-3B-Instruct', trust_remote_code=True)
model = PeftModel.from_pretrained(base_model, 'raft-security-lab/harm-qwen-2.5-3b-lora-requests')