All it does is send the image to Llama 3.2 Vision and ask for it to read the text. Note that this is just as open to hallucination as any other LLM output, because what it is doing is not reading the pixels looking for text characters, but describing the picture, which uses the images it trained on and their captions to determine what the text is. It may completely make up words, especially if it can't read them.
Llama-OCR: Document to Markdown
11–20 of 104 posts
Re: Llama-OCR: Document to Markdown
#12Re: Llama-OCR: Document to Markdown
#13All it does is send the image to Llama 3.2 Vision and ask for it to read the text. Note that this is just as open to hallucination as any other LLM output, because what it is doing is not reading the pixels looking for text characters, but describing the picture, which uses the images it trained on and their captions to determine what the text is. It may completely make up words, especially if it can't read them.
This is also true for any other OCR system, we just never called these errors “hallucinations” in this context.
Re: Llama-OCR: Document to Markdown
#14Looks awesome! Been doing a lot of OCR recently, and love the addition to the space. The reigning champion in the PDF -> Markdown space (AFAIK) is Facebook's Nougat[1], and I'm excited to hook this up to DSPy and see which works better for philosophy books. This repo links the Zerox[2] project by some startup, which also looks awesome , and certainly more smoothly advertised than Nougat. Would love corrections/advice…
Re: Llama-OCR: Document to Markdown
#15Re: Llama-OCR: Document to Markdown
#16Re: Llama-OCR: Document to Markdown
#17This seems worse. Sometimes it replies with just the text, sometimes it replies with a full "The image is a scanned document with handwritten text...". I was hoping for some fine tuning or something for it to beat Gemini Flash, it would save me a lot of time. :(
Re: Llama-OCR: Document to Markdown
#18I've been doing a lot of OCR recently, mostly digitising text from family photos. Normal OCR models are terrible at it, LLMs do far better. Gemini Flash came out on top from the models I tested and it wasn't even close. It still had enough failures and hallucinations to make it faster to write it in by hand. Annoying considering how close it feels to working. This seems worse. Sometimes it replies with just the text,…
For Normal models, the state of Open Source OCR is pretty terrible. Unfortunately, the closed options from Microsoft, Google etc are much better. Did you try those ?
Interesting about Flash, what LLMs did you test ?
Re: Llama-OCR: Document to Markdown
#19All it does is send the image to Llama 3.2 Vision and ask for it to read the text. Note that this is just as open to hallucination as any other LLM output, because what it is doing is not reading the pixels looking for text characters, but describing the picture, which uses the images it trained on and their captions to determine what the text is. It may completely make up words, especially if it can't read them.
This is also true for any other OCR system, we just never called these errors “hallucinations” in this context.