Huggingface
Official website https://huggingface.co/
The Hugging Face is a platform designed to share pre-trained AI models and collaborate on the development and sharing of resources related to AI and natural language processing (NLP). It serves as a central repository for a wide range of models, including those for tasks such as text generation, text classification, translation, question answering, and more.
Huggingface
- Create an account in Huggingface
- Go to your Profile - Settings - Access Tokens
- Generate and copy the API Key
- In VSCode press
cmd + shift + p
and searchSet API Key
- Paste your API Key
Remove Key
If you want to remove your API Key from CodeGPT, open the Command Palette and search for CodeGPT: Remove API KEY
.
Huggingface Models available in Code GPT
- HuggingFaceH4/starchat-beta
- tiiuae/falcon-7b-instruct
- codellama/CodeLlama-34b-Instruct-hf
API Errors
If you are getting API errors check the following link: Huggingface Documentation