Agent skill · AI & Agents

unsloth-lora

Configuring and optimizing 16-bit Low-Rank Adaptation (LoRA) and Rank-Stabilized LoRA (rsLoRA) for efficient LLM fine-tuning using triggers like lora, qlora, rslora, rank selection, lora_alpha, lora_dropout, and target_modules.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill unsloth-lora --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/ai-ml/unsloth-lora/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Overview Unsloth optimizes Low-Rank Adaptation (LoRA) by providing 16-bit trainable matrices that allow for efficient fine-tuning without updating all model weights. It supports standard LoRA and Rank-Stabilized LoRA (rsLoRA), utilizing specialized kernels to accelerate training and reduce memory overhead. ## When to Use - When fine-tuning large language models on consumer-grade or limited GPU hardware. - When aiming to match full fine-tuning performance with significantly lower VRAM usage. - When specialized scaling (rsLoRA) is required for higher rank stability. ## Decision Tree 1. Need to update all weights? - Yes: Use [[unsloth-fft]]. - No: Proceed to LoRA. 2. Using high rank (r > 64)? - Yes: Enable `use_rslora = True` for sqrt(r) scaling. - No: Use standard LoRA. 3. Maximizing speed? - Yes: Set `lora_dropout = 0` to enable internal kernel optimizations. ## Workflows ### Optimizing LoRA Architecture 1. Target all 7 major linear layers (q, k, v, o, gate, up, down) to match full fine-tuning performance. 2. Initialize rank (r) between 16 and 32 for general tasks, or up to 128 for complex domain adaptation. 3. Set lora_alpha equal to r or 2*r to maintain aggressive learning whil

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Decision Tree
  4. Workflows
  5. Optimizing LoRA Architecture
  6. Configuring Rank-Stabilized LoRA (rsLoRA)
  7. Non-Obvious Insights
  8. Evidence
  9. Scripts
  10. Dependencies
  11. References
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the unsloth-lora skill do?

Configuring and optimizing 16-bit Low-Rank Adaptation (LoRA) and Rank-Stabilized LoRA (rsLoRA) for efficient LLM fine-tuning using triggers like lora, qlora, rslora, rank selection, lora_alpha, lora_dropout, and target_modules.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill unsloth-lora --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going