agentleFS
AgriciDanielAgriciDaniel/claude-music/skills/claude-music-lora/SKILL.md

claude-music-lora

Skill65 starsChanged 4 months agoMITView on GitHub

LoRA and LoKr fine-tuning for ACE-Step 1.5. Trains custom styles from 3-10 songs, manages trained adapters, and applies them during generation. Uses ACE-Step's built-in training pipeline.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Place in a directory: ~/Music/lora-datasets/<style_name>/

    line 25
  2. Very specific:

    After training, the LoRA is available in ACE-Step's generation pipeline.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

claude-music-lora — LoRA Fine-Tuning

Overview

Train custom LoRA adapters to capture specific vocal styles, genres, instrument sounds, or production aesthetics. Requires 3-10 songs as training data.

Dataset Preparation

  1. Collect 3-10 songs in the target style (WAV/FLAC preferred, MP3 OK)
  2. Place in a directory: ~/Music/lora-datasets/<style_name>/
  3. Songs should be 30-300 seconds each
  4. Consistent style/genre across the dataset
  5. High audio quality (no noise, no clipping)

Training

cd "$(python3 -c "import json; print(json.load(open('$HOME/.claude/skills/claude-music/config.json'))['ace_step_dir'])")"

# LoRA training (standard, ~1 hour on RTX 5070 Ti)
uv run python3 -m acestep.training.train_lora \
  --checkpoint-dir ./checkpoints \
  --model-variant turbo \
  --dataset-dir ~/Music/lora-datasets/my_style/ \
  --output-dir ./lora_output/my_style \
  --rank 16 \
  --learning-rate 1e-4 \
  --steps 1000

# LoKr training (5x faster, ~12 min)
uv run python3 -m acestep.training.train_lora \
  --checkpoint-dir ./checkpoints \
  --model-variant turbo \
  --dataset-dir ~/Music/lora-datasets/my_style/ \
  --output-dir ./lora_output/my_style \
  --method lokr \
  --rank 16 \
  --learning-rate 1e-4 \
  --steps 500

LoRA vs LoKr

AspectLoRALoKr
Training time~1 hour~12 min
QualityHigher fidelityGood, slightly less detailed
VRAM~10GB~8GB
Use caseVoice cloning, precise styleGenre adaptation, quick experiments

Hyperparameters

ParameterDefaultRangeNotes
Rank (r)164-64Higher = more capacity, more VRAM
Learning rate1e-41e-5 to 5e-4Lower for voice cloning
Steps1000200-5000More data = more steps needed
Batch size11-4Limited by VRAM

Using Trained LoRA

After training, the LoRA is available in ACE-Step's generation pipeline. Refer to ACE-Step documentation at: <ace_step_dir>/docs/en/LoRA_Training_Tutorial.md (see config.json for path)

For detailed reference: load references/lora-training.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.