Fine-tuning the generative part of a RAG
Hi, this is the final post in my series about RAG systems. Here I will look into fine-tuning the generative part of a RAG system. Here is the notebook. But mostly this is for me a method to understand LLM fine-tuning in a superficial and general way. For the records, I looked into search, ANN Algorithms, fine-tuning embedding models, fine-tuning a reranker and evaluation of RAG systems in my previous posts. In RAG, the retrieval step provides the facts. The fine-tuning is about model behavior to prevent that a base model hallucinate or ignore the provided data. As a rule of thumb, retrieval gives the model its memory and fine-tuning gives it its instructions. ...