how to merge lora weight when there are more than 1 model.bin
hxx-who opened this issue · comments
Hi, great work!
I want to Merge LoRA Weight of LISA-7B by using the following code
python merge_lora_weights_and_save_hf_model.py \
--version="./LLaVA/LLaVA-Lightning-7B-v1-1"\
--weight="PATH_TO_pytorch_model.bin" \
--save_path="./LISA7B"
but the --weight
only receives the path to one model.bin,but the model of lisa7B has two as pytorch_model-00001-of-00002.bin
and pytorch_model-00002-of-00002.bin
,how can I merge them?