The Auto-Sommelier — How to Implement HuggingFace Transformers and Build a Search Engine

Subscribe to get access

Read more of this content when you subscribe today or view it on

Creating the Auto-Sommelier

Back in August 2019, I put my first Natural Language Processing (NLP) project into production and hosted the Auto-Sommelier on my website. Using TensorFlow 1 and the Universal Sentence Encoder, I allow users to describe their ideal wine, and return wines with a description that is similar to the query. The tool transforms wine reviews and user input into vectors and calculates the cosine similarity between user input and the wine reviews to find the most similar results.

%d bloggers like this: