Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Nils Reimers, Iryna Gurevych · 2019
Coming soon
This lesson is being written. Explore the graph meanwhile.
You will need
- BERT: Pre-training of Deep Bidirectional TransformersBERT pre-trains a deep bidirectional Transformer by hiding words and predicting them from both sides, then fine-tunes the whole model with one small output layer per task.
- Siamese NetworkA siamese network runs two inputs through the same network with shared weights, then compares the two output vectors by distance, so it can judge whether two inputs are alike without a fixed list of classes.
- Sentence EmbeddingA sentence embedding maps a whole sentence to one vector so that sentences with similar meanings point in similar directions, and comparing two sentences becomes a single cosine.