News for hackers. Stuff that matters.
Re:Reading SEC filings using LLMs by cerved on Wednesday August 02, 2023 @01:35AM (#36967295)
Neat idea!

How do you parse the PDFs?

Re:Reading SEC filings using LLMs by petarb on Wednesday August 02, 2023 @01:51AM (#36967401)
Apache Tika has worked well for me in the past, ended up running it on an AWS Lambda

https://tika.apache.org/

Re:Reading SEC filings using LLMs by nnechm on Wednesday August 02, 2023 @01:56AM (#36967438)
Thanks, will try that.
Re:Reading SEC filings using LLMs by nnechm on Wednesday August 02, 2023 @01:56AM (#36967436)
Pdf parsing was more tedious that I would have liked at this stage so I stuck to the SEC which requires that companies file in a text format :) so that helped.

I used poppler on a digital ocean droplet, but the sheer variety of company pdfs especially european companies, some of which have to be OCRed, meant results were not really uniform. GPT still does very well, but not as well as on text documents directly. So in short, this is next on the list...

Re:Reading SEC filings using LLMs by andylynch on Wednesday August 02, 2023 @04:56AM (#36968605)
Are you pulling out the inline XBRL or taking a different approach? I'm curious to hear others' practical experience with it good or bad.
Re:Reading SEC filings using LLMs by nnechm on Wednesday August 02, 2023 @04:57AM (#36968612)
I am not using inline XBRL, instead relying on gpt's ability to read tables.
Re:Reading SEC filings using LLMs by unparagoned on Thursday August 03, 2023 @01:54PM (#36989311)
How exactly do you do that. Are you passing the raw HTML, or just the extracted text?
Re:Reading SEC filings using LLMs by yawnxyz on Wednesday August 02, 2023 @03:42AM (#36968115)
I have a tool that applies LLMs to abstracts and research papers — @opendocsg/pdf2md on Node / Sveltekit has been really good for me
Re:Reading SEC filings using LLMs by nnechm on Wednesday August 02, 2023 @03:44AM (#36968128)
Thanks ! It's really interesting to see how LLMs have now brought back projects that were last updated years ago back into the limelight :)