langchain.embeddings.self_hosted_hugging_face.load_embedding_model

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

Load the embedding model.