[!IMPORTANT]
A newer version of this model is available: OuteTTS-0.2-500M
OuteTTS-0.1-350M is a novel text-to-speech synthesis model that leverages pure language modeling without external adapters or complex architectures, built upon the LLaMa architecture using our Oute3-350M-DEV base model, it demonstrates that high-quality speech synthesis is achievable through a straightforward approach using crafted prompts and audio tokens.
Key Features
Pure language modeling approach to TTS
Voice cloning capabilities
LLaMa architecture
Compatible with llama.cpp and GGUF format
Technical Details
The model utilizes a three-step approach to audio processing:
Audio tokenization using WavTokenizer (processing 75 tokens per second)
CTC forced alignment for precise word-to-audio token mapping
[!WARNING]
The example below works with older outetts version (==0.1.7). The new version (>=0.2.0) introduces changes to the interface. Please refer to the GitHub Usage Example for updated examples.
Interface Usage
python
1from outetts.v0_1.interface import InterfaceHF, InterfaceGGUF
23# Initialize the interface with the Hugging Face model4interface = InterfaceHF("OuteAI/OuteTTS-0.1-350M")56# Or initialize the interface with a GGUF model7# interface = InterfaceGGUF("path/to/model.gguf")89# Generate TTS output10# Without a speaker reference, the model generates speech with random speaker characteristics11output = interface.generate(12 text="Hello, am I working?",13 temperature=0.1,14 repetition_penalty=1.1,15 max_length=409616)1718# Play the generated audio19output.play()2021# Save the generated audio to a file22output.save("output.wav")
Voice Cloning
python
1# Create a custom speaker from an audio file2speaker = interface.create_speaker(3"path/to/reference.wav",4"reference text matching the audio"5)67# Generate TTS with the custom voice8output = interface.generate(9 text="This is a cloned voice speaking",10 speaker=speaker,11 temperature=0.1,12 repetition_penalty=1.1,13 max_length=409614)
Model Details
Model Type: LLaMa-based language model
Size: 350M parameters
Language Support: English
License: CC BY 4.0
Speech Datasets Used:
LibriTTS-R (CC BY 4.0)
Multilingual LibriSpeech (MLS) (CC BY 4.0)
Future Improvements
Scaling up parameters and training data
Exploring alternative alignment methods for better character compatibility
Potential expansion into speech-to-speech assistant models
By using this model, you acknowledge that you understand and assume the risks associated with its use.
You are solely responsible for ensuring compliance with all applicable laws and regulations.
We disclaim any liability for problems arising from the use of this open-source model, including but not limited to direct, indirect, incidental, consequential, or punitive damages.
We make no warranties, express or implied, regarding the model's performance, accuracy, or fitness for a particular purpose. Your use of this model is at your own risk, and you agree to hold harmless and indemnify us, our affiliates, and our contributors from any claims, damages, or expenses arising from your use of the model.