This repository contains two main components:
distillation.pyexplainability.py & workersexplainable_finetuning.pygit clone https://github.com/SW-P6/P6-Final.git
cd P6-Final
cd all-in-one
pip install -r requirements.txt
cd humaneval-benchmark
pip install -r requirements.txt
Make sure you have your API keys/tokens set up as needed from HuggingFace.
Feel free to edit the contents of run.sh to your requirements.
Then from the repository root:
cd all-in-one
sh run.sh
This will:
aio.py (the main driver)core/ for distillation, explainability, etc.humaneval-benchmark.py to your requirements.cd humaneval-benchmark
python humaneval-benchmark.py
HumanEval.jsonl and reports the code generation model's pass@k metrics..
├── README.md
├── all-in-one
│ ├── aio.py # ← Main entry point
│ ├── collect.py # ← Data collection helper
│ ├── collect_infidelities.py # ← Infidelity measurement helper
│ ├── core # ← Core logic modules
│ │ ├── distillation.py
│ │ ├── explainability.py
│ │ ├── explainability_workers.py
│ │ ├── explainable_finetuning.py
│ │ ├── functions.py
│ │ ├── prompts.py
│ │ ├── setup.py
│ │ └── vllm.py
│ ├── requirements.txt # ← Python dependencies
│ └── run.sh # ← Shell script to launch the pipeline
└── humaneval-benchmark
├── HumanEval.jsonl # ← HumanEval benchmark dataset
├── humaneval-benchmark.py # ← Benchmarking script
└── requirements.txt # ← Python dependencies
This repository contains two main components:
distillation.pyexplainability.py & workersexplainable_finetuning.pygit clone https://github.com/SW-P6/P6-Final.git
cd P6-Final
cd all-in-one
pip install -r requirements.txt
cd humaneval-benchmark
pip install -r requirements.txt
Make sure you have your API keys/tokens set up as needed from HuggingFace.
Feel free to edit the contents of run.sh to your requirements.
Then from the repository root:
cd all-in-one
sh run.sh
This will:
aio.py (the main driver)core/ for distillation, explainability, etc.humaneval-benchmark.py to your requirements.cd humaneval-benchmark
python humaneval-benchmark.py
HumanEval.jsonl and reports the code generation model's pass@k metrics..
├── README.md
├── all-in-one
│ ├── aio.py # ← Main entry point
│ ├── collect.py # ← Data collection helper
│ ├── collect_infidelities.py # ← Infidelity measurement helper
│ ├── core # ← Core logic modules
│ │ ├── distillation.py
│ │ ├── explainability.py
│ │ ├── explainability_workers.py
│ │ ├── explainable_finetuning.py
│ │ ├── functions.py
│ │ ├── prompts.py
│ │ ├── setup.py
│ │ └── vllm.py
│ ├── requirements.txt # ← Python dependencies
│ └── run.sh # ← Shell script to launch the pipeline
└── humaneval-benchmark
├── HumanEval.jsonl # ← HumanEval benchmark dataset
├── humaneval-benchmark.py # ← Benchmarking script
└── requirements.txt # ← Python dependencies