RAG and Finetuning

Lesson 5 of 4210 min readPremium lesson preview
In this lesson1 sections

RAG and fine-tuning

Compare two ways to adapt a generative AI application. Retrieval-augmented generation (RAG) supplies relevant information at request time. Fine-tuning updates model weights using training examples. A system can use either approach or combine them.

Choose an approach for the requirement

RAG changes request context; fine-tuning changes model weights.
RAG changes request context; fine-tuning changes model weights.

The rest of this lesson is for Premium members

Premium opens every lesson in this course, along with all questions and solutions on PracHub.