Skip to content

JackZeng0208/Code-Generation-LLM-LoRA

Repository files navigation

Improving Llama-2-7B Code Generation for Python Code Using LoRA

Here's our full report:

Final Report

Installation and usage

Installation

Install necessary libraries:

pip install -r requirements.txt

Usage

Inference

Run inference.py directly

Fine-tuning model based on our filtered data

  • Option #1 (Using Hugging Face PEFT library): Run lora_peft.py

  • Option #2 (Using my hand-written version, may have bugs): Run finetuning.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages