Categories: Image

I trained the missing encoder for YuE2, so we can all bring our own music into it

YuE2 is an impressive open music model. Give it a style prompt and lyrics, and it can make a complete song. Under the hood, it generates “semantic tokens” that are then turned into audio. The trouble is, the encoder that converts existing recordings into those same tokens was never released. That leaves you without a way to bring your own music into the process and fine-tune it. Until now!

Scripts and tokenizer weights are included in the repo.

The trick was this:
The model can teach itself. Every song YuE2 generates comes with the exact tokens that produced it, which is a labeled example nobody had to hand-label. I generated a few thousand songs across every genre I could name, trained a small encoder on those pairs, then adapted it to real recordings by letting YuE2’s own decoder grade the encoder: if the tokens rebuilt the real audio, they were right. No token labels for real music were ever needed.

submitted by /u/thatisnotmychapstick
[link] [comments]

AI Generated Robotic Content

Share
Published by
AI Generated Robotic Content
Tags: ai images

Recent Posts

Context Managers Beyond Opening Files in Python

The stopwatch in the opening script is the smallest case of the pattern.

2 hours ago

AWS named a Leader in the 2026 Gartner Magic Quadrant for Contact Center as a Service

I’m proud to share that Amazon Web Services (AWS) has been named a Leader in…

2 hours ago

Scale agents securely with IAM Helper Agent Skills and MCP Tools

As organizations adopt autonomous agents to build applications, securing identities and access has become more…

2 hours ago

Anthropic Says It Will Revolutionize Biology—Some Day

In breathless press releases and posts, the company has touted its models’ ability to deliver…

3 hours ago

New neural framework could make LLMs more empathetic

As more people turn to large language models (LLMs) during personal crises, the companies behind…

3 hours ago

Robust Serialization with JSON and Custom Types

In this article, you will learn how to build a robust JSON serialization pipeline in…

1 day ago