跳到正文
Skillpedia
机器学习33k · #8559

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/fine-tuning-unsloth/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  1. Re-run the scraper with the same configuration
  2. The skill will be rebuilt with the latest information
<!-- Trigger re-upload 1763621536 -->
常见问题

它快多少?

该技能提到训练速度大约快两到五倍,且占用的内存更少。

它需要特殊硬件吗?

该技能面向内存有限的单块 GPU,正是在这种情况下它的节省效果最明显。

参考资料完整吗?

该技能指出其参考部分较为简短,细节可能需要查阅官方文档。

详情

作者的原始描述

Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8559
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能