Re:Show HN: Factual AI Q&A – Answers based on Huberman Lab t...
by rohit89 on Sunday December 18, 2022 @11:57AM
(#34039580)
Did you use the sentence-transformers model as-is or did you need to fine-tune it for medical data?
Re:Show HN: Factual AI Q&A – Answers based on Huberman Lab t...
by jonathan-adly on Sunday December 18, 2022 @08:21PM
(#34046961)
As is.. all it’s doing is pulling relevant context to the question. GPT-3 is doing all the heavy natural language lifting.
Tip - you don’t actually need GPT-3 level embedding for a decent semantic search. Sentence transformers paired with one of their models is good enough.
I like this: https://huggingface.co/sentence-transformers/multi-qa-MiniLM... - since it’s very light.
Also, perhaps I am an idiot but I just used Postgres array field to store my embeddings array to keep things simple and free.