Skip to main content

Overview

HuggingFace provides access to thousands of embedding models from the HuggingFace Hub. Supports both local model execution and Inference API, with options for quantization, GPU acceleration, and custom pooling strategies. Provider Class: HuggingFaceEmbedding Config Class: HuggingFaceEmbeddingConfig

Dependencies

For Inference API (optional):

Examples

Parameters