Open-source YuE2: white-box music generation that rivals Suno
Open-source YuE2 makes the melody and chord scores it produces through symbolic planning editable. It posts scores that compete with Suno on WildSongBench, but its center of gravity stays on being open, with the code under Apache 2.0 and the model under CC BY-NC 4.0.
YuE2 landed on GitHub Trending this week
When I checked the GitHub API on October 1, 2026, it showed 10,671 stars and 1,221 forks.
It is an open-source music-generation project built jointly by HKUST, M·A·P, Stanford, NYU, and others. Its slogan is "Compose in symbols. Create in sound." Given lyrics and a style prompt, it first writes a melody and chord plan, then turns that plan into a finished song with vocals and accompaniment.
The code is released under Apache 2.0, and the model weights under CC BY-NC 4.0 with additional creator permission.
The limit of existing music-generation models was the 'black box'
When you only enter lyrics and a style prompt and get a song back, it is hard to look at the intermediate result and fix it yourself. YuE2 adds an editing point in between: a score. This contrast is my own interpretation, and the repo does not evaluate the internals of other services.
The core: symbolic planning as a 'white box'
YuE2's first difference is its white-box approach. Before making the song, it extracts the melody and chords as an explicit score, and lets a person or an agent read and change its contents before rendering.
That is also why it is called symbolic planning. Instead of composing a song from text alone, it makes the plan in a symbolic representation such as ABC notation. At runtime, the default cot="full" mode produces an editable melody and chord plan, while cot="off" generates directly from lyrics and style, as before.
Source: multimodal-art-projection/YuE GitHub repo
Image: multimodal-art-projection/YuE (commit 1647252d68b7) · © 2026 the YuE2 authors · Apache-2.0 · unmodified
The internals are open as a staged pipeline
A single AR–NAR Mixture-of-Transformers backbone autoregressively predicts the score and semantic tokens, produces acoustic latents with flow matching, and then a VAE decodes them into stereo audio. The published Python API is organized into the stages plan() → generate_semantic() → synthesize() → decode().
import json
from pathlib import Path
from yue2 import YuE2Pipeline
request = json.loads(Path("examples/song.json").read_text())
with YuE2Pipeline.from_pretrained("m-a-p/YuE2-3B", device="cuda") as pipe:
song = pipe(**request)
song.save_artifacts("outputs/my-song")
The output folder keeps not only the audio but also the score, semantic tokens, acoustic latents, generation settings, and model information.
Create, cover, and agent editing: three actions
The tasks YuE2 handles go a step beyond generation.
- Create: lyrics + style → score → full song
- Cover: transcribe an original recording and reinterpret it in a new style
- Agent editing: revise the score, style, and lyrics on request through conversation to generate a new recording
Cover runs in cot="melody" mode with a score that has no chord symbols.
Full-score-based cover reached a CLEWS mAP of 0.647 on 948 works. Under the same conditions but without a score, it manages only 0.006. This figure comes from the same generation checkpoint, with no cover-specific fine-tuning.
Agent editing is handled by the yue2-music skill package included in the repo. It teaches an agent to fix the score, change the harmony, melody, and form, and organize listening comparisons. In the demo, the song "The Last Train" is edited from Mandarin pop to English jazz, with new harmony and a saxophone solo added, over 9 steps and 14 versions.
Side by side with Suno on WildSongBench
On the automatic evaluation benchmark WildSongBench (192 prompts, September 12, 2026), YuE2's best-of-8 setting recorded a SongBench Avg of 6.9632, the highest average among the settings evaluated.
| System / setting | SongBench Avg ↑ | AudioBox PQ ↑ | MuLan ↑ | PER ↓ |
|---|---|---|---|---|
| YuE2 (best-of-8) | 6.9632 | 8.2714 | 0.5051 | 9.79% |
| Mureka 9 | 6.9377 | 8.0226 | 0.4394 | 11.69% |
| Suno v5 | 6.8721 | 8.1698 | 0.5428 | 8.10% |
| YuE2 | 6.7316 | 8.2598 | 0.5068 | 8.44% |
| Suno v5.5 | 6.7150 | 8.1955 | 0.5089 | 5.96% |
| Suno v6 | 6.5562 | 8.1296 | 0.4916 | 7.58% |
The numbers follow the official comparison table against Suno v5/v6 that the repo lays out. That said, the repo adds that these rankings do not establish statistical significance. Because the ranking changes from metric to metric, it is hard to say who is better from a single score.
Source: multimodal-art-projection/YuE GitHub repo
Image: multimodal-art-projection/YuE (commit 1647252d68b7) · © 2026 the YuE2 authors · Apache-2.0 · unmodified
Beyond generation, understanding and transcription models were opened up as well. According to the repo, the music-understanding model MERT2-30s beats the listed external baseline models on 14 of 15 MARBLE metrics, and the audio→score transcription model SheetSage2-AR beats them on 12 of 15 metrics.
What to watch for when reading the table
First place in the table goes to best-of-8, not to the standard YuE2 setting. According to the repo's description, best-of-8 is the result picked from 8 candidates, while the standard setting picks from 2. But standard YuE2 (6.7316) is lower than Suno v5 (6.8721) and Mureka 9 (6.9377), and only slightly higher than Suno v5.5 (6.7150). The top score is a value reached after paying "the cost of drawing more candidates and picking from them," so it should not be read as a comparison between results generated once. I could not confirm how many times the Suno results in the table were sampled.
The results also split by metric. Suno v5 has the highest text alignment (MuLan), and Suno v5.5 has the lowest lyric error rate (PER) at 5.96%. YuE2 leads on audio quality (AudioBox PQ). The evaluation also relies mostly on automatic metrics, so this table cannot tell you what people prefer when they listen, and the repo itself says that the small gap between the highest averages does not demonstrate statistical significance.
The license doesn't fit in one line
The repo lists the code and documentation under Apache 2.0 and the model weights under "CC BY-NC 4.0 with additional creator permission." The same repo states that individual users, creators, and musicians can use YuE2 and earn money from what it generates with no royalties. Commercial companies, on the other hand, have to ask about a separate license, and academic use is free if it is non-commercial. The additional permission prohibits illegal, harmful, deceptive, and unethical use. So a summary like "it's a non-commercial license, so you can't monetize it" does not match what the repo says. Because the terms split between individuals and companies, if you plan to build it into a service, you should read the repo's license text yourself and decide.
What to weigh before trying it yourself
Whether symbolic planning is useful ultimately depends on "how easily a person can edit the score." Being able to read and edit the score before rendering is what sets it apart from regenerating the whole song from a text prompt. In exchange, you need to be able to read and edit ABC-style notation, so the benefit is bigger if the user is someone who writes songs. For ordinary users who just enter lyrics and get a song back, there may not be much difference from cot="off" (this is my own guess).
I couldn't confirm Korean lyrics support in the repo's documentation. Readers who want to make Korean songs should check the examples and the language composition of WildSongBench first.
Open, but the run requirements aren't trivial
The install environment is Linux, Python 3.12, and an NVIDIA GPU (BF16 support) with 24GB VRAM. It outputs 48kHz stereo without quantization, and the model files are downloaded from Hugging Face on the first run.
git clone https://github.com/multimodal-art-projection/YuE.git
cd YuE
python3.12 -m venv .venv && source .venv/bin/activate
python -m pip install .
python examples/generate.py --output outputs/first-song
Why this matters and what to watch out for
What makes YuE2 meaningful is not a single performance metric but that it opens up an interface where you can see the skeleton of a song with your eyes and touch it with your hands. It is an example of the center of gravity shifting from a commercial "result" to an open-source "editable score."
The skill-package flow shown in the agent-editing demo is also worth a look. Because it injects a music-editing workflow into an agent in units of SKILL.md, there is room for the same pattern to spread to other domains.
There are limits too. The 24GB VRAM requirement is somewhat high for personal setups. The license is covered separately above.
"Agent editing" fixes the score and produces a whole new recording; it is not a way to partially edit while preserving the original waveform. The repo says a technical report (arXiv 2609.33757) came out on September 26, 2026, but this post was written from the repo README without checking the body of the report.
Reference links
Related posts
The open source tool teaching AI agents to 'write less', ponytail
ponytail is an open source tool that teaches AI coding agents YAGNI-based minimalism. Benchmarks show 54% fewer LOC, 22% fewer tokens, and maintained safety, with install guides and tunable commands.
Scrapling First Run: Only the Parser Works Out of the Box
2026-11-08 raw data (/lab/scrapling-first-run.json) shows base Scrapling 0.5.1 parses 120 static HTML items in 1.343ms median, but fetchers raise ModuleNotFoundError missing optional dependencies.
OpenVINO First Run: CPU Match Check Was 0
OpenVINO 2026.4.1 in an offline ARM64 sandbox passed CPU compile (23.737ms median), yet cpuInferOk was 0 in all 5 runs and GPU compile hit RuntimeError; compares standalone vs backend criteria.
Written by AI from public sources; numbers and claims are checked against those sources before publishing.