News for hackers. Stuff that matters.

dubbid

Re:PDF to Text, Done Right on Wednesday September 20, 2023 @05:41PM (#37590609)
The idea is to also generally handle scanned documents as well. Besides sometimes text boxes can get very distorted with whitespace such that the boxes look to a computer very different then they do in new life.

In practice, you are right that this would be more efficient in many cases (not scanned, no weird whitespace), but in practice, the cost of OCR is so low compared to the LLM costs and the relative consistency of OCR outputs helps a lot means that I don't try to handle the PDF object extraction.

Re:PDF to Text, Done Right on Tuesday September 19, 2023 @11:00AM (#37570873)
Not quite! This goes one step further to serialize the text for complex layouts in a sensible manner, using a geometry-based approach as specified in the blog post :)
Re:PDF to Text, Done Right on Tuesday September 19, 2023 @10:56AM (#37570828)
An optical-character-recognition- and computer vision-based approach, better then anything else commercially or open-source available.
Re:Game to Jailbreak an LLM on Friday March 24, 2023 @10:40PM (#35298690)
Test your smarts against an LLM with our new game! Convince AI cop, steal 10M safe combo, get Ferrari thief to confess, and more! Test your smarts against an LLM with our new game! Convince AI cop, steal 10M safe combo, get Ferrari thief to confess, and more!
Re:Social Engineer an LLM on Wednesday February 15, 2023 @02:15PM (#34809059)
See if you can get an LLM, Frank, to give you the combination to its safe.