Downloads · 30 days
5
4% of all-time downloads
kotekjedi/qwen3-32b-lora-jailbreak-detection-merged
qwen3-32b-lora-jailbreak-detection-merged is a text generation model from kotekjedi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a merged model created by combining the base model Qwen/Qwen3-32B with a LoRA adapter trained for deception detection and mathematical reasoning.
Downloads · 30 days
5
4% of all-time downloads
All-time downloads
118
Public
Parameters
32.8B
65.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors65.5 GB · 100%
From the Hugging Face model README
This is a merged model created by combining the base model Qwen/Qwen3-32B with a LoRA adapter trained for deception detection and mathematical reasoning.
Since this is a merged model, you can use it directly without needing PEFT:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Load merged model
model = AutoModelForCausalLM.from_pretrained(
"path/to/merged/model",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("path/to/merged/model")
# Generate with thinking mode
messages = [{"role": "user", "content": "Your question here"}]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True
)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=2048, temperature=0.1)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
Original LoRA adapter was trained with:
The model maintains the same performance as the original base model + LoRA adapter combination.
If you use this model, please cite the original base model.