chapter two
2 Getting started with fine-tuning: A few examples
This chapter covers
- Building your first specialized model by fine-tuning an open-source model
- The four-step fine-tuning process
- Practical techniques for model selection, dataset structuring, and training
After reading chapter 1, where you discovered the value of specialized models, you should be eager to move beyond theory and build your first one. We’ll start with a working example that demonstrates something general-purpose models simply can’t do reliably: precise credit risk assessment with transparent reasoning.
2.1 Create your first specialized model
To understand what fine-tuning an LLM means in practice, let’s start with an example that feels concrete and immediately relevant. Suppose you’re part of a financial services team tasked with one of banking’s most critical responsibilities: credit risk assessment.