Instructions to use ethanolivertroy/HackIDLE-NIST-Coder-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 ethanolivertroy/HackIDLE-NIST-Coder-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 ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
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 ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
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 ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use ethanolivertroy/HackIDLE-NIST-Coder-GGUF with Ollama:
ollama run hf.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
- Unsloth Studio
How to use ethanolivertroy/HackIDLE-NIST-Coder-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 ethanolivertroy/HackIDLE-NIST-Coder-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 ethanolivertroy/HackIDLE-NIST-Coder-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ethanolivertroy/HackIDLE-NIST-Coder-GGUF to start chatting
- Pi
How to use ethanolivertroy/HackIDLE-NIST-Coder-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
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": "ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use ethanolivertroy/HackIDLE-NIST-Coder-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ethanolivertroy/HackIDLE-NIST-Coder-GGUF: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:8080/v1 \ --custom-model-id "ethanolivertroy/HackIDLE-NIST-Coder-GGUF: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"
- Docker Model Runner
How to use ethanolivertroy/HackIDLE-NIST-Coder-GGUF with Docker Model Runner:
docker model run hf.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
- Lemonade
How to use ethanolivertroy/HackIDLE-NIST-Coder-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.HackIDLE-NIST-Coder-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ethanolivertroy/HackIDLE-NIST-Coder-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 ethanolivertroy/HackIDLE-NIST-Coder-GGUF: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:8080/v1 hermes config set model.default ethanolivertroy/HackIDLE-NIST-Coder-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
Clarify model limitations and eval status
Browse files
README.md
CHANGED
|
@@ -1,146 +1,75 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
| `hackidle-nist-coder-f16.gguf` | 14GB | Reference/source | Baseline |
|
| 18 |
-
| `hackidle-nist-coder-q8_0.gguf` | 7.5GB | Highest quality | ~0.1% loss |
|
| 19 |
-
| `hackidle-nist-coder-q5_k_m.gguf` | 5.1GB | High quality | ~0.5% loss |
|
| 20 |
-
| **`hackidle-nist-coder-q4_k_m.gguf`** | **4.4GB** | **Recommended** | ~1% loss |
|
| 21 |
-
|
| 22 |
-
## Usage
|
| 23 |
-
|
| 24 |
-
### With Ollama
|
| 25 |
-
|
| 26 |
-
Download and run:
|
| 27 |
-
```bash
|
| 28 |
-
ollama run ethanolivertroy/hackidle-nist-coder
|
| 29 |
-
```
|
| 30 |
-
|
| 31 |
-
Or create from this repo:
|
| 32 |
-
```bash
|
| 33 |
-
# Download GGUF
|
| 34 |
-
wget https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF/resolve/main/hackidle-nist-coder-q4_k_m.gguf
|
| 35 |
-
|
| 36 |
-
# Create Modelfile
|
| 37 |
-
cat > Modelfile << 'EOF'
|
| 38 |
-
FROM ./hackidle-nist-coder-q4_k_m.gguf
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
PARAMETER temperature 0.7
|
| 43 |
-
PARAMETER num_ctx 32768
|
| 44 |
-
EOF
|
| 45 |
|
| 46 |
-
|
| 47 |
-
ollama create hackidle-nist-coder -f Modelfile
|
| 48 |
-
```
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
| 53 |
-
# Download GGUF
|
| 54 |
-
wget https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF/resolve/main/hackidle-nist-coder-q4_k_m.gguf
|
| 55 |
|
| 56 |
-
|
| 57 |
-
./llama-cli -m hackidle-nist-coder-q4_k_m.gguf \
|
| 58 |
-
-p "What is Zero Trust Architecture according to NIST?" \
|
| 59 |
-
-n 200 \
|
| 60 |
-
--temp 0.7
|
| 61 |
-
```
|
| 62 |
|
| 63 |
-
##
|
| 64 |
|
| 65 |
-
|
| 66 |
-
2. Download Q4_K_M variant
|
| 67 |
-
3. Start chatting!
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
| 72 |
|
| 73 |
-
|
| 74 |
-
- Risk Management Framework (RMF)
|
| 75 |
-
- SP 800 series security controls (AC, AU, CA, CM, CP, IA, IR, MA, MP, PE, PL, PS, RA, SA, SC, SI, SR)
|
| 76 |
-
- FIPS cryptographic standards
|
| 77 |
-
- Zero Trust Architecture (SP 800-207)
|
| 78 |
-
- Cloud security (SP 800-210, SP 800-144)
|
| 79 |
-
- Supply chain risk management (SP 800-161)
|
| 80 |
-
- Privacy Framework
|
| 81 |
|
| 82 |
-
|
| 83 |
|
| 84 |
-
|
| 85 |
-
"What is Zero Trust Architecture according to NIST SP 800-207?"
|
| 86 |
-
"Explain control AC-1 from NIST SP 800-53."
|
| 87 |
-
"What are the core components of the NIST Cybersecurity Framework?"
|
| 88 |
-
"How does NIST recommend implementing secure cloud architecture?"
|
| 89 |
-
"What is the Risk Management Framework process?"
|
| 90 |
-
```
|
| 91 |
|
| 92 |
-
|
| 93 |
|
| 94 |
-
|
| 95 |
-
-
|
| 96 |
-
-
|
| 97 |
-
-
|
| 98 |
-
- 5 extraction strategies: sections, controls, definitions, tables, semantic chunks
|
| 99 |
|
| 100 |
-
|
| 101 |
-
- Method: LoRA with MLX (Apple Silicon)
|
| 102 |
-
- Training time: 3.5 hours on M4 Max
|
| 103 |
-
- Iterations: 1000
|
| 104 |
-
- Validation loss improvement: 45%
|
| 105 |
-
- Base model: Qwen2.5-Coder-7B-Instruct-4bit
|
| 106 |
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
-
|
| 110 |
-
- Inference: 80-100 tokens/sec
|
| 111 |
-
- Memory: ~6GB
|
| 112 |
-
- Prompt processing: 50-100 tokens/sec
|
| 113 |
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
## Related Models
|
| 119 |
-
|
| 120 |
-
- **MLX Format:** [`ethanolivertroy/HackIDLE-NIST-Coder-MLX-4bit`](https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-MLX-4bit)
|
| 121 |
-
- **LM Studio:** [`ethanolivertroy/hackidle-nist-coder`](https://lmstudio.ai/ethanolivertroy/hackidle-nist-coder)
|
| 122 |
-
- **Ollama Library:** `ethanolivertroy/hackidle-nist-coder` (coming soon)
|
| 123 |
-
|
| 124 |
-
## Citation
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
year = {2025},
|
| 133 |
-
url = {https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF}
|
| 134 |
-
}
|
| 135 |
```
|
| 136 |
|
| 137 |
## License
|
| 138 |
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
## Acknowledgments
|
| 142 |
-
|
| 143 |
-
- **NIST** for publishing comprehensive cybersecurity guidance
|
| 144 |
-
- **Qwen Team** for the exceptional Qwen2.5-Coder base model
|
| 145 |
-
- **llama.cpp** team for GGUF format and quantization
|
| 146 |
-
- **Ollama** for making local LLM deployment accessible
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct/blob/main/LICENSE
|
| 4 |
+
base_model: mlx-community/Qwen2.5-Coder-7B-Instruct-4bit
|
| 5 |
+
tags:
|
| 6 |
+
- gguf
|
| 7 |
+
- cybersecurity
|
| 8 |
+
- nist
|
| 9 |
+
- security-controls
|
| 10 |
+
- compliance
|
| 11 |
+
- fine-tuned
|
| 12 |
+
- llama-cpp
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
quantized_by: ethanolivertroy
|
| 16 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
# HackIDLE-NIST-Coder (GGUF)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
This is the first GGUF build of HackIDLE-NIST-Coder, a NIST-focused local model built from Qwen2.5-Coder-7B-Instruct and fine-tuned on a NIST cybersecurity corpus.
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
This repo is kept for reproducibility. For new testing, start with the v1.1 GGUF build:
|
| 23 |
|
| 24 |
+
- [ethanolivertroy/HackIDLE-NIST-Coder-v1.1-GGUF](https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-v1.1-GGUF)
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
Use this model as a helper. Do not treat it as a source of truth for exact control names, RMF step lists, or reference-architecture component names without checking the source publication.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
## Training data
|
| 29 |
|
| 30 |
+
This first build used `523,706` examples from `568` NIST cybersecurity documents.
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
Training dataset:
|
| 33 |
|
| 34 |
+
- [ethanolivertroy/nist-cybersecurity-training](https://huggingface.co/datasets/ethanolivertroy/nist-cybersecurity-training)
|
| 35 |
|
| 36 |
+
## Current eval status
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
+
The dated smoke eval from April 22, 2026 was run against the Ollama `latest` tag, which matched the v1.1 line in the local install used for that check. I have not rerun that exact eval against this older GGUF build.
|
| 39 |
|
| 40 |
+
The v1.1 result matters for this older build too because it sets the right expectation for the model family: the model can stay in-domain while still missing exact NIST structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
+
Be careful with:
|
| 43 |
|
| 44 |
+
- exact control names
|
| 45 |
+
- exact RMF step ordering
|
| 46 |
+
- exact SP 800-207 component naming
|
| 47 |
+
- source-level answers that need to be right on the first pass
|
|
|
|
| 48 |
|
| 49 |
+
## Available quantizations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
+
| Quantization | Approx. size | Use case |
|
| 52 |
+
| --- | ---: | --- |
|
| 53 |
+
| F16 | 14 GB | Full precision reference build |
|
| 54 |
+
| Q8_0 | 7.5 GB | Higher quality local inference |
|
| 55 |
+
| Q5_K_M | 5.1 GB | Balanced size and quality |
|
| 56 |
+
| Q4_K_M | 4.4 GB | Small local default for most machines |
|
| 57 |
|
| 58 |
+
## Run with llama.cpp
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
+
```bash
|
| 61 |
+
git clone https://github.com/ggerganov/llama.cpp
|
| 62 |
+
cd llama.cpp
|
| 63 |
+
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
+
wget https://huggingface.co/ethanolivertroy/HackIDLE-NIST-Coder-GGUF/resolve/main/hackidle-nist-coder-q4_k_m.gguf
|
| 66 |
|
| 67 |
+
./llama-cli \
|
| 68 |
+
-m hackidle-nist-coder-q4_k_m.gguf \
|
| 69 |
+
-p "Which NIST docs would you start with for contractor remote access?" \
|
| 70 |
+
-n 500
|
|
|
|
|
|
|
|
|
|
| 71 |
```
|
| 72 |
|
| 73 |
## License
|
| 74 |
|
| 75 |
+
The base model is Qwen2.5-Coder-7B-Instruct, released under Apache 2.0. The NIST source publications used for the dataset are public domain U.S. government works. This model card uses Apache 2.0 for the model artifact and documents the NIST data source separately.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|