Explore the research collection
2 entries · Follow this search
- Post
Improving Qwen3.8-27B-Medium on DeepSWE with GRPO: 500-task SWE agent dataset experiment (AfterQuery)
AfterQuery's internal post-training team trained Qwen3.8-27B (medium reasoning) with GRPO on 500 tasks from their SWE agent training dataset and reports DeepSWE pass@1 (avg of 3 attempts) rising from 27.8% to 39.1% (+11.3 points) over 15 GRPO updates. The dataset spans 10,000+ tasks authored by experienced software engineers and open-source contributors with expert review, built from real workflows in private enterprise codebases to avoid evaluation contamination; the 500-task subset was chosen in a 'learnable distribution' across 422 repos (Python 39.4%, TypeScript 24.2%, Go 20.4%, Rust 13.8%, JavaScript 2.2%) with 80.4% feature requests, 11.6% bug fixes, 8.0% enhancements. Training: 8 attempts per task, GRPO updating all LM parameters on each attempt's reward relative to the group, medium reasoning to speed rollouts; mean shaped reward rose 0.570 to 0.856 over 15 updates (each update a new batch of tasks), entropy held 0.509-0.605 nats/token with no sustained decline. Same-harness evals (mini-swe-agent, medium reasoning): DeepSWE pass@3 51.3%->68.1%; Terminal-Bench 2.1 pass@1 57.30%->61.42%, pass@3 73.03%->75.28%; SWE-Bench-Pro (Hard) pass@1 61.44%->64.71%, pass@6 flat at 88.24%.
- Model
Kev 1.0: Open-Weight Family of Decision Models (Kev-27B, Kev-9B, Kev-4B, Kev-0.8B)
Kev 1.0 is a family of four open-weight (Apache-2.0) 'decision models' — Kev-27B (new), Kev-9B (updated), Kev-4B, and Kev-0.8B — built on Qwen3.5/3.8 backbones. Each model adds a pointer head that scores user-supplied answer options (yes/no, multiple choice, ordered scales) and returns calibrated probabilities per answer, instead of generating text: the document is processed once and cached, and every question branches off that single read via <decide> tokens. The interface matches TypeSafe's Jev API, so TypeSafe SDK apps can switch by changing endpoint and model name. Kev-27B is a full fine-tune of the Qwen3.8-27B post-trained text backbone on ~146k records / 337k questions (documents up to 32k tokens; 64k-token document window), blending 85% of the new fine-tune with 15% of the previous prerelease checkpoint; the smaller models use Qwen3.5 backbones with LoRA adapters. Weights are on Hugging Face, code and a GPU/Apple-Silicon (MLX) server are on GitHub, and agent skills (kev-finetune, kev-deploy) package fine-tuning on your own data and deployment to Modal.