Skip to content
rodolfo.gg
Go back

How to Get Authorization Tokens on HuggingFace.

CC BY-NC-ND 4.0
Rodolfo González González

How to Get Authorization Tokens on HuggingFace.

Introduction

According to Wikipedia:

Hugging Face, Inc. is a French-American company that develops tools for building applications using machine learning. It is known for its Transformers library built for natural language processing applications, and its platform that allows users to share datasets and machine learning models.

Step by Step

  1. Go to huggingface.co and sign in to your account. If you do not have one, sign up.
  2. Go to Settings: Image of the settings page
  3. In the side menu, select “Access Tokens”: Image of the access tokens page
  4. Click “Create new token”: Image of the new token page
  5. Give it a name, select type “Write” (required for uploading datasets) or “Read” (read-only). You can also create a Fine grained token with specific permissions, but for most use cases this is not necessary.
  6. Click “Generate a token” and copy it.

Useful CLI Commands

Bonus

The HF_DEBUG variable set to 1 can be used to debug interactions with HuggingFace.


Share this post on:

Previous Post
How to deploy a Svelte+SvelteKit application on Cloudflare Workers (free).
Next Post
Jean-Michel Jarre: Rendez-vous Houston, A City in Concert.