NVFP4 quantization of Gork-27B-Cybersecurity: 24 GB instead of 54 GB; security and general scores are within 2 points of the BF16 model, and BFCL parallel tool calls are 3–4 points higher.
A 27B cybersecurity assistant fine-tuned from Qwen/Qwen3.8-27B for threat intelligence, incident response and secure-code review.
| Model type | Causal LM. Dense hybrid of Gated DeltaNet (linear attention) and full attention in a 3:1 layer pattern, with a 1-layer multi-token-prediction head (inherited from Qwen3.8). |
| Base model | Qwen/Qwen3.8-27B (text model only) |
| Parameters | 27B (incl. MTP head) |
| Context length | 262,144 native · 1,000,000 with YaRN |
| Modalities | Text in, text out |
| Languages | English (security corpora are overwhelmingly English; multilingual chat is inherited, not tuned) |
| Precision | Mixed, compressed-tensors format: NVFP4 (FP4 E2M1 weights and activations, group 16, FP8 block scales) on the MLP of layers 0–55; FP8-Dynamic on full attention, the DeltaNet projections and the MLP of the last 8 layers; static FP8 KV-cache scales. Embeddings, lm_head, norms, the DeltaNet in_proj_a/in_proj_b gates and the MTP head stay BF16. Calibrated with AWQ and GPTQ (llm-compressor) on in-domain and general chat samples. 24 GB. |
| License | Apache-2.0 |
Primary use cases
Out of scope
Dual-use notice. Security knowledge is inherently dual-use. The model is tuned to be more useful to defenders than a general model, and it will still explain how attacks work because defenders need that. Read Safety before exposing it to untrusted users.
Supervised fine-tune of Qwen3.8-27B on a curated cybersecurity dataset, trained with QLoRA and merged back into BF16 weights, then averaged in equal parts with the base weights. The averaging keeps the security gains and restores most of the base model's multi-call tool use.
Knowledge cut-off: November 2026. CVEs and advisories published after this date are unknown unless supplied in context.
All numbers compare this NVFP4 checkpoint, the unquantized Gork-27B (BF16, for reference) and the unmodified Qwen3.8-27B base with no input truncation; the better of NVFP4 and base is bolded. Higher is better except NLL. Benchmarks ran on lm-evaluation-harness and the BFCL runner over vLLM, with vLLM's weight-only kernels for the quantized checkpoint; scoring details are in BENCHMARK-RESULTS.md.
| Benchmark | What it measures | NVFP4 | Gork-27B (BF16) | Qwen3.8-27B (base) |
|---|---|---|---|---|
| Validation NLL — held-out in-domain examples | fit to the security distribution (lower is better; perplexity in parentheses) | 0.643 (1.90) | 0.640 (1.90) | 0.962 (2.62) |
| CyberMetric-500 | security knowledge QA | 0.952 | 0.952 | 0.746 |
| SecEval (2,182, multi-select) | security knowledge across nine domains | 0.801 | 0.794 | 0.781 |
| CTIBench — MCQ (2,500) | threat-intel knowledge | 0.734 | 0.736 | 0.714 |
| CTIBench — RCM (1,000) | map CVE → CWE | 0.727 | 0.734 | 0.726 |
| MMLU — computer_security | general security knowledge | 0.88 | 0.87 | 0.88 |
IFEval and GSM8K are full; MMLU-Pro is a 33% stratified subset (~4,000 of ~12,000 questions). GSM8K is scored through the chat template (few-shot examples as turns).
| Benchmark | What it measures | NVFP4 | Gork-27B (BF16) | Qwen3.8-27B (base) |
|---|---|---|---|---|
| GSM8K (flexible-extract) | grade-school math reasoning | 0.920 | 0.917 | 0.898 |
| MMLU-Pro (~4,000-Q subset) | broad reasoning across 14 domains | 0.718 | 0.721 | 0.612 |
| IFEval — prompt-level strict | instruction following | 0.632 | 0.649 | 0.529 |
| IFEval — instruction-level strict | instruction following | 0.734 | 0.753 | 0.629 |
The security tuning did not cost general capability: this checkpoint is at or above the base on every task.
On the same 1,000 CTIBench CVE→CWE prompts, the NVFP4 checkpoint emits 1.6x fewer output tokens per answer than the base.
| NVFP4 | Gork-27B (BF16) | Qwen3.8-27B (base) | |
|---|---|---|---|
| Mean output tokens/answer | 121.8 | 134.0 | 192.0 |
| Median | 90 | 95 | 127 |
| p90 | 167 | 192 | 327 |
| Accuracy | 0.727 | 0.734 | 0.726 |
| Category | What it measures | NVFP4 | Gork-27B (BF16) | Qwen3.8-27B (base) |
|---|---|---|---|---|
| Simple (Python, Java, JavaScript) | one call to one given function | 0.801 | 0.808 | 0.800 |
| Multiple | choosing the right function among several | 0.960 | 0.965 | 0.975 |
| Parallel | several calls in one turn | 0.755 | 0.725 | 0.820 |
| Parallel multiple | several calls across several functions | 0.755 | 0.720 | 0.835 |
| Live (user-contributed) | real-world function definitions | 0.845 | 0.844 | 0.823 |
| Multi-turn | stateful tasks over several turns | 0.483 | 0.495 | 0.583 |
| Irrelevance | declining tools that do not fit the request | 0.842 | 0.846 | 0.732 |
Like the BF16 model, it leads the base on single calls and user-contributed functions, and declines unrelated tools more reliably.
Measured in Sleipnir, a coding-agent harness, over the same OpenAI-compatible endpoint.
| Test | What it measures | NVFP4 | Gork-27B (BF16) | Qwen3.8-27B (base) |
|---|---|---|---|---|
| Tool-use suite (9 scenarios, 5 samples each) | picking the right next tool call in situations taken from real team runs | 0.67 | 0.76 | 0.60 |
On Blackwell GPUs vLLM runs the NVFP4 layers as W4A4; on earlier GPUs it runs the weights through its weight-only Marlin kernels (W4A16). On Ampere, add --kv-cache-dtype bfloat16 to the command below: the checkpoint's FP8 KV-cache scales need FP8 attention kernels that Ampere does not have.
vllm serve ConsensusProtocol-Thanos/Gork-27b-Cybersecurity-NVFP4 \
--max-model-len 262144 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder \
For Transformers, use the BF16 model.
Gork is a direct-answer model: it replies without a chain-of-thought phase, and thinking is disabled in the
chat template. It uses ChatML-style roles and XML-style <tool_call><function=…> calls, with the standard
function-calling schema.
temperature=0.7, top_p=0.8, top_k=20, presence_penalty=1.5. The shipped generation_config.json carries
this preset.
Known limitations
Safety behaviour
Apache-2.0. Base model © Alibaba Cloud (Qwen), Apache-2.0. Fine-tuned weights © 2026 Consensus Protocol LLC. Not affiliated with xAI.
@misc{gork2026,
title = {Gork-27B-Cybersecurity: A Cybersecurity Fine-tune of Qwen3.8-27B},
author = {Consensus Protocol LLC},
year = {2026},
url = {https://huggingface.co/ConsensusProtocol-Thanos/Gork-27b-Cybersecurity},
note = {Version 0.1 preview}
}
Qwen team for the base model. The Sigma, YARA, MITRE ATT&CK and NVD communities for making defensive knowledge public.
model-00001-of-00002.safetensors 20 GBmodel-00002-of-00002.safetensors 2.9 GBmodel_mtp.safetensors 849 MB