You 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…
Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
191–200 of 247 posts
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#192You 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…
Has anyone tried using an LLM for the retrieval stage? Instead of using vector embeddings, have a (small, fast) LLM literally scan the entire corpus in chunks extracting relevant sections?
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#193You 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?
#194Run https://github.com/imartinez/privateGPT Then make ingest /path/to/folder/with/files Then chat to the LLM. Done. Docs: https://docs.privategpt.dev/overview/welcome/quickstart
I've tried LocalGPT, PrivateGPT, and H2OGPT. Have you been satisfied with the responses you get from PrivateGPT? When I tried it, it seemed very shallow/cursory in its responses. I saw much more detailed and complete responses when trying H2OGPT.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#195The conventional approach is suitable for software engineer where they may not be less familiar with AI. The configurable approach is suitable for ML engineer where they have sophisticated uses and would want to configure chunking, indexing and retrieval strategies.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#196how to run a local llm model for RAG apps. Retrieval documents are turkish. But ı would to analyze this documents with llm. But ı have not a turkish local llm. How to solve this problem. Out of fine-tune and training.
If the LLM you use supports Turkish (I am pretty sure chatgpt does) then the language doesn’t matter. Augment the Generation by Retrieving turkish documents / snippets.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#197Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#198Earlier quoted context omitted.
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...
Not a joke. Without more specifics, doesn't sound like LLMs are what you need/want.
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#199As others have said you want RAG. The most feature complete implementation I've seen is h2ogpt[0] (not affiliated). The code is kind of a mess (most of the logic is in an ~8000 line python file) but it supports ingestion of everything from YouTube videos to docx, pdf, etc - either offline or from the web interface. It uses langchain and a ton of additional open source libraries under the hood. It can run directly on…
Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
#200Earlier quoted context omitted.
Not true.
Huh? Obviously true. You can not have tried it.