Access the plethora of open-source models hosted through Hugging face using the HuggingFaceEmbed connector.

Looking for embedding models in HuggingFace? Here is a great place to start: MTEB Leaderboard


Required properties:

  • model: HuggingFace model ID or a URL to a deployed Inference Endpoint.
  • token: HuggingFace token.
from neumai.EmbedConnectors import HuggingFaceEmbed

azure_openai_embed = HuggingFaceEmbed(
    model = "model_id_or_url",
    token = "huggingface_token"