# How I stopped Qwen2.5-Coder-14B from hallucinating UI & workflows by pairing it with a deterministic C# ValidationResolver (running on a single 24GB A10) — retained record

> Retained reddit record from reddit:LocalLLaMA.

Canonical: https://highsignal.app/data/records/632b198ca1438cc3

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:LocalLLaMA)  published 2026-10-26 01:12 ingested 2026-10-27 02:40

[original source ↗](https://www.reddit.com/r/LocalLLaMA/comments/1xfjdss/how_i_stopped_qwen25coder14b_from_hallucinating/)

## retained text



```
Local \`qwen2.5-coder:14b\` on a 24GB NVIDIA A10 generating an enterprise form in real time—without writing a single line of raw HTML or SQL.

To eliminate hallucinations, the model is locked into a strict DSL and every output has to pass a deterministic C# \`ValidationResolver\` (bottom right at 0:10) before the Human-in-the-Loop button unlocks and renders it onto the canvas.

All raw vs. healed outputs are automatically scored and exported as SFT/DPO \`.jsonl\` pairs for future fine-tuning.
```



document fetched 2026-10-27 00:43 · canonical https://reddit.com/r/LocalLLaMA/comments/1xfjdss/how_i_stopped_qwen25coder14b_from_hallucinating
