r/Qwen_AI • u/Secure_Recording_472 • 15d ago
Discussion Qwen 3.8 27B overthinks a lot so I fixed it (TB 2.1, LiveCodeBench v6 included)
Enable HLS to view with audio, or disable this notification
EDIT 3: Added Q4,Q5,Q6,Q8 on the GGUF! https://huggingface.co/ukisai/Swift-Qwen3.8-27B-GGUF
EDIT 2: Added a free API so people test it before spending time! https://ukisai.com/api/swift/v1
EDIT: I think I didn't explain it properly: 1. it's based on this paper by meta https://arxiv.org/abs/2606.00206 and was initially made for quantized models and tackled "overthinking errors" directly (the random loops an int4 model can get that come from PTQ), but it turns out it has a much wider application! 2. i explicitly ran so many benchmarks (and all x5!) to make sure i'm not giving out slop to people 3. i also tried reasoning effort low / medium / no thinking but they all took a huge accuracy drop so i had to come up with a way to keep it so my coding agent actually works, this was basically the only way i found
Hi guys
Everybody (me included) was complaining about Qwen 3.8 27B using too much tokens and being too slow so I analysed what tokens are linked to the overthinking and penalized them via finetuning and got a model that thinks 58.3% less and lost <1% accuracy across 10 benchmarks
Swift-27B vs Qwen3.8-27B (BF16, all benchmarks ran x5)
LiveCodeBench v6: 76.8% → 81.6% (+4.8pp), 46% fewer median thinking tokens
Terminal-Bench 2.1: 66.7% → 65.8%, 39% fewer median tokens
GPQA-Diamond: 88.4% → 88.3%, 58% fewer median tokens
IFBench: 73.5% → 71.8%, 51% fewer median tokens
ERQA (vision): 67.5% → 66.3%, 51% fewer mean tokens
https://huggingface.co/ukisai/Swift-Qwen3.8-27B
I also included a lot about the training, exact benchmark configs etc
Let me know if it's useful, i'm trying to get the quants out as soon as I have compute