Fine-tuning
Fine-tuning takes a model that has already been trained on broad, general data and continues its training on a smaller, focused dataset. The result is a model that keeps its general abilities but performs noticeably better on your specific task, domain or style.
The analogy is hiring an experienced professional and giving them a few weeks of training on how your company works. They already know their craft; you are adapting that expertise to your particular needs.
When to fine-tune
Fine-tuning is one of several ways to make a model more useful, and it is not always the right one:
- Prompting changes the instructions you give the model. Quick and cheap, and often enough.
- Retrieval (RAG) gives the model the right facts at answer time. Best when the issue is missing or changing knowledge.
- Fine-tuning changes the model itself. Best when you need a consistent format, tone or behavior, or strong performance on a specialized task that prompting and retrieval can't reliably achieve.
A good rule of thumb: reach for retrieval when the model lacks knowledge, and for fine-tuning when it lacks a skill or behavior.
What you need
A fine-tuning job generally requires:
- A base model to start from.
- A training dataset of high‑quality examples in a consistent format.
- A few training parameters that control how the job runs.
The quality and consistency of the dataset matters far more than its size. A small, clean set of examples usually beats a large, noisy one.
Fine-tuning in Rational AI
The platform provides a dedicated Fine‑Tuning section where you pick a base model and a dataset, set the parameters and launch a job. The job trains a small LoRA adapter on top of the base model rather than rewriting all of it. When it finishes, select Deploy to make the tailored model available in the AI Model Registry, ready to use like any other model.
Additional resources
- Fine‑Tuning settings: start and track fine-tuning jobs.
- Datasets: build the training data a job needs.