Sentence-BERT with a Triplet Network
Learn about the pre-trained Sentence-BERT models and their utilization of triplet network architecture for fine-tuning pre-trained BERT.
The Sentence-BERT uses the Siamese network architecture for fine-tuning the pre-trained BERT with the sentence pair inputs. Now, let's see how Sentence-BERT uses the triplet network architecture.
Computing similarity between three sentences
Suppose we have three sentences—an anchor sentence, a positive sentence (entailment), and a negative sentence (contradiction), as follows:
Get hands-on with 1200+ tech skills courses.