7
LLM Fine-Tuning
If you've made it to this chapter, congratulations! You already have a solid grasp of how large language models (LLMs) work, how to tackle a wide range of artificial intelligence (AI) and natural language processing (NLP) tasks such as summarization, classification, and reasoning, and how to extend model capabilities using RAG to access private or up-to-date information.
Up to this point, everything we've done has relied on prompt engineering and external tools. We've shaped model behavior through instructions, context injections, and retrieval pipelines, all without changing the model itself. This approach is incredibly powerful and has defined the new paradigm of adaptation without retraining. That underpins modern AI development ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access