Defense Lawyer Runs Qwen3 Locally for Classified Files, Faces Hallucinations

Logical-Charge8760 · reddit · 2026-07-06

A Brazilian criminal defense lawyer, unable to use cloud APIs due to case confidentiality, deployed Qwen3 35B-A3B (MoE) via llama.cpp on an RTX 4060 (8GB VRAM) + 32GB RAM laptop for legal document adaptation. However, the model frequently hallucinated legal citations with high confidence.

The workflow involved selecting the closest template from a historical document archive, prompting the model to replace factual details, remove inapplicable sections, and preserve legal reasoning and citations. The lawyer is seeking advice on grounding, model selection, and RAG pipeline improvements,while noting that Brazilian Portuguese legal texts pose an additional challenge for small models.

Original post →

More from Infra

Infra channel →