NLP SIMILARITY: Use pretrained word embeddings for semantic similarity search with BERT Transformers

Christian Bernecker
5 min readMar 1, 2023

This article describes how to use pretrained word embeddings to measure document similarity and doing a semantic similarity search. First you get an introduction about the advantages and the different use cases of embeddings. Finally I’ll present you a framework that you can use for semantic similarity search. At the end you will find a snippet to build you own similar search queries like in the picture below.

--

--

Christian Bernecker

IT Architect | Data Scientist | Software Developer | Data Driven Investor