Setting up Hugging Face on Google Colaboratory
Today we will be setting up Hugging Face on Google Colaboratory so as to make use of minimum tools and local computational bandwidth in 6 easy steps
Step 1: Login to your Google Colaboratory Account and create a new notebook for working
Step 2: Parallely, Login or Signup to your HuggingFace Account https://huggingface.co/
Step 3: 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
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 4: Install Hugging Face Libraries on Python Environment
!pip install huggingface_hub
This will install all the necessary dependencies from the Hugging Face in our Colab Notebook