mirror of
https://github.com/knu-plml/apr-using-qlora.git
synced 2026-05-06 18:45:12 +00:00
No description
- Python 99.8%
- Shell 0.2%
| clm@662769e515 | ||
| docs | ||
| legacy | ||
| patch_validator | ||
| QuixBugs@4257f44b0f | ||
| scripts | ||
| sg_utils@33077f3843 | ||
| src | ||
| .gitignore | ||
| .gitmodules | ||
| conda-export.sh | ||
| conda-import.sh | ||
| env14_5.yml | ||
| legacy_run.md | ||
| memo.txt | ||
| README.md | ||
| sandbox.sh | ||
Automated Program Repair Using Quantized Language Models and Parameter-Efficient Fine-Tuning
This research presents a comprehensive evaluation of parameter-efficient fine-tuning methods across various language models to reduce memory usage while maintaining APR effectiveness.
Dependencies
- conda (inherit from Defects4J 2.0.1)
- Java 1.8
- Git >= 1.9
- SVN >= 1.8
- Perl >= 5.0.12
How to setup
- Tested env: Ubuntu 24.04 LTS
git clone [THIS_REPOSITORY]
# init submodules (Defects4J 2.0.1)
git submodule update --init --recursive
# Java 1.8
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt update
sudo apt install openjdk-8-jdk
# Defects4J
cd defects4j
sudo apt install cpanminus unzip build-essential
cpanm --installdeps .
./init.sh
# Defects4J PATH
export PATH=$PATH:$(pwd)/framework/bin
# Install Perl modules
sudo cpanm DBI
sudo cpanm DBD::SQLite
# Check Defects4J
defects4j info -p Lang
cd ..
# Init Conda
conda env update --prefix ./.conda --file env14_5.yml
conda activate ./.conda
- For more command information, please refer to
./docs/folder.