News for hackers. Stuff that matters.
Re:Large language models are having their Stable Diffusion m... by bishes on Saturday March 11, 2023 @08:26PM (#35115241)
There are already solutions to this kind of problem. Using embeddings to store semantic meaning -> query the vector database with a question -> use extractive q/a models to get relevant context -> using a Reader model to generate answers based on the context from the document.

just checkout Haystack tutorials. I started looking into it after getting introduced to the concept by articles mentioning OpenAI embeddings and GPT 3 api, but it can be done using open source models.

Re:Large language models are having their Stable Diffusion m... by jerpint on Saturday March 11, 2023 @08:30PM (#35115279)
You can checkout our library too which does just that :)

https://github.com/jerpint/buster

Re:Large language models are having their Stable Diffusion m... by emptysongglass on Sunday March 12, 2023 @03:00AM (#35117539)
Is there documentation for feeding your own documentation into it?
Re:Large language models are having their Stable Diffusion m... by jerpint on Tuesday March 14, 2023 @11:28PM (#35163454)
We will be adding that soon
Re:Large language models are having their Stable Diffusion m... by fzliu on Saturday March 11, 2023 @09:17PM (#35115675)
Would like to bring up LangChain as well : https://langchain.readthedocs.io/en/latest/. We recently integrated Milvus (https://milvus.io) into LangChain, so you'll be able to store and process billions of documents.
Re:Large language models are having their Stable Diffusion m... by bishes on Saturday March 11, 2023 @09:26PM (#35115751)
I used Haystack due to the readily available colab notebook[1] for their tutorials. I wanted to feed my own text corpus to it, and that was the fastest way available.

Langchain docs are helpful, and it would be even better if you published an end-to-end notebook using a popular dataset. Definitely looking forward to try langchain as I dive deeper into this.

1. https://haystack.deepset.ai/blog/how-to-build-a-semantic-sea...

Re:Large language models are having their Stable Diffusion m... by netsroht on Sunday March 12, 2023 @03:40AM (#35117753)
I use this method to answer questions about historic and real-time social media comments.

https://foretale.io/toolbox/Social_Media_QA