Follow one song through the model
Use Tonight Awake’s published input as a worked example. Start with the Mandarin lines and the funk style description. The official quick start uses this example to generate a performance and save its intermediate files.
- Input
Lyrics tell the singer what to say. The style prompt describes the sound of the band.
- Plan
With full planning enabled, the model writes melody and chords. The exported ABC file lets you inspect those musical decisions.
- Audio
The pipeline renders the performance to stereo. Listen to the track, then read the input again to find where a written line becomes a sung phrase.
Hear Tonight Awake or inspect the official model card and quick start.
How the model works
YuE2 uses a single backbone that writes two kinds of tokens: score tokens (melody and chords in ABC notation) and semantic audio tokens. A flow-matching stage turns those into acoustic latents, and a VAE decodes them into stereo audio.
The score step is controlled by a planning ("chain-of-thought") mode:
| Mode | What YuE2 plans | Good for |
|---|---|---|
full (default) | Melody and chords | New songs from lyrics |
melody | Melody only | Covers, freer accompaniment |
off | Nothing — direct generation | Quick sketches |
Because the score is plain text, you can edit it — change a note, rewrite a chord — and render again. Note that a re-render produces a whole new recording; it does not splice the change into the old audio.
Specs at a glance
| Item | YuE2-3B |
|---|---|
| Developer | M-A-P with HKUST and HKGAI |
| Input | Style prompt + tagged lyrics, optional score or reference audio |
| Output | Full song, vocals + accompaniment, 48 kHz stereo |
| Languages | English and Chinese strongest; Japanese examples published |
| Weights | Hugging Face, m-a-p/YuE2-3B (about 7 GB) |
| Weights license | CC BY-NC 4.0 |
| Official runtime | Linux, Python, NVIDIA GPU with BF16 |
Which model files do what?
| Component | Where it fits |
|---|---|
| YuE2-3B | The generation checkpoint. It plans the music and produces the representation that the decoder turns into audio. |
| YuE2-Vae | The decoder used for current listening demos. It produces stereo audio from the model's output. |
| SheetSage2 | Transcribes the melody of a reference recording into a score for workflows such as covers. |
If you are reproducing a benchmark, check the decoder and candidate selection in the published protocol. For a comparison by metric, see YuE2 vs Suno.
Hardware and speed
- Official route: 24 GB NVIDIA GPU recommended, 24 GB system RAM.
- Measured: RTX 4090, full planning — about 11 GiB peak VRAM, a 3.6-minute song in about 71 seconds.
- Community quantized builds: run from roughly 6 GB of VRAM on Windows desktop apps, at lower speed and some quality cost.
Inspect the model outputs
The official Python example saves both a FLAC and intermediate artifacts. Inspect the ABC score to see the planned melody and chords, then listen to the finished audio to hear how that plan was rendered. Follow the Python setup guide to reproduce the official workflow, or open the published music examples to compare audio with scores.
License note
The YuE2-3B weights are released under CC BY-NC 4.0. Community documentation describes additional permission for individual creators to publish their own songs, while companies need a license from the authors. Licenses change, so check the official model card before any commercial release.



