Hugging Face is an open-source hub dedicated to AI/ML models and tools, offering access to a vast collection of machine learning models. This platform makes it easy to incorporate specialized AI and ML functionalities into your applications.
You can use Hugging Face models with Elasticsearch in two ways:
Transformers library
Leverage the Transformers Python library to carry out inference within a Python backend environment.
Hosted models in Elasticsearch
Deploy Hugging Face models directly in Elasticsearch to perform inference within the Elasticsearch environment.
Get started with these blogs
Building RAG with Gemma, Hugging Face and Elasticsearch
Tutorials for building semantic search with Hugging Face and Elastic
Use Elasticsearch open inference API integration with Hugging Face to build semantic search