Why do local LLMs keep breaking JSON output? Reddit weighs fixes from JSON mode to constrained decoding
nomadrone · reddit · 2026-11-26
A local-LLM user vents about a persistent pain point: models understand the task and return the right content, but mangle the JSON — extra sentences, missing fields, parser-breaking output — which is painful in real workflows.
The thread surveys the common mitigation paths and asks for community experience: prompt instructions, JSON mode, constrained decoding, or validate-and-retry pipelines. It also asks whether smaller models are notably worse at structured output and whether any small local model is surprisingly reliable.
More from Infra
- Polymarket launches 24/7 perpetual futures on H100 GPU hourly rental price — Polymarket · 2026-11-26
- Hardwood runs nightly Parquet benchmarks with Apache Otava change-point detection to catch regressions — blaizedsouza · 2026-11-26
- andashi turns one GrapheneOS Pixel into six isolated phones via declarative config — rschu · 2026-11-26
- Zhipu denies GLM-5.5 delay: December launch, pretraining on 10,000-card 950DT cluster — MagicZhang · 2026-11-26
- HF Kernel Hub hits 649 kernels, enabling near-llamacpp perf and 180B SOTA runs — LysandreJik · 2026-11-26
- FCC clears SpaceX to deploy up to 1 million satellites for orbital AI data centers — The Decoder · 2026-11-26