---
sidebar_position: 7
---

# Hugging Face

- https://huggingface.co/docs/api-inference/index
- https://huggingface.co/docs/api-inference/detailed_parameters#feature-extraction-task

## Maven Dependency

```xml
<dependency>
    <groupId>dev.langchain4j</groupId>
    <artifactId>langchain4j-hugging-face</artifactId>
    <version>0.36.2</version>
</dependency>
```

## APIs

- `HuggingFaceEmbeddingModel`


## Examples

- [HuggingFaceEmbeddingModelExample](https://github.com/langchain4j/langchain4j-examples/blob/main/other-examples/src/main/java/embedding/model/HuggingFaceEmbeddingModelExample.java)
