Articles in this section

Set up a connection to Hugging Face

Hugging Face is a leading platform for natural language processing (NLP) that offers a comprehensive library of pre-trained models and tools, fostering innovation in AI research and development. It's known for its user-friendly interface and extensive resources, making it a go-to hub for the NLP and machine learning community.

Set up a connection

After you start the connection , configure it in the Create connection panel and complete all of the required * authentication settings:

{{a name=quick-ref}}

Setting

Instructions

Name your connection * 

Enter a clear and distinguishable name.

Throughout integrator.io imports and exports, you will have the option to choose this new connection. A unique identifier will prove helpful later when selecting it from a list of the connections in your account.

Namespace * 

Enter your Hugging Face username (Namespace).

  How to retrieve the username 

Token * 

Enter your Hugging Face token.

Multiple layers of protection, including AES 256 encryption, are in place to keep your token safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

  How to retrieve token 

Tip: This connector documentation describes only the settings shown for the Simple view. For the corresponding HTTP settings, see  token auth universal connector documentation.

{{start input collapse count=1}}

{{a name=Client-Info}}

{{label=How to retrieve the username}}

  1. Sign in to your Hugging Face account.

  2. Navigate to Avatar > Settings > Account.

  3. Copy the Username.

{{start input collapse count=2}}

{{a name=Client-Info1}}

{{label=How to retrieve token}}

  1. Sign in to your Hugging Face account.

  2. After the first sign in, create an endpoint. For detailed information,

    see How to create endpoint .

  3. Navigate to Avatar > Settings > Access tokens .

  4. Click New token .

  5. Enter a Name and select a Role .

  6. Click Generate a token .

  7. Copy the Token .

Additional references

{{end input collapse count=2}}

{{end input collapse count=1}}