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