Instructions to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF", filename="qwen3-14b-baronllm-v2-q4_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
Use Docker
docker model run hf.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
- LM Studio
- Jan
- Ollama
How to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with Ollama:
ollama run hf.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
- Unsloth Studio
How to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with Docker Model Runner:
docker model run hf.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
- Lemonade
How to use AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q4_0-GGUF:Q4_0
Run and chat with the model
lemonade run user.Qwen3-14B-BaronLLM-v2-Q4_0-GGUF-Q4_0
List all available models
lemonade list
File size: 7,486 Bytes
6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 40fb683 6e352b7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | ---
license: mit
base_model:
- Qwen/Qwen3-14B
tags:
- llama-cpp
- gguf-my-repo
datasets:
- Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset
- Trendyol/All-CVE-Chat-MultiTurn-1999-2025-Dataset
---
<div align="left">
    
</div>
# BaronLLM v2.0 - State-of-the-Art Offensive Security AI Model
<img src="https://huggingface.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q8/resolve/main/1755245300679.jpeg" width="700" />
**Developed Trendyol Group Security Team**
- Alican Kiraz
- İsmail Yavuz
- Melih Yılmaz
- Mertcan Kondur
- Rıza Sabuncu
- Özgün Kultekin
> **BaronLLM v2.0** is a state-of-the-art large language model fine-tuned specifically for *offensive cybersecurity research & adversarial simulation*, achieving breakthrough performance on industry benchmarks while maintaining safety constraints.
---
## 🏆 Benchmark Achievements
### CS-Eval Global Rankings
- **13th place** globally among all cybersecurity AI models
- **4th place** among publicly released models in its parameter class
- Comprehensive average score: **80.93%**
<img src="https://huggingface.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q8/resolve/main/1755333107271.jpeg" width="500" />
<img src="https://huggingface.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q8/resolve/main/1755245300701.jpeg" width="500" />
<img src="https://huggingface.co/AlicanKiraz0/Qwen3-14B-BaronLLM-v2-Q8/resolve/main/1755245300692.jpeg" width="500" />
### SecBench Performance Metrics
| Category | BaronLLM v2.0 | vs. Industry Leaders |
|----------|---------------|----------------------|
| **Standards & Regulations** | **87.2%** | Only 4.3 points behind Deepseek-v3 (671B) - 48× smaller! |
| **Application Security** | **85.5%** | Just 4.8 points behind GPT-4o (175B) - 12.5× more compact! |
| **Endpoint & Host** | **88.1%** | Only 1.4 points behind o1-preview (200B) - 14× higher efficiency! |
| **MCQ Overall** | **86.9%** | Within 2-6% of premium models! |
The model has been trained with 4 H100 GPUs for 65 hours.
### Performance Improvements (v1 → v2)
- Base model performance boosted by **~1.5x** on CyberSec-Eval benchmarks
- Enhanced with Causal Reasoning and Chain-of-Thought (CoT) capabilities
---
## ✨ Key Features
| Capability | Details |
|------------|---------|
| **Adversary Simulation** | Generates full ATT&CK chains, C2 playbooks, and social-engineering scenarios |
| **Exploit Reasoning** | Step-by-step vulnerability analysis with code-level explanations and PoC generation |
| **Payload Optimization** | Advanced obfuscation techniques and multi-stage payload logic |
| **Threat Intelligence** | Log analysis, artifact triage, and attack pattern recognition |
| **Cloud-Native Security** | Kubernetes, serverless, and multi-cloud environment testing |
| **Emerging Threats** | AI/ML security, quantum computing risks, and zero-day research |
---
## 🏗️ Model Architecture
| Specification | Details |
|--------------|---------|
| **Base Model** | Qwen3-14B |
| **Parameters** | 14 Billion |
| **Context Length** | 8,192 tokens |
| **Training Data** | 53,202 curated examples |
| **Domains Covered** | 200+ specialized cybersecurity areas |
| **Languages** | English |
| **Fine-tuning Method** | Instruction tuning with CoT |
---
## 📊 Training Dataset
**53,202** meticulously curated instruction-tuning examples covering **200+ specialized cybersecurity domains**:
### Topic Distribution
- Cloud Security & DevSecOps: 18.5%
- Threat Intelligence & Hunting: 16.2%
- Incident Response & Forensics: 14.8%
- AI/ML Security: 12.3%
- Network & Protocol Security: 11.7%
- Identity & Access Management: 9.4%
- Emerging Technologies: 8.6%
- Platform-Specific Security: 5.3%
- Compliance & Governance: 3.2%
### Data Sources (Curated & Redacted)
- Public vulnerability databases (NVD/CVE, VulnDB)
- Security research papers (Project Zero, PortSwigger, NCC Group)
- Industry threat reports (with permissions)
- Synthetic ATT&CK chains (auto-generated + human-vetted)
- Conference proceedings (BlackHat, DEF CON, RSA)
> **Note:** No copyrighted exploit code or proprietary malware datasets were used.
> Dataset filtering removed raw shellcode/binary payloads.
---
## 🚀 Usage & Access
### Quick Start
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "AlicanKiraz/BaronLLM-v2.0" # Requires authentication
tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
def generate(prompt, **kwargs):
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=512, **kwargs)
return tokenizer.decode(output[0], skip_special_tokens=True)
# Example usage
print(generate("Analyze the exploitability of CVE-2024-45721 in a Kubernetes cluster"))
```
---
## 📚 Prompting Best Practices
| Objective | Template | Parameters |
|-----------|----------|------------|
| **Exploit Analysis** | `ROLE: Senior Pentester\nOBJECTIVE: Analyze CVE-XXXX...` | `temperature=0.3, top_p=0.9` |
| **Red Team Planning** | `Generate ATT&CK chain for [target environment]...` | `temperature=0.5, top_p=0.95` |
| **Threat Hunting** | `Identify C2 patterns in [log type]...` | `temperature=0.2, top_p=0.85` |
| **Incident Response** | `Create response playbook for [threat scenario]...` | `temperature=0.4, top_p=0.9` |
---
## 🛡️ Safety & Alignment
### Ethical Framework
- **Policy Gradient RLHF** with security domain experts
- **OpenAI/Anthropic-style policies** preventing malicious misuse
- **Continuous red-teaming** via SecEval v0.3
- **Dual-use prevention** mechanisms
### Responsible Disclosure
- Model capabilities are documented transparently
- Access restricted to verified professionals
- Usage monitoring for compliance
- Regular security audits
---
## 📖 Academic Publication
The technical paper detailing BaronLLM v2.0's architecture, training methodology, and benchmark results will be available on arXiv within one month.
---
## 🤝 Contributing & Support
BaronLLM was originally developed to support the Trendyol Group Security Team and has evolved into a state-of-the-art offensive security AI model. We welcome collaboration from the security community:
- **Bug Reports**: Via GitHub Issues
- **Feature Requests**: Through community discussions
- **Research Collaboration**: Contact for academic partnerships
---
## ⚖️ License & Disclaimer
**License:** Apache 2.0 (Model weights require separate authorization)
**Important:** This model is designed for authorized security testing and research only. Users must comply with all applicable laws and obtain proper authorization before conducting any security assessments. The developers assume no liability for misuse.
---
## 🌟 Acknowledgments
Special thanks to:
- Trendyol Group Security Team
- The open-source security community
- Academic Cybersecurity research community
- All contributors and testers
---
*"Those who shed light on others do not remain in darkness..."*
**This project does not pursue any profit.**
``` |