© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. KansalBuilding Generative AI-Powered Appshttps://doi.org/10.1007/979-8-8688-0205-8_6

6. Finetuning: Hands on

Aarushi Kansal1  
(1)
Melbourne, Australia
 

In Chapter 5, you learned about fine-tuning and model alignment in a very theoretical manner. It was the foundation to being able to fine-tune your own models. You learned about the whys, whats, and hows of fine-tuning. You learned that fine-tuning can be less resource and time consuming than building and training a model from scratch. The previous chapter talked to you about what happens to the neural network during the fine-tuning process specifically that most layers are “frozen” and the final few layers ...

Get Building Generative AI-Powered Apps: A Hands-on Guide for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.