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.
Replace
{your_directory_path}with the absolute path to the directory where you have placedEffiCoder/datasets/efficoder.jsoninEffiCoder/LLaMA-Factory/data/dataset_info.json.
cd EffiCoder/LLaMA-Factory
bash run.sh
cd EffiCoder/scripts
bash run.sh
cd EffiCoder/src
python code_efficiency_calculator.py
python calculate_memory_usage.py
Happy tuning! 🎉 Feel free to open an issue if you encounter any problems. 🛠️
7 commits
5 commits
Python
99.0%
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.
Replace
{your_directory_path}with the absolute path to the directory where you have placedEffiCoder/datasets/efficoder.jsoninEffiCoder/LLaMA-Factory/data/dataset_info.json.
cd EffiCoder/LLaMA-Factory
bash run.sh
cd EffiCoder/scripts
bash run.sh
cd EffiCoder/src
python code_efficiency_calculator.py
python calculate_memory_usage.py
Happy tuning! 🎉 Feel free to open an issue if you encounter any problems. 🛠️
7 commits
5 commits
Python
99.0%