├── .gitignore ├── LICENSE ├── README.md ├── figures ├── criterion.png └── logo.png ├── inference.py ├── loraprune ├── __init__.py ├── lora.py ├── peft_model.py ├── trainer.py └── utils.py ├── prune.py ├── requirements.txt └── script ├── evaluate.sh └── prune.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/README.md -------------------------------------------------------------------------------- /figures/criterion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/figures/criterion.png -------------------------------------------------------------------------------- /figures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/figures/logo.png -------------------------------------------------------------------------------- /inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/inference.py -------------------------------------------------------------------------------- /loraprune/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /loraprune/lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/loraprune/lora.py -------------------------------------------------------------------------------- /loraprune/peft_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/loraprune/peft_model.py -------------------------------------------------------------------------------- /loraprune/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/loraprune/trainer.py -------------------------------------------------------------------------------- /loraprune/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/loraprune/utils.py -------------------------------------------------------------------------------- /prune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/prune.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/requirements.txt -------------------------------------------------------------------------------- /script/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/script/evaluate.sh -------------------------------------------------------------------------------- /script/prune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aim-uofa/LoRAPrune/HEAD/script/prune.sh --------------------------------------------------------------------------------