Live data from Hacker News

Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

news.ycombinator.com

241–247 of 247 posts

Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

#241
post #201

Earlier quoted context omitted.

LlamaIndex lets you attach metadata to Nodes which are basically chunks, although that fact is poorly documented! Will fix.

Thanks! Even with a better documentation, document importers don't extract node metadata so one needs to write their own "text and metadata extractor" as well. It's then easier to skip LlamaIndex altogether, or just get inspiration from some re-ranking etc. you guys did.

can you elaborate please

Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

#242
post #169

Earlier quoted context omitted.

Not a joke. Without more specifics, doesn't sound like LLMs are what you need/want.

Thanks for wasting my time. I ask about fine tuning llama or mixtral and he answers with a nonsense, telling me that I don't want what I want.

No, you asked for a document completer, and got a suggestion. You're behaving like a typical XY problem asker, and getting angry when you don't get the answer you want. And they hardly "wasted your time", it took you maybe all of 10 seconds to read their comment trying to help you. What a weird behavior from you.

https://xyproblem.info/

Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

#243
post #5

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…

[dead]

Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

#244
post #174
post #8

Earlier quoted context omitted.

Are there public examples of working products using RAG, compared with fine-tuning or training from scratch?

Not public but internally I wrote a tool to help us respond to RFPs. You pass in a question from a new RFP and it outputs surprisingly great answers most of the time. Is writing 75%+ of our RFP responses now (naturally we review and adjust sometimes and as needed). And best of all it was very quickly hacked together and it’s actually useful. Copied questions/answers from all previous ones into a doc, and am using Ope…

[deleted]

Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

#245
Hello,

I am currently working on a demo use-case to generate documents, and I intend to feed a few documents as sample. E.g., Say a leasing documents. Such document will vary by leasing company, state, etc. so there is not 1 template.

I do understand that I could create embeddings for each template and then use them to ask ChatGpt to generate documents where certain entities would change. I've setup a basic project but I am stuck at stage where I don't know how to tell ChatGpt that provided documents are sample and it needs to generate similar ones based on prompt engineering.

Re: Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?

#246
post #9

GPT-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.

The chatgtp app says it has a context window of 4096 tokens (gpt 4). How do I get access to turbo?

[deleted]
Post reply on HN