Finetuning of the Retrieval-Augmented Generation (RAG) with a custom knowledge source. This code is based on the rep Finetuning RAG (Huggingface Transformers). Questions and answers pairs are under rag_artificial_qa_finetuning/ and rag_manual_qa_finetuning/ folders. Run the rag_ft.ipynb Jupyter Notebook.