Qwen 27B Hallucinates 90% of Domain-Specific Code, Developer Reports

JustinPooDough · reddit · 2026-09-15

A developer running Qwen 27B locally at Q8/BF16 (50 tok/s) reports hallucinated classes and APIs in over 90% of answers on his enterprise Java domain, while DeepSeek and Microsoft Copilot deliver working code on the first try 99% of the time.

He suspects Qwen is optimized for agentic use rather than retaining domain knowledge in its weights, and asks for harness/system-prompt/retrieval strategies to curb hallucinations — a datapoint that general models still lag badly on niche vertical knowledge.

Original post →

More from Models

Models channel →