I ran a survey on Twitter over the past few days asking for successful case studies that produced economically valuable results from fine-tuning LLMs. I ask a version of this every six months or so, and usually the results are quite disappointing. This time I had more credible replies than I have had in the past. Here's my thread with highlights: https://twitter.com/simonw/status/1979254349235925084 And in a thread v…
The case for the return of fine-tuning
51–60 of 85 posts
Re: The case for the return of fine-tuning
#52Earlier quoted context omitted.
> How can you hire enough people to scale that while making the economics work? Once you (as in you the person) have the expertise, what you need all the people for exactly? To fine-tuning you need to figure out the architecture, how to train, how to infer, pick together the dataset and then run the training (optionally setup a pipeline so the customer can run the "add more data -> train" process themselves). What in…
llm.finetune(data) is a leaky abstraction Read Andrej’s blog that I linked earlier in the thread if you want to understand why.
Re: The case for the return of fine-tuning
#53I go back and forth on this. A year ago, I was optimistic and I have had 1 case where RL fine tuning a model made sense. But while there are pockets of that, there is a clash with existing industry skills. I work with a lot of machine learning engineers and data scientists and here’s what I observe. - many, if not most MLEs that got started after LLMs do not generally know anything about machine learning. For lack of…
Re: The case for the return of fine-tuning
#54I ran a survey on Twitter over the past few days asking for successful case studies that produced economically valuable results from fine-tuning LLMs. I ask a version of this every six months or so, and usually the results are quite disappointing. This time I had more credible replies than I have had in the past. Here's my thread with highlights: https://twitter.com/simonw/status/1979254349235925084 And in a thread v…
Many ppl think to fine tune an LLM on domain knowledge means to feed it chunked text of, say, psychology books. That is, of course, a wrong application if your goal is for the model to become an expert psychologist. You want the behavior of applying psychology, but you are training the behavior to write about it. TL;DR, many fine tuning fails are due to wrong dataset curation. On the orher hand, if yiu get the datase…
Re: The case for the return of fine-tuning
#55Earlier quoted context omitted.
Will Anthropic/OpenAI really hire anyone who can fine-tune an LLM?
They will hire anyone who can produce a model better than GPT5, which is the bar for fine tuning Otherwise, you should just use gpt5 Preparing a few thousands training examples and pressing fine tune can improve the base LLM in a few situations, but it also can make the LLM worse at other tasks in hard to understand ways that only show up in production because you didn’t build evals that are good enough to catch them…
The problem is easily avoided by not using it for other tasks.
Re: The case for the return of fine-tuning
#56I go back and forth on this. A year ago, I was optimistic and I have had 1 case where RL fine tuning a model made sense. But while there are pockets of that, there is a clash with existing industry skills. I work with a lot of machine learning engineers and data scientists and here’s what I observe. - many, if not most MLEs that got started after LLMs do not generally know anything about machine learning. For lack of…
I have avoided fine tuning because the models are currently improving at a rate that exceeds big corporate product development velocity.
Re: The case for the return of fine-tuning
#57Earlier quoted context omitted.
Many ppl think to fine tune an LLM on domain knowledge means to feed it chunked text of, say, psychology books. That is, of course, a wrong application if your goal is for the model to become an expert psychologist. You want the behavior of applying psychology, but you are training the behavior to write about it. TL;DR, many fine tuning fails are due to wrong dataset curation. On the orher hand, if yiu get the datase…
Transfer learning is a thing. But the issue with the gap is that the datasets for "applying X" aren't easy to come by.
I'm including things like RL metrics as data here, for lack of a better umbrella term, though the number of proposed projects that I've seen that decided that ongoing evaluation of actual effectiveness was a distraction from the more important task of having expensive engineers make expensive servers into expensive heatsinks is maddening.
Re: The case for the return of fine-tuning
#58Earlier quoted context omitted.
They will hire anyone who can produce a model better than GPT5, which is the bar for fine tuning Otherwise, you should just use gpt5 Preparing a few thousands training examples and pressing fine tune can improve the base LLM in a few situations, but it also can make the LLM worse at other tasks in hard to understand ways that only show up in production because you didn’t build evals that are good enough to catch them…
> but it also can make the LLM worse at other tasks The problem is easily avoided by not using it for other tasks.
This is a reason why general purpose models shine. You don’t have to carefully characterize a task and put guard rails around it.
Re: The case for the return of fine-tuning
#59Earlier quoted context omitted.
They will hire anyone who can produce a model better than GPT5, which is the bar for fine tuning Otherwise, you should just use gpt5 Preparing a few thousands training examples and pressing fine tune can improve the base LLM in a few situations, but it also can make the LLM worse at other tasks in hard to understand ways that only show up in production because you didn’t build evals that are good enough to catch them…
> They will hire anyone who can produce a model better than GPT5, which is the bar for fine tuning Depends on what you want to achieve, of course, but I see fine-tuning at the current point in time primarily as a cost-saving measure: Transfer GPT5-levels of skill onto a smaller model, where inference is then faster/cheaper to run. This of course slows down your innovation cycle, which is why generally this is imo not…
But a recent trend that cut into the cost savings is that foundation model companies have started releasing small models. So you can build a use case with qwen 235B, then shrink down to 30B, or even all the way down to 0.6B if you really want to.
The smaller models lose some accuracy, but some use cases are solvable even by these smaller and much more efficient models.
Re: The case for the return of fine-tuning
#60Earlier quoted context omitted.
llm.finetune(data) is a leaky abstraction Read Andrej’s blog that I linked earlier in the thread if you want to understand why.
If it works it works? :shrug:
Debugging requires knowing some small detail about your data distribution or how you did gradient clipping which take time and painstakingly detailed experiments to uncover.