bebrws commited on
Commit
a5fc69d
Β·
verified Β·
1 Parent(s): f0ad107

model card update for k3-sec-8b-v5 (branch main)

Browse files
Files changed (1) hide show
  1. README.md +12 -9
README.md CHANGED
@@ -4,10 +4,10 @@ base_model: Qwen/Qwen3-8B
4
  tags: [cybersecurity, agentic, red-team, blue-team, distillation, glm-5.2, kimi-k3]
5
  ---
6
 
7
- # k3-sec-8b (v4)
8
 
9
  An 8B cybersecurity agent (offense + defense) fine-tuned from `Qwen/Qwen3-8B` on
10
- **699 verified agentic + Q&A traces**, distilled from GLM-5.2 (round 4) and Kimi K3/K2.6
11
  (rounds 1–3). Trained to operate an autonomous security harness β€” plan, run bash, read
12
  observations, write files, finish β€” not just answer security questions.
13
 
@@ -15,21 +15,23 @@ Pipeline per iteration: failure analysis on eval traces β†’ parameterized, decon
15
  seed factory β†’ teacher best-of-3 rejection-sampled agentic transcripts (judged +
16
  artifact-checked) β†’ full-FT SFT β†’ multi-run attack/defend eval β†’ next round.
17
 
18
- ## Version 4 highlights
19
 
20
- - **Data**: 699 unique rows (605 agentic harness transcripts + 94 Q&A). Round 4 added
 
21
  564 GLM-5.2 traces targeting the five v3 tasks that never passed, generated from 580
22
  parameterized seeds with decontamination-by-construction (every eval-graded string is
23
  blacklisted and asserted absent). Best-of-3 rejection with a glm-4.7-flash judge
24
  (kept 97%). Note: v3's advertised 157 rows contained only 135 unique after legacy
25
  merge duplicates; v4 is a genuine 5.2Γ— data increase.
26
  - **Training**: full FT bf16, 2 epochs, lr 1e-5 cosine, eff. batch 32, seq 8192,
27
- adamw_8bit, 5.37M tokens, ~42 min on 1Γ— A100-80GB. **train_loss 0.977 Β· token-acc
28
- 80.0%** (v3: 1.395 / 69.1%). Ships with Qwen3 YaRN `rope_scaling` for 131072-token
29
  serving.
30
  - **Eval** (fixed 10-task synthetic attack/defend lab, agentic harness, 3 runs):
31
- **mean 6.67/10** (runs: 9, 6, 5) vs v3 mean 4.0/10 (4 runs). Peak run met the
32
- promotion gate (β‰₯8/10, both sides β‰₯4/5) once in three.
 
33
 
34
  ### Per-task pass rates (P across runs)
35
 
@@ -80,7 +82,8 @@ competence is deliberately scoped to CTF/lab-grade tasks.
80
  | v1 | 135 traces | 4/10 single | first 8B run |
81
  | v2 | 149 traces | 6/10 single | failure-targeted r2 |
82
  | v3 | 157 (135 unique) | 4.0/10 (4 runs) | parser-fixed harness baseline |
83
- | **v4** | **699** | **6.67/10 (3 runs)** | GLM-5.2 scale-up, jwt fixed |
 
84
 
85
  Weights are Apache-2.0 per the Qwen3 base; training traces were generated by GLM-5.2
86
  and Kimi teachers and filtered by automated judging.
 
4
  tags: [cybersecurity, agentic, red-team, blue-team, distillation, glm-5.2, kimi-k3]
5
  ---
6
 
7
+ # k3-sec-8b (v5)
8
 
9
  An 8B cybersecurity agent (offense + defense) fine-tuned from `Qwen/Qwen3-8B` on
10
+ **891 verified agentic + Q&A traces**, distilled from GLM-5.2 (round 4) and Kimi K3/K2.6
11
  (rounds 1–3). Trained to operate an autonomous security harness β€” plan, run bash, read
12
  observations, write files, finish β€” not just answer security questions.
13
 
 
15
  seed factory β†’ teacher best-of-3 rejection-sampled agentic transcripts (judged +
16
  artifact-checked) β†’ full-FT SFT β†’ multi-run attack/defend eval β†’ next round.
17
 
18
+ ## Version 5 highlights
19
 
20
+ - **Data**: 891 unique rows (797 agentic + 94 Q&A). Round 5 added 192 traces (80 targeting
21
+ sqli live-fuzzing temptation-resistance). Round 4 added
22
  564 GLM-5.2 traces targeting the five v3 tasks that never passed, generated from 580
23
  parameterized seeds with decontamination-by-construction (every eval-graded string is
24
  blacklisted and asserted absent). Best-of-3 rejection with a glm-4.7-flash judge
25
  (kept 97%). Note: v3's advertised 157 rows contained only 135 unique after legacy
26
  merge duplicates; v4 is a genuine 5.2Γ— data increase.
27
  - **Training**: full FT bf16, 2 epochs, lr 1e-5 cosine, eff. batch 32, seq 8192,
28
+ adamw_8bit, 5.37M tokens, ~42 min on 1Γ— A100-80GB. **train_loss 0.881 Β· token-acc
29
+ 82.4%** (v4: 0.977 / 80.0%, v3: 1.395 / 69.1%). Ships with Qwen3 YaRN `rope_scaling` for 131072-token
30
  serving.
31
  - **Eval** (fixed 10-task synthetic attack/defend lab, agentic harness, 3 runs):
32
+ **mean 6.67/10** (runs: 4, 8, 8) vs v3 mean 4.0/10 (4 runs). Two of three runs hit
33
+ the gate score of 8/10; `atk-sqli` passed for the first time ever (v5b) after
34
+ temptation-resistance training.
35
 
36
  ### Per-task pass rates (P across runs)
37
 
 
82
  | v1 | 135 traces | 4/10 single | first 8B run |
83
  | v2 | 149 traces | 6/10 single | failure-targeted r2 |
84
  | v3 | 157 (135 unique) | 4.0/10 (4 runs) | parser-fixed harness baseline |
85
+ | v4 | 699 | 6.67/10 (3 runs) | GLM-5.2 scale-up, jwt fixed |
86
+ | **v5** | **891** | **6.67/10 (3 runs: 4,8,8)** | sqli breakthrough, ioc fixed; harden regressed (newline stripping) |
87
 
88
  Weights are Apache-2.0 per the Qwen3 base; training traces were generated by GLM-5.2
89
  and Kimi teachers and filtered by automated judging.