# HuggingFace

HuggingFace is renowned for its comprehensive collection of open-source natural language processing (NLP) models and tools. The HuggingFace blocks in Omnitool enable easy access to these models, offering a seamless experience for users looking to integrate the latest models into their recipes.

{% embed url="<https://www.youtube.com/watch?v=TlyaG2PKdrc>" %}

## Prerequisites

Before you begin, ensure you have the following:

* **HuggingFace Account**: Sign up or log in at [HuggingFace](https://huggingface.co/).
* **Access Token**: Generate your Access token from your HuggingFace account.

## Setup

**Adding API Key**

1. Navigate to **API Key Manager** in the left panel.
2. Add your HuggingFace Access token.

## Using the HuggingFace Block

1. Navigate to the "Add Block" collection in Omnitool.
2. Search `huggingface` namespace, which provides access to various blocks.

<div data-full-width="false"><figure><img src="https://611463112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7HaPLelP2SU1AtioegfY%2Fuploads%2FzePrpqsA2J7uWAa6HaJK%2Fimage.png?alt=media&#x26;token=23e43a6c-ac89-41c6-9458-7177a4fd9701" alt=""><figcaption></figcaption></figure></div>

3. Identify the category of the model you're interested in from the extensive collection at [HuggingFace Models](https://huggingface.co/models). Once you've selected a model, simply copy its name and apply the corresponding block in Omnitool. And just like that, you're all set to use the model!

<div data-full-width="false"><figure><img src="https://611463112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7HaPLelP2SU1AtioegfY%2Fuploads%2Fb9ez2JeiK9tmiRI4nGO3%2Fimage.png?alt=media&#x26;token=f3b71f61-3b86-4d86-82cc-dacf9e501bd7" alt=""><figcaption></figcaption></figure></div>

## Additional Resources

For developers and users seeking more advanced configurations and troubleshooting resources for these blocks, refer to the OpenAPI and block specifications on the <https://github.com/omnitool-ai/omni-core-blocks/tree/main/server/apis/huggingface>.

***

For more information of HuggingFace API, visit the [HuggingFace website](https://huggingface.co/).
