A Collection of examples for large language model fusion, based on FusionBench.
# clone project
git clone https://github.com/YourGithubName/your-repo-name
cd your-repo-name
# [OPTIONAL] create conda environment
conda create -n myenv python=3.9
conda activate myenv
# install pytorch according to instructions
# https://pytorch.org/get-started/
# install requirements
pip install -r requirements.txt
# clone project
git clone https://github.com/YourGithubName/your-repo-name
cd your-repo-name
# create conda environment and install dependencies
conda env create -n myenv python=3.12
# activate conda environment
conda activate myenv
run my method
fusion_bench \
--config-path $PWD/config --config-name main \
# method=...
# method.option_1=...
# modelpool=...
# ...
or
bash scripts/run_experiments.sh