Model notes

Inside the YuE2-3B music model

Follow a song from a lyric sheet to an editable score and a stereo recording. See which checkpoint generates the music, which model decodes it, and when transcription enters the chain.

48 kHz stereoAudio output from the published YuE2 pipeline.

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:

ModeWhat YuE2 plansGood for
full (default)Melody and chordsNew songs from lyrics
melodyMelody onlyCovers, freer accompaniment
offNothing — direct generationQuick 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

ItemYuE2-3B
DeveloperM-A-P with HKUST and HKGAI
InputStyle prompt + tagged lyrics, optional score or reference audio
OutputFull song, vocals + accompaniment, 48 kHz stereo
LanguagesEnglish and Chinese strongest; Japanese examples published
WeightsHugging Face, m-a-p/YuE2-3B (about 7 GB)
Weights licenseCC BY-NC 4.0
Official runtimeLinux, Python, NVIDIA GPU with BF16

Which model files do what?

ComponentWhere it fits
YuE2-3BThe generation checkpoint. It plans the music and produces the representation that the decoder turns into audio.
YuE2-VaeThe decoder used for current listening demos. It produces stereo audio from the model's output.
SheetSage2Transcribes 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.

Frequently asked questions