Most of this person's local work is OCR: turning PDFs full of equations and tables into files they can edit.
Setup
On a 9950X3D workstation with 96GB DDR5-6600 and an RTX 5070 Ti, they run Qwen vision models through llama.cpp instead of a small model like Gemma 4 12B, because Gemma regularly misreads small numbers inside equations while the Qwen vision models are more accurate on math and produce LaTeX that survives a real document.
They keep two llama-server configurations:
- Mainline build: Qwen 3.8 27B at 20K context with an 8-bit KV cache, ~1,000-1,100 prefill and 50-52 generation tok/s
- Unsloth fork: a rebuilt Qwen 3.8 Flash Next with MTP speculative decoding at 50K context, 100-120 prefill and 29-32 generation tok/s
The pipeline matters more than the speed
A VBS script calls a Python script that drives LibreOffice and a prompt tuned so LaTeX resolves correctly in both Markdown and Word, letting most document types (including image-only PDFs) come out as editable Markdown and .docx with formulas intact. Easier source material uses a faster hybrid OCR path, with the vision model kept as a safety net.
Reported anonymously by an r/LocalLLM contributor · 1 upvotes at capture
Leave a comment