训练成功了,但是没有合并的脚本,请问如何合并?
Opened this issue · 4 comments
apachemycat commented
Can't find 'adapter_config.json' at '/wzh/Chinese-Guanaco/models/guanaco-13b-merged-wzhtrain
jianzhnie commented
Here is the merge code: https://github.com/jianzhnie/Efficient-Tuning-LLMs/blob/main/chatllms/utils/apply_lora.py
Morxrc commented
404 - page not found
jianzhnie commented
jianzhnie commented
CUDA_VISIBLE_DEVICES=0 python chatllms/utils/apply_lora.py
--base-model-path ~/checkpoints/baichuan7b/
--lora-model-path ./work_dir/vicuna_merge_vicuna-baichuan-7b-1gpu/checkpoint-15000
--target-model-path ./work_dir/vicuna_merge_vicuna-baichuan-7b/merged_model