Text Generation
GGUF
English
Albanian
cybersecurity
offensive-security
pentest
red-team
blue-team
ctf
qwen2.5-coder
ollama
authorized-use-only
conversational
Instructions to use joni-rc-2/RC-Cyber-Coder-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use joni-rc-2/RC-Cyber-Coder-14B 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 joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M # Run inference directly in the terminal: llama cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M # Run inference directly in the terminal: llama cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Use Docker
docker model run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use joni-rc-2/RC-Cyber-Coder-14B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "joni-rc-2/RC-Cyber-Coder-14B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "joni-rc-2/RC-Cyber-Coder-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
- Ollama
How to use joni-rc-2/RC-Cyber-Coder-14B with Ollama:
ollama run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
- Unsloth Desktop
- Pi
How to use joni-rc-2/RC-Cyber-Coder-14B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use joni-rc-2/RC-Cyber-Coder-14B with Docker Model Runner:
docker model run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
- Lemonade
How to use joni-rc-2/RC-Cyber-Coder-14B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Run and chat with the model
lemonade run user.RC-Cyber-Coder-14B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use joni-rc-2/RC-Cyber-Coder-14B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use joni-rc-2/RC-Cyber-Coder-14B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Improve model card (badges, quickstart, persona, RAG, training, Albanian)
Browse files
README.md
CHANGED
|
@@ -10,73 +10,132 @@ tags:
|
|
| 10 |
- offensive-security
|
| 11 |
- pentest
|
| 12 |
- red-team
|
|
|
|
|
|
|
| 13 |
- qwen2.5-coder
|
| 14 |
- gguf
|
|
|
|
| 15 |
- authorized-use-only
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# RC-Cyber-Coder-14B
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
a **no-fabrication** discipline (CONFIRMED only from real tool output, else
|
| 30 |
-
UNVERIFIED), ending in a clean Markdown report.
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
```bash
|
| 38 |
ollama run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
|
| 39 |
```
|
| 40 |
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
```bash
|
| 43 |
llama-cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M -c 32768
|
| 44 |
```
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
|
| 49 |
-
> engagements only. Produce real, runnable PoCs and concrete Kali commands; never
|
| 50 |
-
> fabricate findings (CONFIRMED only from real tool output, else UNVERIFIED);
|
| 51 |
-
> finish with a clean Markdown report. Reply in the operator's language. Use only
|
| 52 |
-
> with written authorization.
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
|
|
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
layer over **Exploit-DB + NVD/CVE**. The intended deployment is
|
| 62 |
-
**model + real tool execution + RAG**, not the model alone.
|
| 63 |
|
| 64 |
-
|
|
|
|
| 65 |
|
| 66 |
-
-
|
| 67 |
-
- **Method:** QLoRA (unsloth), 1 epoch, ~45.3M tokens, 8,095 steps
|
| 68 |
-
- **Final mean train loss:** 0.744
|
| 69 |
-
- **Export:** merged → GGUF **Q4_K_M**
|
| 70 |
|
| 71 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
Licensed under the **Apache License, Version 2.0**. © 2026 joni-rc-2.
|
| 74 |
|
| 75 |
Derived from permissively licensed sources — see the dataset's
|
| 76 |
[`NOTICE`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined/blob/main/NOTICE):
|
| 77 |
-
Vyber07/cyber-security (Apache-2.0), WNT3D/Ultimate-Offensive-Red-Team (MIT),
|
| 78 |
-
the base model. Tool/framework names (Nmap, Metasploit, Impacket, sqlmap,
|
| 79 |
-
BloodHound, Ghidra, Kali Linux, …) are trademarks of their respective
|
| 80 |
-
for identification only.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
- offensive-security
|
| 11 |
- pentest
|
| 12 |
- red-team
|
| 13 |
+
- blue-team
|
| 14 |
+
- ctf
|
| 15 |
- qwen2.5-coder
|
| 16 |
- gguf
|
| 17 |
+
- ollama
|
| 18 |
- authorized-use-only
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# 🛡️ RC-Cyber-Coder-14B
|
| 22 |
|
| 23 |
+

