Before it
Comparing two sentences with BERT meant running the pair through the model together.
The problem
Finding the closest match in a corpus required a forward pass per candidate, which is hopeless at scale.
What it introduced
Train BERT in a siamese setup so each sentence maps to a fixed vector that can be compared with cosine similarity.
Why it matters
It turned BERT into an embedding model, which is what makes semantic search and RAG practical.
What modern models inherit
The embedding model as a separate component from the generator.
What came next
DPR for retrieval, and the sentence-transformers ecosystem most RAG stacks still use.