Huggingface Endpoints
The Hugging Face Hub is a platform with over 120k models, 20k datasets, and 50k demo apps (Spaces), all open source and publicly available, in an online platform where people can easily collaborate and build ML together.
The Hugging Face Hub
also offers various endpoints to build ML applications.
This example showcases how to connect to the different Endpoints types.
In particular, text generation inference is powered by Text Generation Inference: a custom-built Rust, Python and gRPC server for blazing-faset text generation inference.
from langchain_huggingface import HuggingFaceEndpoint
API Reference:HuggingFaceEndpoint