From 6bfc0a972f8f73200a52d87d6dcbb09255bcdf3d Mon Sep 17 00:00:00 2001 From: kichi <47911326+isaacahahah@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:34:00 +0800 Subject: [PATCH] =?UTF-8?q?Update=2004-Phi-4-Lora=20=E5=BE=AE=E8=B0=83.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/phi4/04-Phi-4-Lora 微调.md | 1 + 1 file changed, 1 insertion(+) diff --git a/models/phi4/04-Phi-4-Lora 微调.md b/models/phi4/04-Phi-4-Lora 微调.md index 18ed4e2..62b3e38 100644 --- a/models/phi4/04-Phi-4-Lora 微调.md +++ b/models/phi4/04-Phi-4-Lora 微调.md @@ -263,4 +263,5 @@ with torch.no_grad(): print(tokenizer.decode(outputs[0], skip_special_tokens=True)) ``` > 注意修改为自己的模型路径哦~ +> 如果显示 `Some parameters are on the meta device because they were offloaded to the cpu.` 的报错,需要将实例关机,重启后单独运行本条代码。 ![result](./images/image04-4.png)