This is a technical tutorial on how to set up and add semantic search via transformers as an Elasticsearch index. We go through all steps needed and will introduce the utility class ElasticTransformers. Finally we will consider some speed comparisons.

This is the last part of a three part series about Search. For the non-technical discussions of how this fits into the wider topic of search consider the previous two parts.

  • Pt 1 was a gentle introduction to the typical building blocks of search engines
  • In Pt 2 we performed a side-by-side comparison of key words and contextual embeddings for search

Already in part 1 we saw how Elasticsearch provides a wide range of search capabilities out of the box. In this article we will show how to add one more — contextual semantic search

#artificial-intelligence #nlp #elasticsearch #transformers #machine-learning

Search (Pt 3) — Elastic Transformers
1.55 GEEK