---
sidebar_position: 8
---

# 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>1.11.7-beta19</version>
</dependency>
```

## APIs

- `HuggingFaceEmbeddingModel`


## Examples

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