Earlier quoted context omitted.
Some caution here. Not everything needs to go into a RAG pipeline (Eg: a database table would not necessarily need to be embedded, but its schema should be.). There would be a lot of repetitions, lots of junk and useless data, and numerical data and parsing through that would be a pain. Then comes how the users would behave. You need a longer string to get accurate results. Most non tech users would rather write shor…
"Toy" is the wrong word to describe it but it seems like another order of magnitude or two increase in context size will solve all their problems. On the other hand I've got a terabyte of text extracted from LibGen - let's say I can ignore the half that is fiction and I can dedupe the rest further by 80% - that's still 100gb. On top of that I've got 300gb of text extracted from court documents and that's just from Ca…
Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
161–170 of 247 posts
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#162Earlier quoted context omitted.
> I talked to a firm with 70GB worth of data. No way a RAG pipeline would give them results. They are struggling to get LLMs to work for them. Wow so RAG is basically a toy for demos and low effort MVPs. 70GB is tiny, it’d barely qualify as “big data” 20 years ago. Is anyone trying more advanced stuff like knowledge graph augmented generation to try to expand on that?
I have a _small_ e-commerce company and we have >300GB. Most of that bulk is photos and videos though, but in an ideal world I’d like my AI assistant to find that stuff too: “I’m making a Boxing Day ad campaign. Can you show me the ads that we’ve made in previous years and all of the photos that we’ve taken of our new Reindeer and Elf designs?”
You can do something using image embeddings to get what you want.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#163Earlier quoted context omitted.
What is RAG? That's hard to search for
Off Topic; It fascinates me how much variance there is in peoples searching skills. some people think they are talking to a person when searching e.g 'what is the best way that i can {action}' I think the number one trick is to forget grammar and other language niceties and just enter concepts e.g. 'clean car best'
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#164Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#165If you want a simpler task, like training a mistral llama etc on your documents, to act as a document completer , how would you proceed instead? Probably much easier. Thanks
Markov chains, or, if you need to get fancy, Hidden Markov models?
I've seen that there are a lot of approaches, but none that has gained traction, there isn't a clear consensus...
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#166Earlier quoted context omitted.
Ask chatgpt next time. "What is rag in context of AI?"
Or just using a traditional search engine and "rag" plus literally any ML/AI/LLM term will yield a half dozen results at the top with "Retrieval-augmented generation" in the page title.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#167You don't train on documents. There are many startups claiming that but they are deliberately using a misleading term because they know that's what people are searching for. You still do RAG. Llamaindex is still the best option that I know of. Most of the startups that have working products are likely using llamaindex. All of the ones that say they are training on documents are actually using RAG. Test it out. If it…
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#168Earlier quoted context omitted.
It's doable with Amazon Q, but it's in Preview phase now. https://aws.amazon.com/q/
Is Q the answer to this whole thread? People are talking about AWS Bedrock but that seems like something a startup would build upon and offer something like Q, eh?
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#169Earlier quoted context omitted.
Markov chains, or, if you need to get fancy, Hidden Markov models?
Is this a joke? I'd like to fine-tune an existing model, let's say mistral, on a new dataset using (existing tools), I've seen that there are a lot of approaches, but none that has gained traction, there isn't a clear consensus...
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#170Earlier quoted context omitted.
Ask chatgpt next time. "What is rag in context of AI?"
Or just using a traditional search engine and "rag" plus literally any ML/AI/LLM term will yield a half dozen results at the top with "Retrieval-augmented generation" in the page title.