Coming !!!
This repository supplies only the software‑module code; the hardware components are not available for remote testing.
Quick start is based on llama2-7b as an example, other models can change the base model path.
pip install -r requirement.txt
cd Generator
bash quick_start.sh
cd ../Pruner
bash quick_start.sh
You can run the following command to fintune the modle on alpaca.
cd ../Pruner
bash fintune.sh
You can run the following command to evalute Llama2-7B on BBH (zero-shot), MMLU (3-shot), PPL, and Commonsense (zero-shot). You need to download LLaMA-Factory-main and place it in the Pruner folder
cd ../Pruner
bash eval.sh
Comming !!!
60 commits
Python
97.0%
Shell
2.0%
Coming !!!
This repository supplies only the software‑module code; the hardware components are not available for remote testing.
Quick start is based on llama2-7b as an example, other models can change the base model path.
pip install -r requirement.txt
cd Generator
bash quick_start.sh
cd ../Pruner
bash quick_start.sh
You can run the following command to fintune the modle on alpaca.
cd ../Pruner
bash fintune.sh
You can run the following command to evalute Llama2-7B on BBH (zero-shot), MMLU (3-shot), PPL, and Commonsense (zero-shot). You need to download LLaMA-Factory-main and place it in the Pruner folder
cd ../Pruner
bash eval.sh
Comming !!!
60 commits
Python
97.0%
Shell
2.0%