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)