2 ms·
>Could someone explain in simple terms exactly what fine-tuning does? Fine-tuning shows the model examples of sequences it should produce. The model is updated
by tedsanders 3y ago
>Could someone explain in simple terms exactly what fine-tuning does?
Fine-tuning shows the model examples of sequences it should produce. The model is updated to become more likely to produce sequences like those examples. What precisely 'like those examples' means for brand new prompts unlike those in the training distribution is the black magic of generalization.
>Does it show the model how to answer questions, or does it give it new information, or both?
It can be used to teach style, or information, or both.
>Is there a way to restrict answers to the fine-tuned data?
There is no foolproof way to restrict answers to fine-tuned data. You might be able to approach decent performance if you show it examples of refusing on all topics not related to X.
>For example, if one would want to use an LLM to answer questions regarding a large, private knowledge base, would it make sense to fine-tune a model on this knowledge base?
Short answer: I wouldn't recommend fine-tuning. Long answer: it depends on your task, your expertise, and your tolerance for collecting large datasets and iterating. I generally recommend retrieval. Putting info in the input has a few advantages over fine-tuning: you can check where information is coming from, and it's easier for the model to answer without hallucinating (akin to a student taking a test with open notes they can refer to, rather than trying to remember a textbook they read a week ago). Retrieval is best at lookup type questions and is worse at questions requiring comparisons or mixing of many pieces of source data; possible fine-tuning has some edge there.
- bambax 3y agoThank you for this answer! > I generally recommend retrieval Yes that's what everyone's saying and it's also what we're working on. I was wondering what fine-tuning may be used for. Are there use cases where fine-tuning might be worth it (esp; given all the hard work it entails)? > akin to a student taking a test with open notes they can refer to, rather than trying to remember a textbook they read a week ago Excellent analogy! Thanks!
- irthomasthomas 3y agoYes, this is for training your own public facing chatbot. So that it does not easily break character and go wildly off-script, like bing, and start ranting at the old lady trying to check her balance. This will likely dramatically increase the number of chatgpt customer service bots in the near future, but on the up side, at least they wont all be regurgitating that "as a language model" shtick. That is if they are willing to pay to beat it out him.