|
| 24 |
+

|
| 25 |
+

|
| 26 |
+

|
| 27 |
|
| 28 |
+
> ## ⚠️ FOR AUTHORIZED SECURITY USE ONLY
|
| 29 |
+
> Penetration testing, red-teaming, CTF, security research, and auditing systems
|
| 30 |
+
> **you own or are contracted in writing to test**. Do **not** use this model to
|
| 31 |
+
> attack systems without explicit, written permission. **You** are responsible
|
| 32 |
+
> for lawful, authorized use.
|
|
|
|
|
|
|
| 33 |
|
| 34 |
+
**RC-Cyber-Coder-14B** is a 14B offensive **and** defensive security assistant —
|
| 35 |
+
a QLoRA fine-tune of **Qwen2.5-Coder-14B (abliterated)** on
|
| 36 |
+
[`joni-rc-2/RC-CyberSecurity-Combined`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined).
|
| 37 |
+
It is trained to produce **real, runnable PoCs** and concrete **Kali/WSL commands**,
|
| 38 |
+
to lead with an **authorization check**, to **never fabricate findings**
|
| 39 |
+
(CONFIRMED only from real tool output, otherwise UNVERIFIED), and to finish with a
|
| 40 |
+
clean **Markdown report**.
|
| 41 |
|
| 42 |
+
This repo ships the **Q4_K_M GGUF** (~8.4 GB) — runs on a single 16 GB GPU.
|
| 43 |
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
## ✨ What it's good at
|
| 47 |
+
|
| 48 |
+
- **Web/API:** IDOR, SQLi, SSRF, XSS, XXE, SSTI, deserialization, JWT, GraphQL, race conditions
|
| 49 |
+
- **Active Directory:** Kerberoasting, AS-REP, DCSync, golden/silver tickets, ADCS ESC1, BloodHound paths
|
| 50 |
+
- **Cloud:** SSRF→metadata (AWS IMDS, Azure MI, GCP), IAM abuse, misconfig
|
| 51 |
+
- **Mobile/RE:** APK jadx + Frida SSL-unpin, binary triage (rizin/Ghidra/checksec)
|
| 52 |
+
- **Recon→exploit→privesc→report** workflows with the right tooling at each step
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## 🚀 Quickstart
|
| 57 |
+
|
| 58 |
+
### Ollama — straight from this repo
|
| 59 |
```bash
|
| 60 |
ollama run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
|
| 61 |
```
|
| 62 |
|
| 63 |
+
### Ollama — with the full RC-Cyber persona (recommended)
|
| 64 |
+
Create a `Modelfile`:
|
| 65 |
+
```dockerfile
|
| 66 |
+
FROM hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
|
| 67 |
+
SYSTEM """You are RC-Cyber, an offensive & defensive security assistant for AUTHORIZED engagements only. Produce real, runnable PoCs and concrete Kali commands; never fabricate findings (CONFIRMED only from real tool output, else UNVERIFIED); finish with a clean Markdown report. Always answer in natural language and Markdown — never output JSON or tool-definition schemas unless asked. Reply in the operator's language. Use only with written authorization."""
|
| 68 |
+
PARAMETER temperature 0.6
|
| 69 |
+
PARAMETER num_ctx 32768
|
| 70 |
+
```
|
| 71 |
+
```bash
|
| 72 |
+
ollama create rc-cyber-14b -f Modelfile && ollama run rc-cyber-14b
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### llama.cpp
|
| 76 |
```bash
|
| 77 |
llama-cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M -c 32768
|
| 78 |
```
|
| 79 |
|
| 80 |
+
**Suggested params:** `temperature 0.6`, `num_ctx 32768`.
|
| 81 |
|
| 82 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
+
## 🎯 Accuracy comes at runtime — pair it with tools + RAG
|
| 85 |
|
| 86 |
+
Training teaches **format, method and breadth — not ground truth.** For factual
|
| 87 |
+
accuracy (real exploit paths, CVE details), run the model against:
|
| 88 |
|
| 89 |
+
1. **A live toolchain** (Kali/WSL): `nmap`, `nuclei`, `sqlmap`, `searchsploit`,
|
| 90 |
+
Impacket, BloodHound… — and feed the real output back.
|
| 91 |
+
2. **A retrieval layer (RAG)** over **Exploit-DB + NVD/CVE**.
|
|
|
|
|
|
|
| 92 |
|
| 93 |
+
The intended deployment is **model + real tool execution + RAG**, not the model
|
| 94 |
+
alone. Treat every unverified claim as a hypothesis to test, never as fact.
|
| 95 |
|
| 96 |
+
---
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
+
## 🏋️ Training
|
| 99 |
+
|
| 100 |
+
| | |
|
| 101 |
+
|---|---|
|
| 102 |
+
| **Base** | Qwen2.5-Coder-14B-Instruct (abliterated) — Apache-2.0 |
|
| 103 |
+
| **Method** | QLoRA (Unsloth) |
|
| 104 |
+
| **Data** | `joni-rc-2/RC-CyberSecurity-Combined` (defensive + offensive + RC-Skills PoCs) |
|
| 105 |
+
| **Epochs / steps** | 1 epoch · 8,095 steps · ~45.3M tokens |
|
| 106 |
+
| **Final mean train loss** | 0.744 |
|
| 107 |
+
| **Export** | merged → GGUF **Q4_K_M** |
|
| 108 |
+
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## ✅ Intended use · 🚫 Out of scope
|
| 112 |
+
|
| 113 |
+
**Intended:** authorized pentesting, red/blue-team, CTF, security education, and
|
| 114 |
+
auditing your own or contracted systems.
|
| 115 |
+
|
| 116 |
+
**Out of scope / prohibited:** attacking systems without written authorization,
|
| 117 |
+
unlawful access, or any use that violates applicable law. The model is uncensored
|
| 118 |
+
(abliterated base) — the operator is fully responsible for how it is used.
|
| 119 |
+
|
| 120 |
+
---
|
| 121 |
+
|
| 122 |
+
## 📜 License & attribution
|
| 123 |
|
| 124 |
Licensed under the **Apache License, Version 2.0**. © 2026 joni-rc-2.
|
| 125 |
|
| 126 |
Derived from permissively licensed sources — see the dataset's
|
| 127 |
[`NOTICE`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined/blob/main/NOTICE):
|
| 128 |
+
**Vyber07/cyber-security** (Apache-2.0), **WNT3D/Ultimate-Offensive-Red-Team** (MIT),
|
| 129 |
+
and the base model. Tool/framework names (Nmap, Metasploit, Impacket, sqlmap,
|
| 130 |
+
Hashcat, BloodHound, Ghidra, Kali Linux, …) are trademarks of their respective
|
| 131 |
+
owners, used for identification only.
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## 🇦🇱 Shqip (shkurt)
|
| 136 |
|
| 137 |
+
Model 14B për siguri **vetëm për përdorim të autorizuar** (pentest i sistemeve
|
| 138 |
+
që i zotëron ose ke leje me shkrim). Jep **PoC reale + komanda Kali**, nis me
|
| 139 |
+
kontroll autorizimi, **nuk trillon** (CONFIRMED vetëm nga output real), mbyll me
|
| 140 |
+
raport Markdown. Saktësia vjen kur e çon me **mjete reale + RAG (Exploit-DB/CVE)**,
|
| 141 |
+
jo vetëm modeli. **Ti je përgjegjës për përdorim të ligjshëm.**
|