Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook finetuning Orpheus-TTS #17

Merged
merged 1 commit into from
Mar 22, 2025
Merged

Notebook finetuning Orpheus-TTS #17

merged 1 commit into from
Mar 22, 2025

Conversation

Etherll
Copy link
Contributor

@Etherll Etherll commented Mar 22, 2025

No description provided.

@Erland366
Copy link
Collaborator

Looks good, I tested them in colab and it runs fine.

I'll edit them later on so for the installation part, it'll stay updated with how Unsloth install libraries (it keeps changing :( )

Thank you so much for the PR

@Erland366 Erland366 merged commit 041e654 into unslothai:main Mar 22, 2025
@kadirnar
Copy link

@Etherll Is this just lora training? What should we do for finetuning or pretraining?

@kadirnar
Copy link

kadirnar commented Mar 22, 2025

@Etherll @Erland366 Is the inference code faulty? Because the emotion feature isn't working.

Output: https://voca.ro/1D3xYHviDI6N

I tried this demo and the emotion feature works. However, the unsloth code doesn't produce the output I want.

Demo: https://huggingface.co/spaces/MohamedRashad/Orpheus-TTS

@Etherll
Copy link
Contributor Author

Etherll commented Mar 22, 2025

@Etherll Is this just lora training? What should we do for finetuning or pretraining?

For full finetuning just add full_finetuning = True as in
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "canopylabs/orpheus-3b-0.1-pretrained",
max_seq_length= 2048, # Choose any for long context!
dtype = dtype,
full_finetuning = True,
token = "hf_...", # use one if using gated models like meta-llama/Llama-2-7b-hf
)
for continued pretraining follow the docs

@Etherll
Copy link
Contributor Author

Etherll commented Mar 22, 2025

@Etherll @Erland366 Is the inference code faulty? Because the emotion feature isn't working.

Output: https://voca.ro/1D3xYHviDI6N

I tried this demo and the emotion feature works. However, the unsloth code doesn't produce the output I want.

Demo: https://huggingface.co/spaces/MohamedRashad/Orpheus-TTS

inference code works fine but pretrained model does not have emotive tags maybe one sample in dataset is not enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants