File size: 1,066 Bytes
5e686cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
license: apache-2.0
tags:
  - krystalmind
  - qwen3
  - routing
  - pharma-crm
  - json-planner
base_model: Qwen/Qwen3-0.6B-Instruct
---

# KrystalMind Cortex (0.6B JSON Planner)

Structured JSON action planner for the L4 intelligence pipeline. Routes divergence signals to appropriate data sources.

## Architecture
- **Base**: Qwen3-0.6B-Instruct (28 layers, d_model=1024, 16Q/8KV heads)
- **LoRA SFT**: rank=16, scale=1.0, 1000 iters on routing_sft_v1 (14,836 examples)
- **Output**: Structured JSON plan (db_queries, ecs_metrics, ssm_context, simulation)
- **Decoding**: Greedy (T=0.0) with JSON-aware brace-depth stop

## Files
- `krystalball_cortex.kb` — Baked production model (571 MB, FP32)
- `fused/model.safetensors` — Full fused Qwen3-0.6B + LoRA (1.1 GB)
- `adapters/adapters.safetensors` — LoRA adapters only (10 MB)
- `tokenizer.json` — Qwen3 tokenizer

## Performance
- **INT8**: ~86 tok/s, **BF16**: ~53 tok/s
- **Typical plan**: 150 tokens greedy @ ~1.75s
- **3-tier parse robustness**: Direct JSON → repair → deterministic fallback