Skip to main content

HuggingFace

Official website https://huggingface.co/

The Hugging Face is a platform designed to share pre-trained AI models and collaborate on developing and sharing resources related to AI and natural language processing (NLP). It serves as a central repository for many models, including those for text generation, classification, translation, question answering, and more tasks.

How to connect

  • Create an account in Huggingface
  • Go to your Profile - Settings - Access Tokens
  • Generate and copy the API Key
  • Go to VSCode and choose HuggingFace as Provider
  • Click on Connect or Set connection
  • Paste API Key here, and click on Connect:
Remove Key

If you want to remove your API Key from CodeGPT, click on the provider box and click on Disconnect.

Huggingface Models available in Code GPT

  • Meta-llama/Llama-3.2-1B-Instruct
  • Meta-llama/Llama-3.2-3B-Instruct
  • Meta-llama/Meta-Llama-3-8B-Instruct
  • Mistralai/Mixtral-8x7B-Instruct-v0.1
  • Microsoft/Phi-3.5-mini-instruct
  • Qwen/Qwen2.5-72B-Instruct
  • Qwen/Qwen2.5-1.5B-Instruct

API Errors

If you are getting API errors, check the following link: Huggingface Documentation