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.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- claude-music-analyzeSkill
- claude-music-composeSkill
- claude-music-coverSkill
- claude-music-enhanceSkill
- claude-music-exportSkill
- claude-music-generateSkill
- claude-music-librarySkill
- claude-music-randomSkill
- claude-music-repaintSkill
- claude-musicSkill
- claude-music-webSkill
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
- Very specific: line 25
Place in a directory: ~/Music/lora-datasets/<style_name>/
- Very specific: line 77
After training, the LoRA is available in ACE-Step's generation pipeline.
≈ “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.
Files
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
- Collect 3-10 songs in the target style (WAV/FLAC preferred, MP3 OK)
- Place in a directory:
~/Music/lora-datasets/<style_name>/ - Songs should be 30-300 seconds each
- Consistent style/genre across the dataset
- 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 500LoRA vs LoKr
| Aspect | LoRA | LoKr |
| Training time | ~1 hour | ~12 min |
| Quality | Higher fidelity | Good, slightly less detailed |
| VRAM | ~10GB | ~8GB |
| Use case | Voice cloning, precise style | Genre adaptation, quick experiments |
Hyperparameters
| Parameter | Default | Range | Notes |
| Rank (r) | 16 | 4-64 | Higher = more capacity, more VRAM |
| Learning rate | 1e-4 | 1e-5 to 5e-4 | Lower for voice cloning |
| Steps | 1000 | 200-5000 | More data = more steps needed |
| Batch size | 1 | 1-4 | Limited 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
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
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.

