Sitemap

Setting up Hugging Face on Kaggle Notebooks

3 min readSep 8, 2024

Today we will set up HuggingFace on Kaggle Notebooks in 6 easy steps.

Press enter or click to view image in full size

We had already set up HuggingFace using Google Collab here

Today, we will follow similar steps to set up HuggingFace in Kaggle notebook.

Step 1: Login or Signup to your HuggingFace Account https://huggingface.co/

Step 2: Navigate to Settings → Access Tokens: https://huggingface.co/settings/tokens

The access token is sort of like your identifier for calling the hugging-face APIs

Press enter or click to view image in full size

Create a new token (We can choose read / write depending on our use-case) and copy it safely somewhere. Never expose this publicly as someone can mis-use your token impersonating to be you.

Step 3: Login / Signup to Kaggle and create a new Kaggle Notebook
https://www.kaggle.com/

--

--

No responses yet