Instructions to use moiralabs/GreekTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moiralabs/GreekTTS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="moiralabs/GreekTTS")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("moiralabs/GreekTTS", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use moiralabs/GreekTTS 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 moiralabs/GreekTTS 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 moiralabs/GreekTTS to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for moiralabs/GreekTTS to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="moiralabs/GreekTTS", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -147,4 +147,17 @@ audio_values = model.generate(
|
|
| 147 |
audio = audio_values[0].to(torch.float32).cpu().numpy()
|
| 148 |
sf.write("example_without_context.wav", audio, 24000)
|
| 149 |
display(Audio(audio, rate=24000))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
```
|
|
|
|
| 147 |
audio = audio_values[0].to(torch.float32).cpu().numpy()
|
| 148 |
sf.write("example_without_context.wav", audio, 24000)
|
| 149 |
display(Audio(audio, rate=24000))
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
# 📖 How to Cite This Model
|
| 153 |
+
```
|
| 154 |
+
@misc{moira2025greektts15,
|
| 155 |
+
title = {GreekTTS-1.0: A State-of-the-Art System for Greek Text-to-Speech Synthesis},
|
| 156 |
+
author = {Moira.AI},
|
| 157 |
+
year = {2025},
|
| 158 |
+
month = {sep},
|
| 159 |
+
day = {22},
|
| 160 |
+
url = {https://moira-ai.com/},
|
| 161 |
+
note = {Demo report: https://moiraai2024.github.io/GreekTTS-demo/}
|
| 162 |
+
}
|
| 163 |
```
|