langchain_community.embeddings.self_hosted_hugging_face.load_embedding_model¶

langchain_community.embeddings.self_hosted_hugging_face.load_embedding_model(model_id: str, instruct: bool = False, device: int = 0) Any[source]¶

Load the embedding model.

Parameters
  • model_id (str) –

  • instruct (bool) –

  • device (int) –

Return type

Any