cd EffiCoder
pip install -r requirements.txt
cd LLaMA-Factory
pip install -e ".[torch,metrics]"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.shcd EffiCoder/scripts
bash run.shcd EffiCoder/src
python code_efficiency_calculator.py
python calculate_memory_usage.py