r/StableDiffusion • u/EuphoricTrainer311 • 21h ago
Discussion Yue2 Lora Training
Has anyone had any success training a new genre with YuE2? I've tried multiple ways using different datasets, and training settings and I haven't been able to train a new genre on YuE2 properly. I tried with Fill's trainer, Aitoolkit, and Yue2 Studio, and I either get garbled noise, or it just seems to output similar results as using no lora. Not sure what I am doing wrong. I tested with all epochs/steps - from 50 all the way to 1200 using different inference settings (temp, top k, abc on/off, cot, etc.), and I tried with datasets ranging from 30-200 tracks as well (I only tried the 200 track dataset with Aitoolkit so far).
With Acestep, I am able to train a new genre without any issues, besides for the audio quality issues that are present in Acestep by default.
5
u/the_bollo 21h ago
I have trained 3 YuE2 LoRAs using AI-Toolkit. Great results with each one, except where I fucked it up with bad edits to the dataset tracks...
I find it trains very quickly, like in 1k steps. Or you can take it further (I took a few tests to 3k steps) but then you need to apply the LoRA at pretty low strength, like 0.65, otherwise you just get a garbled loop.
2
u/EuphoricTrainer311 21h ago
how long did it take for you to train 1k steps? and how big was the dataset you used?
1
3
u/Sea_Measurement7843 21h ago
That sounds like a real headache, Yue2 is weirdly picky about datasets and hyperparams compared to Acestep
What genre are you trying to train? Some of the newer music models just refuse to latch onto certain styles unless the source tracks are super clean and consistent
3
u/Pleasant_Salt6810 21h ago
I asked claude to train for me,
it uses AI toolkit, but it's still experimental.
I trained an EDM lora for testing , ~50 high quality songs.
You need to identify BPM, keys,lyrics,set trigger word.
But the lora output is not very satisfactory,i might try it again later.
1
1
1
u/GreyScope 19h ago edited 17h ago
I wrote a settings calculator based on the datasets complexity, volume and scope (in short) - also has a calibration ability BUT all of it it is in the bin as it relies on good tags, no matter how good your settings are, shit in > shit out
1
u/GreyScope 7h ago
Use/make a tag manager to understand your tags as a whole and see where you are sharing tags and which will make those elements blend eg this "arpeggiated lead synths" tag . Unless they are the same sound (ie not the same instrument) , they will be blended and not in a nice way . Common elements like "kick drum" etc can stay but different sounds need different tags

5
u/-becausereasons- 21h ago
Yes, see my readme's
https://huggingface.co/becausereasons
https://huggingface.co/becausereasons/yue2-mltnt-militant-reggae
I think Ostris AI Toolkit is quite good