Instructions to use SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1") model = AutoModelForCausalLM.from_pretrained("SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="SebastianBodza/Kartoffel_Orpheus-3B_german_synthetic-v0.1", max_seq_length=2048, )
Train a new Speaker
Thanks for your great model.
I tryed to finetune the pretrained German model with a new Speakerr, but i didnt manage to get anywhere. Maybe you could point me in a direction?
https://huggingface.co/blog/Steveeeeeeen/llasagna
The training code and a blog article is published @Steveeeeeeen . That may be your best bet. For a single speaker you can just finetune as is. For different ones you have to prepend a name of the speaker.
It could be benefitial to finetune from the german or other base model: https://huggingface.co/canopylabs/3b-de-pretrain-research_release
Thank you very much !