AWS Bedrock is fairly easy. You can do it in 5 or 6 clicks. You have to upload your documents to S3, create a “Knowledge Base” then sync your documents into a vector database like OpenSearch or PineCone. You are then good to go via their playground or the AWS API. I made a video here describing the process, check around 14 minutes in: https://ensembleanalytics.io/blog/introducing-bedrock-knowle... Bedrock is a decent…
How does bedrock satisfy the non-hallucinating requirement?
Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
101–110 of 247 posts
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#102Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#103Earlier quoted context omitted.
What is RAG? That's hard to search for
Ask chatgpt next time. "What is rag in context of AI?"
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#104You 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…
What is RAG? That's hard to search for
or because you want to charge your client the "ai fee".
or because your indexing is so bad you hide it from your user and blame the llm assistant dept.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#105GPT-4 Turbo has a 128K (~300 pages) context window, which probably handles a lot of use cases which might have previously needed extra training/refinement.
Long context length models are still mostly a mirage with the "lost in the middle" phenomenon rearing it's ugly little head on actual production use-cases of this.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#106Easiest is OpenAI assistants api. Use the playground and it’s a no code experience.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#107Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#108Earlier 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?
#109I think the answer depends on how many documents you have. To think in terms of tokens (assuming 750-1000 tokens is a page), if you have a good estimate of number of pages you want to query on, you can decide on the approach. Three popular approaches: 1. RAG: Most popular and works really well on smaller datasets. It is limited by number of vectors/embeddings. A typical embedding could be of 1000 tokens in size. Llam…
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?