Better HN
topnewbestaskshowjobs
Log inSign up

themadmedic

5 karma · joined May 30, 2022 (4y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

I OCR’d all my PDFs separately, then used FAISS with all-MiniLM-L12-v2 to generate embeddings and vectors. After that, I wrote a separate Python script using Tkinter that acts as my search “GUI.” It takes natural language input, creates an embedding, and queries the FAISS output. It can send the results and an extract to a local LLM (i host it using llama.cpp), which re-ranks them and provides a justification for the ranking.

I wouldn't call it plug and play the actual scripting took me about a weekend, and creating the embeddings took several hours on my Mac but the results have been great.

comment 3y ago · link · parent

I just finished The Innovators by Walter Isaacson (https://en.wikipedia.org/wiki/The_Innovators_(book)), definitely more on the pop side of things but found it interesting and introduced me to people and topics I was able to research further on my own.