Skip to content

Heman-Ho/leetcode-llm-tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-llm-tutor

This project includes:

  • Fine-tuning a language model specialized in coding interview questions
  • Generating new LeetCode style problems covering a variety of topics
  • Refining the model and improving response quality (in progress)
  • Providing step by step explanations and solutions to coding problems (upcoming feature)
  • Deploying an interactive interface for users to learn and practice coding problems (upcoming feature)

Running the code

This project uses the Hugging Face Hub to access models for fine-tuning. To run the code, you will need to have a hugging face account and generate an access token.

  1. Sign in or create an account at Hugging Face.
  2. Navigate to the access token page under the settings page
  3. Create and save a new read token
  4. Set the token as environment variable named HUGGINGFACE_HUB_TOKEN
  • On macOS/Linux: bash export HUGGINGFACE_HUB_TOKEN=your-token-here
  • On Windows: setx HUGGINGFACE_HUB_TOKEN your-token-here

About

Fine-tuning a LLM using Hugging Face to generate LeetCode-style coding problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages