# load_embedding_model

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/self_hosted_hugging_face/load_embedding_model)

Load the embedding model.

## Signature

```python
load_embedding_model(
    model_id: str,
    instruct: bool = False,
    device: int = 0,
) -> Any
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/embeddings/self_hosted_hugging_face.py#L26)