GUIDE 03 · RTX 4090 BENCHMARK & EVAL
HARDWARE: RTX 4090 24 GB · OLLAMA QWEN2.5:7B · $0.00 EXTERNAL API SPEND

Taking Local Qwen2.5-7B From 0% to 85% Exact Match & 100% Strict JSON on Multi-Hop Extraction

Raw zero-shot small open-weight models rarely fail because they cannot read text; they fail downstream production pipelines due to wrapper keys, uncomputed deltas, and distractor citations.

1. Controlled Before vs After Metrics (n = 20 SEC Multi-Hop Set)

MetricZero-Shot BaselineCalibrated Modelfile + SchemaDelta
Exact Match0.00%85.00%+85.00 pp
Strict JSON Validity0.00%100.00%+100.00 pp
Schema Compliance0.00%100.00%+100.00 pp
Field-Level Accuracy14.00%97.50%+83.50 pp
Citation Recall0.00%100.00%+100.00 pp

2. What Fails in Raw Zero-Shot Prompts (and How We Fixed It)

Notice that 95.00% of baseline outputs parsed cleanly under lenient JSON parsing, yet 0.00% passed strict production schema checks. Models emitted extra wrapper objects ({"metrics": ...}), returned dictionaries inside scalar fields (verdict), and copied *-NOISE-* distractor citation IDs.

Enforcing deterministic temperature 0.0, explicit key contracts, arithmetic delta definitions (margin_delta_bps = round((actual - guidance) * 100)), and strict schema validation before persistence eliminated wrapper drift and raised Citation Recall from 0.00% to 100.00%—giving buyers an objective baseline before investing in custom QLoRA weights and quantized Q4_K_M GGUF builds.