Skip to content

Retrieval-Augmented Fine-Tuning

An approach combining RAG and fine-tuning: the model is fine-tuned on examples that are augmented with found documents. During training, the model learns to use search results.

Why

  • the model learns to work correctly with found context;
  • quality improves on specific data without full retraining;
  • knowledge freshness is maintained through search.

Difference from Regular RAG

In regular RAG, search is only connected during inference. Here, search also participates in training.

See Also

← All Terms