Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- de
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- text-to-speech
|
| 7 |
+
- german
|
| 8 |
+
- kokoro
|
| 9 |
+
- styletts2
|
| 10 |
+
- single-speaker
|
| 11 |
+
pipeline_tag: text-to-speech
|
| 12 |
+
base_model: kikiri-tts/kikiri-german-base-51speakers-synthetic
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Kikiri German — Martin Harbecke
|
| 16 |
+
|
| 17 |
+
German single-speaker TTS model fine-tuned on the **Martin Harbecke** voice using [StyleTTS2](https://github.com/yl4579/StyleTTS2) Stage 2.
|
| 18 |
+
|
| 19 |
+
Built on top of [kikiri-german-base-51speakers-synthetic](https://huggingface.co/kikiri-tts/kikiri-german-base-51speakers-synthetic).
|
| 20 |
+
|
| 21 |
+
## Demo
|
| 22 |
+
|
| 23 |
+
**StyleTTS 2 — Abstract (German)**
|
| 24 |
+
<audio controls><source src="https://huggingface.co/kikiri-tts/kikiri-german-martin/resolve/main/audio/styletts2_demo.wav" type="audio/wav"></audio>
|
| 25 |
+
|
| 26 |
+
## Model Details
|
| 27 |
+
|
| 28 |
+
| Property | Value |
|
| 29 |
+
|---|---|
|
| 30 |
+
| Architecture | StyleTTS2 Stage 2 (Kokoro-compatible) |
|
| 31 |
+
| Language | German (de) |
|
| 32 |
+
| Speaker | Martin Harbecke (synthetic) |
|
| 33 |
+
| Training samples | 627 |
|
| 34 |
+
| Training epochs | 10 |
|
| 35 |
+
| WavLM discriminator | active from epoch 4 |
|
| 36 |
+
| Mixed precision | bf16 |
|
| 37 |
+
| Sample rate | 24 kHz |
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
# Uses the kokoro library as underlying framework
|
| 43 |
+
from kokoro import KModel, KPipeline
|
| 44 |
+
import torch
|
| 45 |
+
|
| 46 |
+
kmodel = KModel(repo_id="hexgrad/Kokoro-82M", config="config.json", model="kikiri_german_martin_ep10.pth").to("cuda").eval()
|
| 47 |
+
pipeline = KPipeline(lang_code="de", model=kmodel)
|
| 48 |
+
voice = torch.load("voices/martin.pt", map_location="cpu")
|
| 49 |
+
|
| 50 |
+
text = "Guten Tag, wie geht es Ihnen?"
|
| 51 |
+
for _, _, audio in pipeline(text, voice=voice):
|
| 52 |
+
# audio is a numpy array at 24kHz
|
| 53 |
+
pass
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## Files
|
| 57 |
+
|
| 58 |
+
| File | Description |
|
| 59 |
+
|---|---|
|
| 60 |
+
| `kikiri_german_martin_ep10.pth` | Kokoro-compatible model weights (Stage 2, epoch 10) |
|
| 61 |
+
| `voices/martin.pt` | Martin speaker voicepack (510, 1, 256) |
|
| 62 |
+
| `audio/styletts2_demo.wav` | Demo: StyleTTS 2 abstract read by Martin |
|
| 63 |
+
|
| 64 |
+
## License
|
| 65 |
+
|
| 66 |
+
Apache 2.0
|