Comparative study of loss functions for fine-tuning retrievers on food nutrition and food exchange domain
Large Language Models (LLMs) increasingly rely on Retrieval-Augmented Generation (RAG) to enhance factual reliability by grounding responses in external evidence, and the effectiveness of such systems depends critically on the retriever, whose performance is strongly shaped by the loss function used during fine-tuning....