参考:
https://github.com/huggingface/peft
##文档
https://huggingface.co/docs/peft/index
https://www.wehelpwin.com/article/4299
https://www.ethanzhang.xyz/2024/07/09/%E3%80%90%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2%E3%80%91%E4%BD%BF%E7%94%A8huggingface%E5%9C%A8%E5%8D%83%E9%97%AE2%E5%9F%BA%E7%A1%80%E4%B8%8A%E8%BF%9B%E8%A1%8CLora%E6%8C%87%E4%BB%A4%E5%BE%AE%E8%B0%83/
支持模型各种类型的微调,
安装
pip install peft
数据集下载参考:
https://blog.csdn.net/weixin_42357472/article/details/141134380
代码:
from transformers
标签:peft,qwen2,80%,E5%,E8%,https,E4%,PEFT,lora
From: https://blog.csdn.net/weixin_42357472/article/details/141610945