From 5dbdc657007446d835f47c00ccb720ff2a1080fc Mon Sep 17 00:00:00 2001 From: FNsi <125447286+FNsi@users.noreply.github.com> Date: Sun, 21 May 2023 11:19:18 +0800 Subject: [PATCH] merge-hf-and-lora-to-hf.py --- merge-hf-and-lora-to-hf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/merge-hf-and-lora-to-hf.py b/merge-hf-and-lora-to-hf.py index ca8c68d5b..b75684072 100644 --- a/merge-hf-and-lora-to-hf.py +++ b/merge-hf-and-lora-to-hf.py @@ -48,7 +48,6 @@ model = LlamaForCausalLM.from_pretrained( device_map={"": "cpu"}, ) - # peft loaded. load lora. model = PeftModel.from_pretrained( model,