Instructions to use ferrariedhgs/Qwen-ICE-9B 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 ferrariedhgs/Qwen-ICE-9B 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 ferrariedhgs/Qwen-ICE-9B:Q4_K_M # Run inference directly in the terminal: llama cli -hf ferrariedhgs/Qwen-ICE-9B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ferrariedhgs/Qwen-ICE-9B:Q4_K_M # Run inference directly in the terminal: llama cli -hf ferrariedhgs/Qwen-ICE-9B: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 ferrariedhgs/Qwen-ICE-9B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ferrariedhgs/Qwen-ICE-9B:Q4_K_M
Use Docker
docker model run hf.co/ferrariedhgs/Qwen-ICE-9B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ferrariedhgs/Qwen-ICE-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ferrariedhgs/Qwen-ICE-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ferrariedhgs/Qwen-ICE-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ferrariedhgs/Qwen-ICE-9B:Q4_K_M
- Ollama
How to use ferrariedhgs/Qwen-ICE-9B with Ollama:
ollama run hf.co/ferrariedhgs/Qwen-ICE-9B:Q4_K_M
- Unsloth Desktop
- Pi
How to use ferrariedhgs/Qwen-ICE-9B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ferrariedhgs/Qwen-ICE-9B: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": "ferrariedhgs/Qwen-ICE-9B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ferrariedhgs/Qwen-ICE-9B with Docker Model Runner:
docker model run hf.co/ferrariedhgs/Qwen-ICE-9B:Q4_K_M
- Lemonade
How to use ferrariedhgs/Qwen-ICE-9B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ferrariedhgs/Qwen-ICE-9B:Q4_K_M
Run and chat with the model
lemonade run user.Qwen-ICE-9B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ferrariedhgs/Qwen-ICE-9B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ferrariedhgs/Qwen-ICE-9B: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 ferrariedhgs/Qwen-ICE-9B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ferrariedhgs/Qwen-ICE-9B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ferrariedhgs/Qwen-ICE-9B: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 "ferrariedhgs/Qwen-ICE-9B: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"
ICE — Inspect Combat Evaluate
ICE is a Qwen3.5-9B model adapted for cybersecurity analysis, vulnerability triage, and defensive software engineering. Inspect code to identify vulnerabilities, Evaluate and Combat them.
This repository is intended for the merged Q4_K_M GGUF export. The model was fine-tuned with BF16 base weights and LoRA; Q4_K_M is an inference-time export quantization, not the training method.
Intended use
ICE is intended to assist security engineers and researchers with tasks such as:
- Reviewing code for likely vulnerabilities and suggesting minimal remediations.
- Summarizing vulnerability records and security-relevant metadata.
- Supporting defensive triage and secure software development.
- Explaining uncertainty and evidence limits when analyzing vulnerability claims.
Use it only on systems and data you are authorized to assess. Verify vulnerability claims against primary advisories, source code, and reproducible tests. Independently review generated patches before deployment.
Evaluation
The finetuned model solved all the benchmark tasks in a similar way but it provided better patch suggestions and working examples of code that can exploit the vulnerabilities it was tasked to identify. Sixteen prompts were used benchmark the models, covering a wide area of failure points and programming languages.
Inference
Use the GGUF file with a compatible llama.cpp build. For example, start a local server with the downloaded file:
llama-server --model ./QWEN3.5-9B-ICE-Q4_K_M.gguf
Use your agent harness to have the model scan your project files for possible vulnerabilities. There is a SKILL.md file included for convenience.
Model details
- Base model: unsloth/Qwen3.5-9B - Apache 2.0
- Architecture: Qwen3.5 9B, text generation
- Fine-tuning: Supervised fine-tuning (SFT) with LoRA
- Training environment: Modal, NVIDIA RTX PRO 6000 96 GB
- Release format: Merged GGUF, Q4_K_M, for llama.cpp-compatible inference
- Context length used in training: 4,096 tokens
Training data
The SFT run used a prepared mixture of the following datasets:
| Dataset | License |
|---|---|
| oyildirim/cyberstrike-sft-120k | Apache 2.0 |
| quguanni/kernel-vuln-dataset | MIT |
| mjbommar/linux-cve-dossiers | CC-BY-4.0 |
| CyberNative/Code_Vulnerability_Security_DPO | Apache 2.0 |
The prepared mixture was split into 205,241 training rows and 4,115 validation rows. The trainer used the 205,241-row training split for one epoch. Counts above are the preparation pipeline’s per-source accepted-row counts before the validation split.
The kernel dataset is labeled MIT on its Hub card. The Linux CVE dossier corpus is labeled CC-BY-4.0 and notes that some referenced or copied upstream material, including patches, may carry separate terms. CyberStrike is labeled Apache-2.0. These source declarations do not establish a single, blanket license for every item reflected in the learned weights.
Training procedure
- Method: BF16 supervised fine-tuning using LoRA
- LoRA rank: 16
- LoRA alpha: 32
- LoRA dropout: 0.0
- Trainable areas: Language layers, including selected attention and MLP modules; vision layers were not fine-tuned
- Sequence length: 4,096 tokens, with sequence packing enabled
- Epochs: 1
- Learning rate: 2e-5
- Optimizer: 8-bit AdamW.
- Scheduler: Cosine, with 3% warmup
- Random seed: 3407
- Framework: Unsloth and TRL
- Recorded final training loss: 1.4133 -> 0.5256. This is a training metric, not a benchmark score or a measure of security correctness
The training run took approximately 10 hours.
Limitations and safety considerations
- ICE can produce incorrect, incomplete, or outdated security analysis. It may hallucinate CVEs, affected versions, fixes, or evidence.
- A training prompt cannot guarantee safe behavior. The training data includes dual-use cybersecurity examples, and the model may produce unsafe or inappropriate content.
- Do not use ICE as the sole basis for incident response, vulnerability disclosure, access-control decisions, or production changes.
- Do not provide it with secrets, personal data, or sensitive incident artifacts unless the deployment and data handling are approved for that information.
- The 4,096-token training context and training distribution may limit analysis of large codebases or long reports.
- The quantized GGUF may differ slightly from the BF16 fine-tuned checkpoint.
License
ICE model files in this repository are released under the Apache License, Version 2.0. See LICENSE.
The Apache-2.0 license applies only to rights I can license in this release. Third-party materials retain their own terms and notices; see THIRD_PARTY_NOTICES.md.
Dataset citations
@dataset{qu2026kernelvuln,
author = {Qu, Jenny Guanni},
title = {Linux Kernel Vulnerability Dataset},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/quguanni/kernel-vuln-dataset}
}
@misc{bommarito2026dossier,
author = {Bommarito II, Michael J.},
title = {A Scope-Audited CVE Dossier Corpus for 11 Linux Base-System Packages},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/mjbommar/linux-cve-dossiers}}
}
@dataset{cyberstrike_sft_2025,
title = {CyberStrike SFT 120K: Offensive Cybersecurity Training Dataset},
author = {Yildirim, Orhan},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/oyildirim/cyberstrike-sft-120k}
}
Acknowledgements
ICE builds on Qwen3.5-9B and the dataset authors linked above. Please consult their model and dataset cards for their descriptions, citations, license declarations, and use conditions.
- Downloads last month
- 103
4-bit