Skip to content
huangd1999Public

About

[ICML 2025] EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning

Resources

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning

Installation

cd EffiCoder
pip install -r requirements.txt
cd LLaMA-Factory
pip install -e ".[torch,metrics]"

Fine-tune LLMs with EffiCoder

We have provided the EffiCoder dataset in EffiCoder/LLaMA-Factory/data/efficoder.json, so we can directly use SFT and other methods to finetune LLMs.

cd EffiCoder/LLaMA-Factory
bash run.sh

VLLM inference

cd EffiCoder/scripts
bash run.sh

Report Efficiency and pass@1 results

cd EffiCoder/src
python code_efficiency_calculator.py
python calculate_memory_usage.py

About

[ICML 2025] EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages