Text Generation
PEFT
Safetensors
GGUF
English
cybersecurity
security-research
cve
ios
deepseek-r1
qlora
lm-studio
conversational
Instructions to use Volpidash/deepseek-r1-14b-security with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Volpidash/deepseek-r1-14b-security with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-14B") model = PeftModel.from_pretrained(base_model, "Volpidash/deepseek-r1-14b-security") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Volpidash/deepseek-r1-14b-security 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 Volpidash/deepseek-r1-14b-security:Q4_K_M # Run inference directly in the terminal: llama cli -hf Volpidash/deepseek-r1-14b-security:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Volpidash/deepseek-r1-14b-security:Q4_K_M # Run inference directly in the terminal: llama cli -hf Volpidash/deepseek-r1-14b-security: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 Volpidash/deepseek-r1-14b-security:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Volpidash/deepseek-r1-14b-security:Q4_K_M
Use Docker
docker model run hf.co/Volpidash/deepseek-r1-14b-security:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Volpidash/deepseek-r1-14b-security with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Volpidash/deepseek-r1-14b-security" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Volpidash/deepseek-r1-14b-security", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Volpidash/deepseek-r1-14b-security:Q4_K_M
- Ollama
How to use Volpidash/deepseek-r1-14b-security with Ollama:
ollama run hf.co/Volpidash/deepseek-r1-14b-security:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Volpidash/deepseek-r1-14b-security with Docker Model Runner:
docker model run hf.co/Volpidash/deepseek-r1-14b-security:Q4_K_M
- Lemonade
How to use Volpidash/deepseek-r1-14b-security with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Volpidash/deepseek-r1-14b-security:Q4_K_M
Run and chat with the model
lemonade run user.deepseek-r1-14b-security-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Publish security benchmark protocol, measured coverage and available results
Browse files- README.md +10 -10
- benchmark-plan.json +1 -1
- security-benchmarks.json +0 -0
README.md
CHANGED
|
@@ -30,7 +30,7 @@ Built by [Volpidash](https://huggingface.co/Volpidash), using [DeepSeek-R1-Disti
|
|
| 30 |
|
| 31 |
[Overview](#research-focus) · [Training data](#training-data) · [Coverage](#measured-data-coverage) · [Local apps](#use-this-model-with-local-apps) · [Benchmarks](#benchmarks) · [Training recipe](#training-recipe)
|
| 32 |
|
| 33 |
-
> **
|
| 34 |
|
| 35 |
| At a glance | Details |
|
| 36 |
| :--- | :--- |
|
|
@@ -58,8 +58,8 @@ These are the goals of this research build. Its effectiveness will be assessed u
|
|
| 58 |
| Planned artifact | Purpose | Availability |
|
| 59 |
| :--- | :--- | :--- |
|
| 60 |
| `deepseek-r1-14b-security-Q4_K_M.gguf` | Local inference in LM Studio / llama.cpp | Pending export |
|
| 61 |
-
| LoRA adapter | Use with the exact DeepSeek base above |
|
| 62 |
-
| Evaluation results | Compare base and fine-tuned answers |
|
| 63 |
|
| 64 |
## Use this model with local apps
|
| 65 |
|
|
@@ -161,12 +161,12 @@ Reproducibility: [data manifest](./data-manifest.json) · [split and formatting
|
|
| 161 |
|
| 162 |
### Paired security benchmark
|
| 163 |
|
| 164 |
-
| Security suite |
|
| 165 |
| --- | --- | --- | --- |
|
| 166 |
-
| Held-out Pentesting Explanations | 176 |
|
| 167 |
-
| SecEval adapted subset | 200 |
|
| 168 |
|
| 169 |
-
|
| 170 |
|
| 171 |
Choices are balanced A/B/C/D (25% guessing expectation). The comparison uses **forced next-letter ranking with reasoning closed**, not generated answers. It does not measure normal R1 reasoning or the Q4_K_M export. SecEval is an adapted subset, not an official leaderboard run.
|
| 172 |
|
|
@@ -199,9 +199,9 @@ These are capacity and integrity checks. The first-step duration is not an infer
|
|
| 199 |
|
| 200 |
### Local security evaluation
|
| 201 |
|
| 202 |
-
**Completed:** dataset
|
| 203 |
|
| 204 |
-
**Pending:**
|
| 205 |
|
| 206 |
Measured base loss on the 64-record subset: **1.5157**. Loss is not an accuracy percentage. [Record](./baseline-eval.json).
|
| 207 |
|
|
@@ -240,4 +240,4 @@ This is a community research project maintained by Volpidash, independently of t
|
|
| 240 |
|
| 241 |
---
|
| 242 |
|
| 243 |
-
*Page updated 2026-11-09
|
|
|
|
| 30 |
|
| 31 |
[Overview](#research-focus) · [Training data](#training-data) · [Coverage](#measured-data-coverage) · [Local apps](#use-this-model-with-local-apps) · [Benchmarks](#benchmarks) · [Training recipe](#training-recipe)
|
| 32 |
|
| 33 |
+
> **Training and security benchmark completed; GGUF export pending.** Measured NF4 results are available below. Model downloads will be published after export and load verification succeed.
|
| 34 |
|
| 35 |
| At a glance | Details |
|
| 36 |
| :--- | :--- |
|
|
|
|
| 58 |
| Planned artifact | Purpose | Availability |
|
| 59 |
| :--- | :--- | :--- |
|
| 60 |
| `deepseek-r1-14b-security-Q4_K_M.gguf` | Local inference in LM Studio / llama.cpp | Pending export |
|
| 61 |
+
| LoRA adapter | Use with the exact DeepSeek base above | Awaiting artifact publication |
|
| 62 |
+
| Evaluation results | Compare base and fine-tuned answers | Available in Benchmarks below |
|
| 63 |
|
| 64 |
## Use this model with local apps
|
| 65 |
|
|
|
|
| 161 |
|
| 162 |
### Paired security benchmark
|
| 163 |
|
| 164 |
+
| Security suite | Base NF4 | Fine-tune NF4 | Change |
|
| 165 |
| --- | --- | --- | --- |
|
| 166 |
+
| Held-out Pentesting Explanations | 86.4% (152/176; 95% CI 80.5%–90.7%) | 86.4% (152/176; 95% CI 80.5%–90.7%) | +0.0 pp |
|
| 167 |
+
| SecEval adapted subset | 86.5% (173/200; 95% CI 81.1%–90.6%) | 86.5% (173/200; 95% CI 81.1%–90.6%) | +0.0 pp |
|
| 168 |
|
| 169 |
+
[Full measured results, topic breakdowns, and predictions](./security-benchmarks.json).
|
| 170 |
|
| 171 |
Choices are balanced A/B/C/D (25% guessing expectation). The comparison uses **forced next-letter ranking with reasoning closed**, not generated answers. It does not measure normal R1 reasoning or the Q4_K_M export. SecEval is an adapted subset, not an official leaderboard run.
|
| 172 |
|
|
|
|
| 199 |
|
| 200 |
### Local security evaluation
|
| 201 |
|
| 202 |
+
**Completed:** dataset audit, training, and paired security benchmark.
|
| 203 |
|
| 204 |
+
**Pending:** final answer review and GGUF export/load verification.
|
| 205 |
|
| 206 |
Measured base loss on the 64-record subset: **1.5157**. Loss is not an accuracy percentage. [Record](./baseline-eval.json).
|
| 207 |
|
|
|
|
| 240 |
|
| 241 |
---
|
| 242 |
|
| 243 |
+
*Page updated 2026-11-09 19:37 UTC. Release status is a publication snapshot.*
|
benchmark-plan.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
},
|
| 9 |
"seceval_revision": "205dab7b0888a06f4b53ca7d9c7093e1326683e1",
|
| 10 |
"seceval_file_sha256": "194c3a511104be422a678675a71d44315d0c0392b040745155aeebc321e692e0",
|
| 11 |
-
"status": "
|
| 12 |
"total_questions": 376,
|
| 13 |
"excluded": {
|
| 14 |
"heldout_pentesting:position_dependent_options": 1,
|
|
|
|
| 8 |
},
|
| 9 |
"seceval_revision": "205dab7b0888a06f4b53ca7d9c7093e1326683e1",
|
| 10 |
"seceval_file_sha256": "194c3a511104be422a678675a71d44315d0c0392b040745155aeebc321e692e0",
|
| 11 |
+
"status": "completed",
|
| 12 |
"total_questions": 376,
|
| 13 |
"excluded": {
|
| 14 |
"heldout_pentesting:position_dependent_options": 1,
|
security-benchmarks.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|