peft-fine-tuning

仓库创建 2026年3月17日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由

在低资源 GPU 上实现大模型微调与多适配器部署

▸ 风险提示

微调可能下载/改写大模型,需注意许可与资源消耗

这个 Skill 做什么

使用 LoRA/QLoRA 等方法进行参数高效微调以降低显存与训练成本。

把大型语言模型用更少参数、高显存效率的方法微调出来,支持 LoRA、QLoRA 等多种 PEFT 技术,适合在单卡或有限显存上改造 7B–70B 模型。常用于需要训练 <1% 参数、快速迭代多任务 adapter、或降低训练与部署成本的场景。特别之处是与 HuggingFace 生态兼容,能把适配器当作轻量模块管理和部署。

▸ 展开 SKILL.md 英文原文

Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when fine-tuning large models (7B-70B) with limited GPU memory, when you need to train <1% of parameters with minimal accuracy loss, or for multi-adapter serving. HuggingFace's official library integrated with transformers ecosystem.

开发编程参数高效微调LoRAQLoRA通用
1.5k
Stars
104
Forks
16
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/OpenRaiser/NanoResearch/main/skills/vendor-ai-research/peft/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/OpenRaiser/NanoResearch/main/skills/vendor-ai-research/peft/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# PEFT (Parameter-Efficient Fine-Tuning)

Fine-tune LLMs by training <1% of parameters using LoRA, QLoRA, and 25+ adapter methods.

## When to use PEFT

**Use PEFT/LoRA when:**
- Fine-tuning 7B-70B models on consumer GPUs (RTX 4090, A100)
- Need to train <1% parameters (6MB adapters vs 14GB full model)
- Want fast iteration with multiple task specific adapters
- Deploying multiple fine-tuned variants from one base model

**Use QLoRA (PEFT + quantization) when:**
- Fine-tuning 70B models on single 24GB GPU
- Memory is the primary constraint
- Can accept ~5% quality trade-off vs full fine-tuning

**Use full fine-tuning instead when:**
- Training small models (<1B parameters)
- Need maximum qua
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有