Downloads · 30 days
5
18% of all-time downloads
tharun94k/qwen_guard_combo_finetuned
qwen_guard_combo_finetuned is a machine learning model from tharun94k. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as mit.
This model is a fine-tuned version of Qwen/Qwen3-4B-Thinking-2507 designed to serve as a comprehensive safety and hazard classifier. It was developed to combine the functionalities of leading safety models like Google…
Downloads · 30 days
5
18% of all-time downloads
All-time downloads
28
Public
Repo size
1.2 GB
Likes
1
Public
Click a slice to open those files.
.pt794 MB · 57%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen3-4B-Thinking-2507 designed to serve as a comprehensive safety and hazard classifier. It was developed to combine the functionalities of leading safety models like Google's ShieldGemma and Meta's Llama-Guard into a single, efficient tool.
Qwen3 Guard is an instruction-tuned model that classifies user prompts as either "safe" or "unsafe". What makes it unique is its ability to output classifications in two popular formats simultaneously, providing both a simple verdict and detailed harm categories.
This was achieved using Parameter-Efficient Fine-Tuning (PEFT), specifically QLoRA (4-bit quantization with Low-Rank Adaptation), which allowed for efficient training without compromising the base model's capabilities.
safe/unsafe + categories) and Shield style (Yes/No).This model is ideal for academic research, content moderation experiments, and as a demonstration of building powerful, specialized guard models from general-purpose LLMs.
This model was trained on a high-quality, but synthetic, dataset. It is not intended for production use in safety-critical applications without further rigorous testing, validation, and fine-tuning on a diverse, real-world dataset that reflects your specific use case.
The model was fine-tuned for 2.0 epochs on a custom, balanced synthetic dataset designed to teach the nuances of both safe and unsafe content. The training process was optimized for performance and memory efficiency on an NVIDIA A100 GPU.
TransformersQwen/Qwen3-4B-Thinking-2507nf4)r: 16alpha: 320.00022.0