fine-tuning-unsloth
它能做什么
这个技能说明如何使用 Unsloth 微调语言模型。Unsloth 是一个能加快训练并减少内存占用的库。适合希望在有限硬件上更快、更便宜地完成微调的机器学习工程师。
适用场景
- ✓当可用硬件上的微调运行耗时过长的时候。
- ✓当模型需要在内存有限的 GPU 上进行微调的时候。
- ✓当团队希望用更少的设置时间完成 LoRA 或 QLoRA 训练的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/fine-tuning-unsloth/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我使用 Unsloth 在我的单块 GPU 上微调一个 70 亿参数的模型,以节省内存。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能说明如何用 Unsloth 加载模型、添加 LoRA 适配器,并使用其优化设置进行训练。参考资料会更详细地介绍该库的 API。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Unsloth Skill
Comprehensive assistance with unsloth development, generated from official documentation.
When to Use This Skill
This skill should be triggered when:
- Working with unsloth
- Asking about unsloth features or APIs
- Implementing unsloth solutions
- Debugging unsloth code
- Learning unsloth best practices
Quick Reference
Common Patterns
Quick reference patterns will be added as you use the skill.
Reference Files
This skill includes comprehensive documentation in references/:
- llms-txt.md - Llms-Txt documentation
Use view to read specific reference files when detailed information is needed.
Working with This Skill
For Beginners
Start with the getting_started or tutorials reference files for foundational concepts.
For Specific Features
Use the appropriate category reference file (api, guides, etc.) for detailed information.
For Code Examples
The quick reference section above contains common patterns extracted from the official docs.
Resources
references/
Organized documentation extracted from official sources. These files contain:
- Detailed explanations
- Code examples with language annotations
- Links to original documentation
- Table of contents for quick navigation
scripts/
Add helper scripts here for common automation tasks.
assets/
Add templates, boilerplate, or example projects here.
Notes
- This skill was automatically generated from official documentation
- Reference files preserve the structure and examples from source docs
- Code examples include language detection for better syntax highlighting
- Quick reference patterns are extracted from common usage examples in the docs
Updating
To refresh this skill with updated documentation:
- Re-run the scraper with the same configuration
- The skill will be rebuilt with the latest information
常见问题
它快多少?
该技能提到训练速度大约快两到五倍,且占用的内存更少。
它需要特殊硬件吗?
该技能面向内存有限的单块 GPU,正是在这种情况下它的节省效果最明显。
参考资料完整吗?
该技能指出其参考部分较为简短,细节可能需要查阅官方文档。
详情
作者的原始描述
Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization
热度
- GitHub 星标
- 33k
- 排名
- #8559
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。