Downloads · 30 days
642
30% of all-time downloads
RedTeamLab/Gemma-4-12B-redteam-v5
Gemma-4-12B-redteam-v5 is a machine learning model from RedTeamLab. 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 gguf. The card lists the license as gemma.
Red team security LLM fine-tuned from unsloth/Gemma-4-12B-it using QLoRA. Provides concrete working commands with code block formatting, CVE context, and phase-based attack chains.
Downloads · 30 days
642
30% of all-time downloads
All-time downloads
2.2K
Public
Repo size
7.4 GB
Likes
3
Public
Click a slice to open those files.
.gguf7.4 GB · 100%
From the Hugging Face model README
Red team security LLM fine-tuned from unsloth/Gemma-4-12B-it using QLoRA.
Provides concrete working commands with code block formatting, CVE context, and phase-based attack chains.
Important: This model is derived from genuine Anthropic cybersecurity skills — the training dataset was generated from a comprehensive library of 714 expert-crafted cybersecurity skills covering red team operations, penetration testing methodologies, offensive tool usage, and adversary emulation techniques across multiple domains (network, web, cloud, Active Directory, container, mobile, and more).
| Parameter | Value |
|---|---|
| Base model | unsloth/Gemma-4-12B-it (QAT) |
| Fine-tuning | QLoRA (r=32, alpha=32, dropout=0) |
| Dataset | 19,191 records (17,271 train / 1,920 val) |
| Dataset source | 714 Anthropic cybersecurity skills |
| Epochs | 3 |
| Learning rate | 2e-4, cosine scheduler |
| GPU | Modal A100-40GB |
| Training time | ~3h 20m |
| Final train loss | 0.226 |
The training dataset was programmatically generated from 714 expert-authored cybersecurity skills covering:
All commands use verified tool names (netexec, not crackmapexec). Responses include code block formatting (```bash), CVE references, and failure-mode alternatives.
| File | Size | Description |
|---|---|---|
Gemma-4-12B-redteam-v5-Q4_K_M.gguf | 6.9 GB | Quantized merged model (Q4_K_M) |
adapter_config.json | 1.5 KB | PEFT LoRA configuration |
training_stats.json | — | Full training metrics |
| Metric | v4.1 | v5 |
|---|---|---|
| Train records | 776 | 17,271 |
| Dataset source | 714 skills (partial) | 714 skills (full coverage) |
| LoRA rank | 16 | 32 |
| Epochs | 2 | 3 |
| LR scheduler | linear | cosine |
| Final loss | 1.097 | 0.226 |
| Question variants | 1-2 per cmd | 5-7 per cmd |
| Code block formatting | Yes | Yes |
| CVE context | Some | Expanded |
| Attack chains | Manual only | Manual + auto-generated |
llama-cli \
-m Gemma-4-12B-redteam-v5-Q4_K_M.gguf \
-ngl 99 \
--prompt "Show me the netexec command for SMB enumeration on 10.10.10.5." \
-n 200 \
-t 8 \
--temp 0.2
This model is designed exclusively for authorized cybersecurity training and assessment in isolated lab environments.
Suitable environments include:
USE AT YOUR OWN RISK.
This model generates offensive security commands and techniques. The model owner and contributors accept no liability for any damages, losses, or legal consequences arising from the use or misuse of this model.
By downloading or using this model, you agree that:
Do not use against systems you do not own or have explicit written permission to test.
This model is released under the Gemma license.