RAG sucks. Microsoft is the force behind it because they don't allow training on their chatgpt models. Fine-tuning even Lora on the open source models is nearly always better than these other approaches
RAG is the ONLY way to make sure you models are keeping true to facts and source material. Fine-tuning a model before using RAG helps with shaping the style of the summary, and gravitating towards more important facts presented.
You probably don’t need to fine-tune an LLM
31–40 of 75 posts
Re: You probably don’t need to fine-tune an LLM
#32Future LLMs are likely to have much smaller size and have outside long term memory/training knowledge as well as work memory (a'la RAG approach).
Re: You probably don’t need to fine-tune an LLM
#33RAG sucks. Microsoft is the force behind it because they don't allow training on their chatgpt models. Fine-tuning even Lora on the open source models is nearly always better than these other approaches
Re: You probably don’t need to fine-tune an LLM
#34Re: You probably don’t need to fine-tune an LLM
#35One of the main problems with LLMs today is they are gigantic, and this is because they are shipping the entire compressed memry of the training data with them. Future LLMs are likely to have much smaller size and have outside long term memory/training knowledge as well as work memory (a'la RAG approach).
Re: You probably don’t need to fine-tune an LLM
#36Finetuned Palm for Medicine and Finetuned Minerva for Math all perform a good deal worse than GPT-4.
A fine-tuned smaller model is by no means guaranteed to beat a larger more general one (though of course you may get acceptable performance).
And then the necessity of fine-tuning itself is called into question plenty with LLMs.
https://huggingface.co/papers/2308.00304
Re: You probably don’t need to fine-tune an LLM
#37I agree with summary. When I first wanted to tackle a hard problem I thought to reach for fine-tuning with lots of input and output pairs, but it wasn't needed. Past few shot and RAG, you can overcome context window limits if you find ways to break a single request into many, each with specific context and then roll them up somehow. This can help get past context window limits. Claude 2 has a large context window, bu…
How much do you make use of Claude's large context window, and has it helped? Or did you basically revert back to small context size + multiple steps?
Re: You probably don’t need to fine-tune an LLM
#38I tried finetuning the 13b LLaMa model to insert the knowledge from my own documents, but my experiments weren't successful. My conclusion is that you need billions of tokens to make a LLM reason based on your own dataset. And even if they did acquire these reasoning skills, they probably wouldn't beat GPT-4. And we are not even getting into the costs of self-hosting these LLM's. So why bother? Just use an API from t…
Did you try a Retrieval Augmented Generation (RAG) approach? If so, what made you give it up in favor of fine-tuning?
But I am very impressed with GPT-4's abilities in finding the correct answer just by reading those documents, so I think the only problem still enduring is the context window size.
Re: You probably don’t need to fine-tune an LLM
#39“We’ll just fine-tune based on our (we think valuable + special) data”
Fine-tuning doesn’t enhance the model w/ new “knowledge” but a new narrowly-defined task
One other “cost” to consider is fine-tuning a 3rd-party model means if that foundation model changes or goes away that effort/cost needs to be repeated