hezone/Qwen3.8-27B-Uncensored-CyberSec-RE

Cybersecurity domain-adapted Merged Full BF16 Checkpoint fine-tuned from orcarouter/Qwen3.8-27B-Uncensored (Qwen3_5ForConditionalGeneration, hybrid 48 Gated DeltaNet linear_attn + 16 full self_attn).

Dataset Curation & Attribution

Curated from Vyber07/cyber-security using strict deduplication, double-escape normalization, refusal filtering, prompt-prefix capping, length filtering, and zero-leakage stratified splitting:

  • Train rows: 22676
  • Validation rows: 749
  • Held-out test rows: 1214 (verified 0 prompt-hash overlap with train/val)
  • Sources: 220426-CyberSec-Dataset_escaped.jsonl (unescaped, domain-stratified), vulnerability-intelligence/cybersec_master.jsonl (streamed bucketed reservoir: multi-turn, non-NVD advisories/MITRE/Kali/Code4rena/OSV, informative NVD triage), real_cybersecurity_master_expansion.jsonl, and code_train.jsonl (<think> coding retention anchors).

Training Configuration

  • Precision: Pure BF16 LoRA (no 4-bit quantization noise)
  • LoRA rank / alpha / dropout: r=32, alpha=64, dropout=0.05
  • Targeted modules: Language-model nn.Linear layers only (model.language_model.layers.* — 496 modules across 48 linear_attn, 16 self_attn, 64 mlp; explicitly excluding visual, mtp, conv1d, lm_head, embed_tokens)
  • Learning rate / schedule: 8e-05 cosine with 0.05 warmup
  • Effective batch size / max_seq_len: 32 / 2048 (length-grouped dynamic padding, zero cross-document packing to preserve Gated DeltaNet recurrent state isolation)
  • Loss masking: Assistant-response-only masking (enable_thinking=False masks <think>\n\n</think>\n\n; enable_thinking=True anchor rows supervise <think>...</think> + final answer)
  • Best eval loss / PPL: 0.86748 / 2.3809 (wall clock 19621.31s, peak VRAM 68.55 GB)

Quantitative Benchmark Results

Benchmark / Metric Base (Qwen3.8-27B-Uncensored) Fine-Tuned Delta Rel. Change
Held-Out Loss (overall) ↓ 1.2169 0.8761 -0.3408 -28.00%
Held-Out Perplexity (overall) ↓ 3.377 2.402 -0.9752 -28.88%
CyberMetric-500 Acc (%) ↑ 94.80% 94.80% +0.00 pp +0.00%
CTI-Bench MCQ Acc (%) ↑ 75.60% 74.20% -1.40 pp -1.85%
SecEval Acc (%) ↑ 94.40% 95.60% +1.20 pp +1.27%
SecBench EN Acc (%) ↑ 85.00% 83.00% -2.00 pp -2.35%
SecBench ZH Acc (%) ↑ 93.00% 92.33% -0.67 pp -0.72%
CTI-Bench RCM Exact CWE (%) ↑ 72.00% 72.00% +0.00 pp +0.00%
CTI-Bench VSP CVSS MAE ↓ 0.5000 1.6444 +1.1444 +228.88%
CTI-Bench VSP Severity Tier Acc (%) ↑ 0.67% 42.67% +42.00 pp +6268.66%
Defensive Non-Refusal All (%) ↑ 100.00% 100.00% +0.00 pp +0.00%
Mode Integrity (%) ↑ 40.00% 100.00% +60.00 pp +150.00%

Usage

import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer

model_id = "hezone/Qwen3.8-27B-Uncensored-CyberSec-RE"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map='auto')
Downloads last month
13
Safetensors
Model size
27B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hezone/Qwen3.8-27B-Uncensored-CyberSec-RE

Base model

Qwen/Qwen3.8-27B
Adapter
(6)
this model

Dataset used to train hezone/Qwen3.8-27B-Uncensored-CyberSec-RE