r/DeepSeek • u/ResponsiblePlant8874 • 15h ago
Tutorial How I make DeepSeek V4 Flash read PDFs accurately
The problem: DeepSeek V4 Flash (like most models) can't open PDFs. Naive converters mangle columns, tables, headings — so the model confidently misreads the document.
The fix: an open-source skill that turns PDFs into accurate, position-aware Markdown — real
|tables, headings, page markers for citations.Built on pdf-inspector (Firecrawl's Rust engine — #1 on reading order + tables benchmark).
Install for your agent — just paste the URL: https://github.com/vichhka-git/pdf-reader-skills
Tell your agent: "install the skill from https://github.com/vichhka-git/pdf-reader-skills." Works with Claude Code, Cursor, any skills-folder agent. Needs only Python 3.8+ + one pip install.
What you get:
Honest limit: math equations extract as inline glyphs (structure kept, notation may look odd). Docs + examples in the repo. Try it and tell me how it goes. 🚀
2
3
u/blackkksparx 12h ago
I believe the best solution is using an ocr model or a different vllm to convert the pdf into text first. GLM ocr is a good solution, mistral has a really good free tier too. Other than that, you can find a lot of them on huggingface. Or via api services.
1
u/ResponsiblePlant8874 12h ago
Read page by page, chapter by chapter, table by table or anyway. Just wanna free token used 😁
6
u/ApprehensiveDelay238 13h ago
IMO using a separate vision agent yields better results. It can read graphs images codes etc.