Re:Parsing PDFs (and more) in Elixir using Rust
by cpursley on Wednesday January 29, 2025 @05:41PM
(#42872229)
Well derp, I should have read the linked extractous repo. This looks like the extract solution I've been after (see what I did there).
Re:Parsing PDFs (and more) in Elixir using Rust
by bustylasercanon on Wednesday January 29, 2025 @06:00PM
(#42872432)
Yeah I could maybe highlight how good that library is in here
Re:Parsing PDFs (and more) in Elixir using Rust
by vikp on Wednesday January 29, 2025 @05:51PM
(#42872335)
Hey, I'm the author of marker - thanks for sharing. Most of the processing time is model inference right now. I've been retraining some models lately onto new architectures to improve speed (layout, tables, LaTeX OCR).
We recently integrated gemini flash (via the --use_llm flag), which maybe moves us towards the "hybrid system" you mentioned. Hoping to add support for other APIs soon, but focusing on improving quality/speed now.
Happy to chat if anyone wants to talk about the difficulties of parsing PDFs, or has feedback - email in profile.
Re:Parsing PDFs (and more) in Elixir using Rust
by cpursley on Wednesday January 29, 2025 @06:01PM
(#42872446)
Very cool, any plans for a dockerized API of marker similar to what Unstructured released? I know you have a very attractively priced serverless offering (https://www.datalab.to) but having something to develop against locally would be great (for those of us not in the Python world).
Re:Parsing PDFs (and more) in Elixir using Rust
by vikp on Wednesday January 29, 2025 @07:08PM
(#42873120)
It's on the list to build - been focusing on quality pretty heavily lately.
Re:Parsing PDFs (and more) in Elixir using Rust
by constantinum on Wednesday January 29, 2025 @09:21PM
(#42874064)
For instace Llamaparse(https://docs.llamaindex.ai/en/stable/llama_cloud/llama_parse...)uses LLMs for pdf text extraction, but the problem is hallucination. e.g > https://github.com/run-llama/llama_parse/issues/420
There is also LLMWhisperer that preserves the layout(tables, checkboxes, forms)and hence the context. https://pg.llmwhisperer.unstract.com/
Re:Parsing PDFs (and more) in Elixir using Rust
by cpursley on Thursday January 30, 2025 @07:38AM
(#42877194)
Is this open source? Is it slow Python? That's where I'm stuck.
Re:Parsing PDFs (and more) in Elixir using Rust
by constantinum on Friday January 31, 2025 @01:28PM
(#42890206)
This is not open-source. It has high accuracy and it is faster too. All you need is to point your documents to the API.
- https://github.com/Unstructured-IO/unstructured
- https://github.com/VikParuchuri/marker