paint-brush
Building a k-NN Similarity Search Engine using Amazon Elasticsearch and SageMakerby@yi
1,625 reads
1,625 reads

Building a k-NN Similarity Search Engine using Amazon Elasticsearch and SageMaker

by Yi Ai11mMarch 26th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Building a k-NN Similarity Search Engine using Amazon Elasticsearch and SageMaker. 1,104 reads for k-nearest neighbor search. Using Amazon Sagemaker and Elasticsearch, I’ll show you how to build a scalable similarity questions search API. We use light weight DistilBERT model to generate sentence embeddings in this example. The following diagram shows the architecture of above steps:Deploying and running Sagemaker notebook instance in VPC. Mount EFS to model directory, mounting EFS. Mount targets and Sagemaker are in same VPC. Transform questions text to vectors, and index all vectors to Elasticsearch.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Building a k-NN Similarity Search Engine using Amazon Elasticsearch and SageMaker
Yi Ai HackerNoon profile picture
Yi Ai

Yi Ai

@yi

L O A D I N G
. . . comments & more!

About Author

Yi Ai HackerNoon profile picture
Yi Ai@yi

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite