flâneur

RAG

huggingface.co · 7,063 words · saved by 1 readers

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

This model was published in HF papers on 2020-05-22 and contributed to Hugging Face Transformers on 2020-11-16. Retrieval-Augmented Generation (RAG) combines a pretrained language model (parametric memory) with access to an external data source (non-parametric memory) by means of a pretrained neural retriever. RAG fetches relevant passages and conditions its generation on them during inference. This often makes the answers more factual and lets you update knowledge by changing the index instead of retraining the whole model. You can find all the original RAG checkpoints under the AI at…

related reading