Instructions to use dolutech/MinimoSec-V4-4B-GGUF 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 dolutech/MinimoSec-V4-4B-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 dolutech/MinimoSec-V4-4B-GGUF:F16 # Run inference directly in the terminal: llama cli -hf dolutech/MinimoSec-V4-4B-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dolutech/MinimoSec-V4-4B-GGUF:F16 # Run inference directly in the terminal: llama cli -hf dolutech/MinimoSec-V4-4B-GGUF:F16
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 dolutech/MinimoSec-V4-4B-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf dolutech/MinimoSec-V4-4B-GGUF:F16
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 dolutech/MinimoSec-V4-4B-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf dolutech/MinimoSec-V4-4B-GGUF:F16
Use Docker
docker model run hf.co/dolutech/MinimoSec-V4-4B-GGUF:F16
- LM Studio
- Jan
- Ollama
How to use dolutech/MinimoSec-V4-4B-GGUF with Ollama:
ollama run hf.co/dolutech/MinimoSec-V4-4B-GGUF:F16
- Unsloth Studio
How to use dolutech/MinimoSec-V4-4B-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 dolutech/MinimoSec-V4-4B-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 dolutech/MinimoSec-V4-4B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dolutech/MinimoSec-V4-4B-GGUF to start chatting
- Pi
How to use dolutech/MinimoSec-V4-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dolutech/MinimoSec-V4-4B-GGUF:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dolutech/MinimoSec-V4-4B-GGUF:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use dolutech/MinimoSec-V4-4B-GGUF with Docker Model Runner:
docker model run hf.co/dolutech/MinimoSec-V4-4B-GGUF:F16
- Lemonade
How to use dolutech/MinimoSec-V4-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dolutech/MinimoSec-V4-4B-GGUF:F16
Run and chat with the model
lemonade run user.MinimoSec-V4-4B-GGUF-F16
List all available models
lemonade list
- Hermes Agent
How to use dolutech/MinimoSec-V4-4B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dolutech/MinimoSec-V4-4B-GGUF:F16
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:8080/v1 hermes config set model.default dolutech/MinimoSec-V4-4B-GGUF:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dolutech/MinimoSec-V4-4B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dolutech/MinimoSec-V4-4B-GGUF:F16
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:8080/v1 \ --custom-model-id "dolutech/MinimoSec-V4-4B-GGUF:F16" \ --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"
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,6 +43,156 @@ The model was trained on **22,571 Portuguese-language cybersecurity examples** c
|
|
| 43 |
| **Training Epochs** | 1 (V4-final with 3 epochs in development) |
|
| 44 |
| **Quantisation Available** | Q4_K_M GGUF (~5.3 GB) |
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
---
|
| 47 |
|
| 48 |
## 🚀 Quick Start
|
|
|
|
| 43 |
| **Training Epochs** | 1 (V4-final with 3 epochs in development) |
|
| 44 |
| **Quantisation Available** | Q4_K_M GGUF (~5.3 GB) |
|
| 45 |
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
# 📊 CyberBench-Hard v1.0
|
| 49 |
+
|
| 50 |
+
## Specialized Cybersecurity Benchmark for Small-Scale SFT Models
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
### About the Benchmark
|
| 55 |
+
|
| 56 |
+
**CyberBench-Hard** is a specialized cybersecurity knowledge evaluation benchmark composed of
|
| 57 |
+
50 expert-level questions distributed across 10 categories. Questions are designed to test
|
| 58 |
+
deep technical reasoning, factual accuracy, and hallucination resistance across critical
|
| 59 |
+
information security domains.
|
| 60 |
+
|
| 61 |
+
This document presents partial results for categories **D (Malware Analysis & Reverse
|
| 62 |
+
Engineering)** and **G (MITRE ATT&CK & Threat Intelligence)**, evaluated on **MinimoSec-V4-4B**,
|
| 63 |
+
a small-scale language model with specialized cybersecurity fine-tuning.
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
### Evaluated Model
|
| 68 |
+
|
| 69 |
+
| Field | Detail |
|
| 70 |
+
|----------------------|-------------------------------------------------------|
|
| 71 |
+
| **Model** | MinimoSec-V4-4B |
|
| 72 |
+
| **Base Architecture**| Gemma 3 4B (4 billion parameters) |
|
| 73 |
+
| **Fine-tuning** | SFT (Supervised Fine-Tuning) |
|
| 74 |
+
| **Dataset** | 22,000 cybersecurity-focused samples |
|
| 75 |
+
| **Specialization** | Offensive & Defensive Cybersecurity |
|
| 76 |
+
| **Evaluator** | Lucas Catão de Moraes |
|
| 77 |
+
| **Date** | April 2026 |
|
| 78 |
+
| **Methodology** | Manual per-dimension evaluation with weighted criteria|
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
### Evaluation Criteria
|
| 83 |
+
|
| 84 |
+
| Dimension | Weight | Description |
|
| 85 |
+
|---------------------------|--------|------------------------------------------------------|
|
| 86 |
+
| Factual Correctness | 30% | Technical accuracy of the information presented |
|
| 87 |
+
| Technical Depth | 25% | Level of detail and demonstrated expertise |
|
| 88 |
+
| Completeness | 20% | Coverage of all sub-items in the question |
|
| 89 |
+
| Clarity & Structure | 15% | Organization, didactics, and readability |
|
| 90 |
+
| Absence of Hallucinations | 10% | Absence of fabricated terms, concepts, or data |
|
| 91 |
+
|
| 92 |
+
### Scoring Scale
|
| 93 |
+
|
| 94 |
+
| Score | Classification |
|
| 95 |
+
|-------------|----------------|
|
| 96 |
+
| 9.0 – 10.0 | Expert-Level |
|
| 97 |
+
| 7.5 – 8.9 | Advanced |
|
| 98 |
+
| 6.0 – 7.4 | Intermediate |
|
| 99 |
+
| 4.0 – 5.9 | Basic |
|
| 100 |
+
| < 4.0 | Insufficient |
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
### Category D — Malware Analysis & Reverse Engineering
|
| 105 |
+
|
| 106 |
+
| # | Topic | Factual | Depth | Completeness | Clarity | Hallucinations | **Score** | **Classification** |
|
| 107 |
+
|----|-----------------------------------|---------|-------|--------------|---------|----------------|-----------|---------------------|
|
| 108 |
+
| D1 | Static / Dynamic Analysis | 6.0 | 5.5 | 6.0 | 7.5 | 6.0 | **6.10** | Intermediate |
|
| 109 |
+
| D2 | Packer / Crypter / Unpacking | 5.0 | 4.5 | 3.5 | 7.5 | 5.5 | **5.00** | Basic |
|
| 110 |
+
| D3 | Process Hollowing (T1055.012) | 7.0 | 6.0 | 5.5 | 8.0 | 6.5 | **6.55** | Intermediate |
|
| 111 |
+
| D4 | DKOM / Kernel Rootkit | 7.0 | 6.5 | 7.0 | 8.5 | 7.0 | **7.10** | Intermediate |
|
| 112 |
+
| D5 | DGA / C2 / ML Detection | 6.5 | 5.0 | 6.0 | 7.5 | 7.5 | **6.28** | Intermediate |
|
| 113 |
+
| | | | | | | | | |
|
| 114 |
+
| | **Category D Average** | | | | | | **6.21** | **Intermediate** |
|
| 115 |
+
|
| 116 |
+
### Category G — MITRE ATT&CK & Threat Intelligence
|
| 117 |
+
|
| 118 |
+
| # | Topic | Factual | Depth | Completeness | Clarity | Hallucinations | **Score** | **Classification** |
|
| 119 |
+
|----|-----------------------------------|---------|-------|--------------|---------|----------------|-----------|---------------------|
|
| 120 |
+
| G1 | MITRE ATT&CK Hierarchy | 2.0 | 3.0 | 2.0 | 7.0 | 1.5 | **2.95** | Insufficient |
|
| 121 |
+
| G2 | IoCs vs IoAs / SIEM / SOAR | 6.5 | 5.5 | 7.0 | 8.5 | 5.5 | **6.55** | Intermediate |
|
| 122 |
+
| G3 | Kill Chain / Diamond Model | 5.5 | 4.5 | 5.5 | 8.0 | 4.0 | **5.48** | Basic |
|
| 123 |
+
| G4 | Threat Hunting / LOLBins | 6.0 | 6.0 | 6.5 | 8.0 | 5.0 | **6.30** | Intermediate |
|
| 124 |
+
| G5 | STIX / TAXII | 5.0 | 4.0 | 5.5 | 7.5 | 4.0 | **5.13** | Basic |
|
| 125 |
+
| | | | | | | | | |
|
| 126 |
+
| | **Category G Average** | | | | | | **5.28** | **Basic** |
|
| 127 |
+
|
| 128 |
+
---
|
| 129 |
+
|
| 130 |
+
### Overall Summary
|
| 131 |
+
|
| 132 |
+
| Category | Average | Classification | Best Response | Worst Response |
|
| 133 |
+
|------------------------------------|----------|----------------|----------------------------|-----------------------------|
|
| 134 |
+
| **D — Malware & RE** | **6.21** | Intermediate | D4: DKOM / Rootkit (7.10) | D2: Packer / Crypter (5.00) |
|
| 135 |
+
| **G — MITRE & Threat Intel** | **5.28** | Basic | G2: IoCs vs IoAs (6.55) | G1: MITRE ATT&CK (2.95) |
|
| 136 |
+
| | | | | |
|
| 137 |
+
| **Global Average (D + G)** | **5.74** | Basic | | |
|
| 138 |
+
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
### Key Findings
|
| 142 |
+
|
| 143 |
+
- **Best overall response:** D4 — DKOM / Kernel Rootkit (**7.10** — Intermediate)
|
| 144 |
+
- **Worst overall response:** G1 — MITRE ATT&CK Hierarchy (**2.95** — Insufficient)
|
| 145 |
+
- **Strongest dimension:** Clarity & Structure (average **7.75** across all 10 responses)
|
| 146 |
+
- **Weakest dimension:** Absence of Hallucinations (average **4.85** across all 10 responses)
|
| 147 |
+
- **Highest internal variance:** Category G (range from 2.95 to 6.55 = Δ3.60)
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
+
### MinimoSec-V4-4B — Model Analysis
|
| 152 |
+
|
| 153 |
+
For a **4 billion parameter** cybersecurity-specialized model, the CyberBench-Hard results
|
| 154 |
+
reveal the following:
|
| 155 |
+
|
| 156 |
+
1. **SFT dataset quality is the determining factor.** Category D (better training coverage)
|
| 157 |
+
outperformed Category G by nearly 1 point, confirming that dataset curation matters more
|
| 158 |
+
than model size alone. MinimoSec-V4-4B performs at Intermediate level in domains where its
|
| 159 |
+
training data was strongest.
|
| 160 |
+
|
| 161 |
+
2. **The model excels at structure and clarity.** The Clarity & Structure dimension scored
|
| 162 |
+
between 7.0–8.5 across all responses, indicating that SFT successfully taught
|
| 163 |
+
MinimoSec-V4-4B professional formatting and technical communication patterns.
|
| 164 |
+
|
| 165 |
+
3. **Factual accuracy and hallucinations are the primary limiters.** MinimoSec-V4-4B tends to
|
| 166 |
+
fabricate terms, IDs, and configurations when pushed beyond its training coverage, rather
|
| 167 |
+
than expressing uncertainty. This is the most critical area for improvement.
|
| 168 |
+
|
| 169 |
+
4. **The observed performance ceiling for 4B + SFT is ~7.0.** MinimoSec-V4-4B's best response
|
| 170 |
+
scored 7.10 (DKOM / Kernel Rootkit). To reach Advanced classification (7.5+), recommended
|
| 171 |
+
next steps include: scale-up of the base model, post-SFT alignment via DPO/RLHF, and
|
| 172 |
+
expanded dataset curation with expert technical review.
|
| 173 |
+
|
| 174 |
+
5. **MinimoSec-V4-4B is suitable as an intermediate-level cybersecurity assistant** for
|
| 175 |
+
educational and study purposes in its well-trained domains, but should not be used as an
|
| 176 |
+
authoritative technical reference without human verification.
|
| 177 |
+
|
| 178 |
+
---
|
| 179 |
+
|
| 180 |
+
### Benchmark Reference
|
| 181 |
+
|
| 182 |
+
> **CyberBench-Hard v1.0** — Proprietary benchmark for evaluating specialized cybersecurity
|
| 183 |
+
> knowledge in language models. 50 expert-level questions across 10 categories. Developed and
|
| 184 |
+
> administered in April 2026. Evaluation performed by Claude Opus 4.6 (Anthropic).
|
| 185 |
+
>
|
| 186 |
+
> Full benchmark categories: Cryptography & PKI (A), Active Directory & Kerberos (B), Network
|
| 187 |
+
> Security & Protocols (C), Malware Analysis & RE (D), Cloud & Container Security (E), Web
|
| 188 |
+
> Application Security (F), MITRE ATT&CK & Threat Intel (G), Digital Forensics & IR (H),
|
| 189 |
+
> AI/LLM Security (I), Multi-Stage Scenarios (J).
|
| 190 |
+
>
|
| 191 |
+
> This document presents partial results for categories D and G (10 out of 50 questions).
|
| 192 |
+
> MinimoSec-V4-4B was evaluated on these categories as representative samples of its
|
| 193 |
+
> cybersecurity knowledge capabilities.
|
| 194 |
+
|
| 195 |
+
|
| 196 |
---
|
| 197 |
|
| 198 |
## 🚀 Quick Start
|