RAFT (Retrieval-Augmented Fine-Tuning) — AI Glossary

RAFT is a training technique that combines retrieval-augmented generation with fine-tuning. The model is fine-tuned on examples that include both a relevant document and several distractor documents, and the training objective teaches it to cite the relevant document while ignoring the distractors.