v5: try 11 at step 90,000
Browse files- README.md +190 -190
- config.json +68 -68
- inference.pt +2 -2
- recipe.json +4 -1
- samples/01-default.wav +2 -2
- samples/02-default.wav +2 -2
- samples/03-default.wav +2 -2
- samples/04-excited.wav +2 -2
- samples/05-sad.wav +2 -2
- samples/06-angry.wav +2 -2
- samples/07-fearful.wav +2 -2
- samples/08-surprised.wav +2 -2
- samples/09-calm.wav +2 -2
- samples/10-whisper.wav +2 -2
README.md
CHANGED
|
@@ -1,190 +1,190 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- he
|
| 4 |
-
license: other
|
| 5 |
-
license_name: private-research-only
|
| 6 |
-
license_link: https://huggingface.co/useless-ai/pitput/blob/main/README.md#license
|
| 7 |
-
pipeline_tag: text-to-speech
|
| 8 |
-
library_name: pytorch
|
| 9 |
-
tags:
|
| 10 |
-
- text-to-speech
|
| 11 |
-
- tts
|
| 12 |
-
- hebrew
|
| 13 |
-
- fastspeech2
|
| 14 |
-
- ddsp
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
# pitput
|
| 18 |
-
|
| 19 |
-
**pitput** (פִּטְפּוּט) is a Hebrew take on [tiny-voca](https://github.com/n4ze3m/tiny-voca): a tiny TTS model
|
| 20 |
-
built to run on a CPU. The whole model, vocoder included, is **only 20 MB** (5.0M parameters). It outputs 24 kHz
|
| 21 |
-
mono and runs faster than real time on a laptop CPU. It reads plain Hebrew without niqqud, in one voice with
|
| 22 |
-
**8 delivery styles** and **8 expression tags** (`<laugh>`, `<sigh>`, `<short pause>` …).
|
| 23 |
-
|
| 24 |
-
It is a personal learning project, trained from scratch on synthetic speech. **Private research use only; see
|
| 25 |
-
[License](#license).**
|
| 26 |
-
|
| 27 |
-
## Samples
|
| 28 |
-
|
| 29 |
-
The listening texts, synthesized with the default settings (the model's own playback: word codes at 0.5, melody at 0.3, pitch range 1.2, seed 0).
|
| 30 |
-
|
| 31 |
-
| Style | Text | Audio |
|
| 32 |
-
|---|---|---|
|
| 33 |
-
| default | לפי נתוני הלשכה המרכזית לסטטיסטיקה, אוכלוסיית ישראל גדלה בשנה האחרונה בכמאה ושמונים אלף איש. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 34 |
-
| default, addressee f | מה שלומך? שמעתי שלא הרגשת טוב בשבוע שעבר. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 35 |
-
| default | הרכבת לחיפה יוצאת בשבע ועשרים ומגיעה בשמונה וחצי, `<chuckle>` אם היא בכלל תגיע. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 36 |
-
| excited | `<laugh>` אני לא מאמינה, קיבלנו את הדירה! | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 37 |
-
| sad | `<sigh>` חיכיתי לו כל הערב, והוא פשוט לא הגיע. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 38 |
-
| angry, addressee m | כמה פעמים אמרתי לך לסגור את הדלת?! | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 39 |
-
| fearful | שמעת את זה? `<gasp>` יש מישהו בחוץ. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 40 |
-
| surprised | רגע, `<short pause>` הוא באמת התפטר? אחרי עשרים שנה? | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 41 |
-
| calm | `<breath>` קחו נשימה עמוקה, `<long pause>` ותנו לגוף להירגע לאט לאט. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 42 |
-
| whisper | בוא נדבר בשקט, כולם כבר ישנים. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/
|
| 43 |
-
|
| 44 |
-
## Usage
|
| 45 |
-
|
| 46 |
-
```bash
|
| 47 |
-
git clone https://huggingface.co/useless-ai/pitput
|
| 48 |
-
cd pitput
|
| 49 |
-
pip install -r requirements.txt # PyTorch, numpy, soundfile
|
| 50 |
-
|
| 51 |
-
python -m pitput.infer --style excited --text "<laugh> אני לא מאמינה, קיבלנו את הדירה!" --output out.wav
|
| 52 |
-
python -m pitput.infer --style default --addressee f --text "מה שלומך? שמעתי שלא הרגשת טוב." --output hello.wav
|
| 53 |
-
```
|
| 54 |
-
|
| 55 |
-
The phonemizer (about 40 MB) is included. Options:
|
| 56 |
-
|
| 57 |
-
| Option | Meaning |
|
| 58 |
-
|---|---|
|
| 59 |
-
| `--style` | `default`, `excited`, `sad`, `angry`, `fearful`, `surprised`, `calm`, `whisper` |
|
| 60 |
-
| `--addressee m` / `f` | Gender of the person spoken to (לך, אותך, אמרת …). Without it, the sentence decides: a name, a form of address or the story is enough |
|
| 61 |
-
| `--temperature` | How freely the delivery is drawn. Omitted, the model uses its own playback (word codes at 0.5, melody at 0.3). `0` is the most likely delivery; higher is livelier and less predictable; above ~1 it starts to break up |
|
| 62 |
-
| `--seed` | Another seed gives another delivery of the same text (default 0). If a laugh or chuckle comes out weak, try another seed |
|
| 63 |
-
| `--text-file` | Read the text from a UTF-8 file instead of `--text` |
|
| 64 |
-
| `--speed` | 1.0 = as trained; 0.9 is 10% slower |
|
| 65 |
-
| `--pitch-shift` | Added to log F0 (0.058 ≈ one semitone) |
|
| 66 |
-
| `--pitch-range` | Scales the melody around each sentence's mean pitch (default: the model's own, 1.2) |
|
| 67 |
-
| `--device` | `cpu` (default) or `cuda` |
|
| 68 |
-
|
| 69 |
-
From Python:
|
| 70 |
-
|
| 71 |
-
```python
|
| 72 |
-
import soundfile as sf
|
| 73 |
-
from pitput.infer import CHECKPOINT, load_model, speak_text
|
| 74 |
-
|
| 75 |
-
model = load_model(CHECKPOINT) # inference.pt next to the package
|
| 76 |
-
wave, utterances = speak_text(model, "שלום, <sigh> מה שלומך?", "calm", addressee="f", seed=0)
|
| 77 |
-
sf.write("out.wav", wave.numpy(), model.config.sample_rate)
|
| 78 |
-
```
|
| 79 |
-
|
| 80 |
-
Passing `temperature=0.55` plays the way v2 did, with one temperature for both the word codes and the melody.
|
| 81 |
-
|
| 82 |
-
### What the input must look like
|
| 83 |
-
|
| 84 |
-
- **Plain Hebrew in spoken form.** There is no text normalizer for dates and acronyms: write those out in Hebrew
|
| 85 |
-
words (`בשבע ועשרים`, not `7:20`). A digit string is read as a number. Characters it can't read are skipped.
|
| 86 |
-
- **No niqqud needed.** The phonemizer reads each sentence in context and adds stress. A pointed letter is
|
| 87 |
-
followed; an unpointed letter is still predicted from the sentence.
|
| 88 |
-
- **Tags** go where the sound should be, in English inside the Hebrew: `<laugh>`, `<chuckle>`, `<sigh>`,
|
| 89 |
-
`<breath>`, `<gasp>`, `<throat-clearing>`, `<short pause>`, `<long pause>`.
|
| 90 |
-
- **Fillers** אהמ and אממ are read "emm", הממ as a hum, אהה as a long "a".
|
| 91 |
-
- **Punctuation** shapes the delivery (`, . ? ! …`). Long texts are read sentence by sentence.
|
| 92 |
-
- The voice is a woman's, including first person (בודקת, not בודק).
|
| 93 |
-
|
| 94 |
-
## Model
|
| 95 |
-
|
| 96 |
-
A fork of [fiato](https://huggingface.co/cfahlgren1/fiato), itself a fork of
|
| 97 |
-
[tiny-voca](https://github.com/n4ze3m/tiny-voca): a FastSpeech2-style model with a built-in
|
| 98 |
-
differentiable source-filter vocoder, so there is no separate neural vocoder.
|
| 99 |
-
|
| 100 |
-
- **Input:** 47 tokens: 29 phonemes, 5 punctuation marks, word boundary, utterance edges and the 8
|
| 101 |
-
expression tags. Stress is a parallel feature, not a token.
|
| 102 |
-
- **Text encoder:** 4 transformer layers, 192 channels, with the style embedding added to every token.
|
| 103 |
-
- **Word delivery codes:** each word or tag gets one of 32 learned delivery codes, chosen by a small recurrent
|
| 104 |
-
planner from the text, the style and the previous codes. A sound tag's code comes from a table of the codes
|
| 105 |
-
that gave full, audible renderings of that tag.
|
| 106 |
-
- **Timing:** a token-level flow (flow matching, 2 layers) draws every token's length and whether a pause follows
|
| 107 |
-
it, for the whole sentence at once.
|
| 108 |
-
- **Frame level:** the style embedding is added again; a frame-level flow (2 layers) draws the pitch, voicing and
|
| 109 |
-
energy contour, and 5 transformer layers predict the acoustic features.
|
| 110 |
-
- **Vocoder:** a harmonic pulse train, on voiced frames only, plus noise shaped by 64 cepstral coefficients per frame.
|
| 111 |
-
- **Size:** 4,991,888 parameters at inference (20 MB checkpoint); the weights are a moving average over training.
|
| 112 |
-
Training also uses parameters that are not in the checkpoint (discriminators, a reference encoder for the
|
| 113 |
-
delivery codes, an auxiliary mel head).
|
| 114 |
-
|
| 115 |
-
## Training data
|
| 116 |
-
|
| 117 |
-
The dataset is **synthetic only**, with no recorded human speech: about 91,600 clips (180 h) of one synthetic
|
| 118 |
-
voice, of which 86,438 training clips (173 h) passed forced alignment. 160 held-out sentences (20 per style) were
|
| 119 |
-
kept for validation and 160 for test.
|
| 120 |
-
|
| 121 |
-
- **Text:** Hebrew sentences from news (archive, HeSum, RSS), HeDC4 web text and stories, Hebrew
|
| 122 |
-
Wikipedia, ivrit.ai transcripts and LLM-written scenes, among them emotional, dialogue-heavy scenes written for
|
| 123 |
-
the expressive styles and sounds, plus short lines with hesitation fillers.
|
| 124 |
-
- **Spoken form:** an LLM rewrote numbers, dates, money, acronyms and Latin script as Hebrew words, and every answer
|
| 125 |
-
was checked by code.
|
| 126 |
-
- **Addressee gender:** an LLM decided the gender of ambiguous second-person words (לך, אותך, אמרת) in context.
|
| 127 |
-
The audio follows that decision. Where the decided words of a sentence agree, the phonemes use that listener;
|
| 128 |
-
otherwise the phonemizer decides from the sentence.
|
| 129 |
-
- **Styles:** an LLM picked a style for each dialogue sentence and inserted the tags; calm and whisper were assigned
|
| 130 |
-
to plain statements, and some expressive sentences were recorded in a second style. Each style was rendered with
|
| 131 |
-
one fixed delivery instruction; default is a bright, friendly delivery.
|
| 132 |
-
|
| 133 |
-
| Style | Aligned training clips |
|
| 134 |
-
|---|---|
|
| 135 |
-
| default | 54,318 |
|
| 136 |
-
| calm | 5,438 |
|
| 137 |
-
| whisper | 4,867 |
|
| 138 |
-
| surprised | 4,638 |
|
| 139 |
-
| angry | 4,556 |
|
| 140 |
-
| excited | 4,533 |
|
| 141 |
-
| sad | 4,120 |
|
| 142 |
-
| fearful | 3,968 |
|
| 143 |
-
|
| 144 |
-
Tags in the aligned clips (at most 2 per clip): breath 4,008, short pause 3,277, long pause 2,704,
|
| 145 |
-
chuckle 2,236, laugh 2,161, gasp 2,103, sigh 2,005, throat-clearing 1,101.
|
| 146 |
-
- **Labels:** phonemes from the phonemizer in this repository, with stress and the tags at their positions.
|
| 147 |
-
Durations come from forced alignment with
|
| 148 |
-
[facebook/wav2vec2-lv-60-espeak-cv-ft](https://huggingface.co/facebook/wav2vec2-lv-60-espeak-cv-ft), which is used
|
| 149 |
-
only for labeling and is not part of the model. A tag owns the sound up to the neighbouring phonemes.
|
| 150 |
-
|
| 151 |
-
## Limitations
|
| 152 |
-
|
| 153 |
-
- **Laughs and chuckles vary.** Some draws are full and some are thin; another `--seed` usually helps.
|
| 154 |
-
`<breath>` and `<sigh>` are quieter than speech, as they are in the data.
|
| 155 |
-
- **Melody and emphasis:** the melody is less varied than the recordings, and the emphasis of a sentence sometimes
|
| 156 |
-
lands on the wrong word. A tag does not reliably change the tone of the words after it.
|
| 157 |
-
- **Temperature trades life for stability:** the default playback is the steadier one. Above ~1, words can be
|
| 158 |
-
mispronounced and the sound can break.
|
| 159 |
-
- **Fearful is the weakest style:** more of its clips failed alignment than the other styles.
|
| 160 |
-
- **Pronunciation follows the bundled phonemizer.** בין and בית are read with *ej* (`bˈejn`, `bˈejt`). With no
|
| 161 |
-
listener and no cue in the sentence, "ראית את הסרט החדש, מיכל?" is read as masculine; `--addressee f` fixes it.
|
| 162 |
-
- **The speaker is a woman.** First person follows that (בודקת). There is no men's voice.
|
| 163 |
-
- One voice only. Sentences are synthesized independently, with no prosody carried between them.
|
| 164 |
-
|
| 165 |
-
## License
|
| 166 |
-
|
| 167 |
-
- **Code** (`pitput/`): Apache License 2.0. It is a fork of fiato by cfahlgren1 and tiny-voca by Muhammed Nazeem,
|
| 168 |
-
both Apache-2.0; see `NOTICE`, `LICENSE` and `LICENSE.tiny-voca`.
|
| 169 |
-
- **Phonemizer** (`phonemizer/`, code and weights): Apache License 2.0. `renikud_onnx.py` is from RenikudPlus by
|
| 170 |
-
notmax123, Apache-2.0; see `phonemizer/NOTICE`.
|
| 171 |
-
- **TTS weights and audio samples: private research use only, not licensed for redistribution or any commercial use.**
|
| 172 |
-
|
| 173 |
-
## Files
|
| 174 |
-
|
| 175 |
-
| File | Contents |
|
| 176 |
-
|---|---|
|
| 177 |
-
| `inference.pt` | Weights, model configuration and front-end fingerprint (loaded with `weights_only=True`) |
|
| 178 |
-
| `pitput/` | Inference code: `infer.py` (command line and `speak_text`), `model.py`, `text.py` (phoneme tokens), `read.py` (Hebrew to a label) |
|
| 179 |
-
| `phonemizer/` | The pronunciation model: `phonemizer.py`, `model.safetensors` (40 MB), `config.json` |
|
| 180 |
-
| `samples/` | The audio above |
|
| 181 |
-
| `config.json`, `recipe.json` | Model and training settings of this version |
|
| 182 |
-
| `requirements.txt` | Python dependencies |
|
| 183 |
-
| `NOTICE`, `LICENSE`, `LICENSE.tiny-voca` | Attribution and license of the code |
|
| 184 |
-
|
| 185 |
-
## Acknowledgements
|
| 186 |
-
|
| 187 |
-
[tiny-voca](https://github.com/n4ze3m/tiny-voca) for the architecture and training recipe,
|
| 188 |
-
[fiato](https://huggingface.co/cfahlgren1/fiato) for expression tags on it,
|
| 189 |
-
[RenikudPlus](https://huggingface.co/notmax123/RenikudPlus) for the phonemizer's per-letter distributions,
|
| 190 |
-
decoder and number reading, and the Hebrew text sources: HeDC4, HeSum, Hebrew Wikipedia and ivrit.ai.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- he
|
| 4 |
+
license: other
|
| 5 |
+
license_name: private-research-only
|
| 6 |
+
license_link: https://huggingface.co/useless-ai/pitput/blob/main/README.md#license
|
| 7 |
+
pipeline_tag: text-to-speech
|
| 8 |
+
library_name: pytorch
|
| 9 |
+
tags:
|
| 10 |
+
- text-to-speech
|
| 11 |
+
- tts
|
| 12 |
+
- hebrew
|
| 13 |
+
- fastspeech2
|
| 14 |
+
- ddsp
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# pitput
|
| 18 |
+
|
| 19 |
+
**pitput** (פִּטְפּוּט) is a Hebrew take on [tiny-voca](https://github.com/n4ze3m/tiny-voca): a tiny TTS model
|
| 20 |
+
built to run on a CPU. The whole model, vocoder included, is **only 20 MB** (5.0M parameters). It outputs 24 kHz
|
| 21 |
+
mono and runs faster than real time on a laptop CPU. It reads plain Hebrew without niqqud, in one voice with
|
| 22 |
+
**8 delivery styles** and **8 expression tags** (`<laugh>`, `<sigh>`, `<short pause>` …).
|
| 23 |
+
|
| 24 |
+
It is a personal learning project, trained from scratch on synthetic speech. **Private research use only; see
|
| 25 |
+
[License](#license).**
|
| 26 |
+
|
| 27 |
+
## Samples
|
| 28 |
+
|
| 29 |
+
The listening texts, synthesized with the default settings (the model's own playback: word codes at 0.5, melody at 0.3, pitch range 1.2, seed 0).
|
| 30 |
+
|
| 31 |
+
| Style | Text | Audio |
|
| 32 |
+
|---|---|---|
|
| 33 |
+
| default | לפי נתוני הלשכה המרכזית לסטטיסטיקה, אוכלוסיית ישראל גדלה בשנה האחרונה בכמאה ושמונים אלף איש. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/01-default.wav"></audio> |
|
| 34 |
+
| default, addressee f | מה שלומך? שמעתי שלא הרגשת טוב בשבוע שעבר. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/02-default.wav"></audio> |
|
| 35 |
+
| default | הרכבת לחיפה יוצאת בשבע ועשרים ומגיעה בשמונה וחצי, `<chuckle>` אם היא בכלל תגיע. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/03-default.wav"></audio> |
|
| 36 |
+
| excited | `<laugh>` אני לא מאמינה, קיבלנו את הדירה! | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/04-excited.wav"></audio> |
|
| 37 |
+
| sad | `<sigh>` חיכיתי לו כל הערב, והוא פשוט לא הגיע. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/05-sad.wav"></audio> |
|
| 38 |
+
| angry, addressee m | כמה פעמים אמרתי לך לסגור את הדלת?! | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/06-angry.wav"></audio> |
|
| 39 |
+
| fearful | שמעת את זה? `<gasp>` יש מישהו בחוץ. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/07-fearful.wav"></audio> |
|
| 40 |
+
| surprised | רגע, `<short pause>` הוא באמת התפטר? אחרי עשרים שנה? | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/08-surprised.wav"></audio> |
|
| 41 |
+
| calm | `<breath>` קחו נשימה עמוקה, `<long pause>` ותנו לגוף להירגע לאט לאט. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/09-calm.wav"></audio> |
|
| 42 |
+
| whisper | בוא נדבר בשקט, כולם כבר ישנים. | <audio controls src="https://huggingface.co/useless-ai/pitput/resolve/v5/samples/10-whisper.wav"></audio> |
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
git clone https://huggingface.co/useless-ai/pitput
|
| 48 |
+
cd pitput
|
| 49 |
+
pip install -r requirements.txt # PyTorch, numpy, soundfile
|
| 50 |
+
|
| 51 |
+
python -m pitput.infer --style excited --text "<laugh> אני לא מאמינה, קיבלנו את הדירה!" --output out.wav
|
| 52 |
+
python -m pitput.infer --style default --addressee f --text "מה שלומך? שמעתי שלא הרגשת טוב." --output hello.wav
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
The phonemizer (about 40 MB) is included. Options:
|
| 56 |
+
|
| 57 |
+
| Option | Meaning |
|
| 58 |
+
|---|---|
|
| 59 |
+
| `--style` | `default`, `excited`, `sad`, `angry`, `fearful`, `surprised`, `calm`, `whisper` |
|
| 60 |
+
| `--addressee m` / `f` | Gender of the person spoken to (לך, אותך, אמרת …). Without it, the sentence decides: a name, a form of address or the story is enough |
|
| 61 |
+
| `--temperature` | How freely the delivery is drawn. Omitted, the model uses its own playback (word codes at 0.5, melody at 0.3). `0` is the most likely delivery; higher is livelier and less predictable; above ~1 it starts to break up |
|
| 62 |
+
| `--seed` | Another seed gives another delivery of the same text (default 0). If a laugh or chuckle comes out weak, try another seed |
|
| 63 |
+
| `--text-file` | Read the text from a UTF-8 file instead of `--text` |
|
| 64 |
+
| `--speed` | 1.0 = as trained; 0.9 is 10% slower |
|
| 65 |
+
| `--pitch-shift` | Added to log F0 (0.058 ≈ one semitone) |
|
| 66 |
+
| `--pitch-range` | Scales the melody around each sentence's mean pitch (default: the model's own, 1.2) |
|
| 67 |
+
| `--device` | `cpu` (default) or `cuda` |
|
| 68 |
+
|
| 69 |
+
From Python:
|
| 70 |
+
|
| 71 |
+
```python
|
| 72 |
+
import soundfile as sf
|
| 73 |
+
from pitput.infer import CHECKPOINT, load_model, speak_text
|
| 74 |
+
|
| 75 |
+
model = load_model(CHECKPOINT) # inference.pt next to the package
|
| 76 |
+
wave, utterances = speak_text(model, "שלום, <sigh> מה שלומך?", "calm", addressee="f", seed=0)
|
| 77 |
+
sf.write("out.wav", wave.numpy(), model.config.sample_rate)
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
Passing `temperature=0.55` plays the way v2 did, with one temperature for both the word codes and the melody.
|
| 81 |
+
|
| 82 |
+
### What the input must look like
|
| 83 |
+
|
| 84 |
+
- **Plain Hebrew in spoken form.** There is no text normalizer for dates and acronyms: write those out in Hebrew
|
| 85 |
+
words (`בשבע ועשרים`, not `7:20`). A digit string is read as a number. Characters it can't read are skipped.
|
| 86 |
+
- **No niqqud needed.** The phonemizer reads each sentence in context and adds stress. A pointed letter is
|
| 87 |
+
followed; an unpointed letter is still predicted from the sentence.
|
| 88 |
+
- **Tags** go where the sound should be, in English inside the Hebrew: `<laugh>`, `<chuckle>`, `<sigh>`,
|
| 89 |
+
`<breath>`, `<gasp>`, `<throat-clearing>`, `<short pause>`, `<long pause>`.
|
| 90 |
+
- **Fillers** אהמ and אממ are read "emm", הממ as a hum, אהה as a long "a".
|
| 91 |
+
- **Punctuation** shapes the delivery (`, . ? ! …`). Long texts are read sentence by sentence.
|
| 92 |
+
- The voice is a woman's, including first person (בודקת, not בודק).
|
| 93 |
+
|
| 94 |
+
## Model
|
| 95 |
+
|
| 96 |
+
A fork of [fiato](https://huggingface.co/cfahlgren1/fiato), itself a fork of
|
| 97 |
+
[tiny-voca](https://github.com/n4ze3m/tiny-voca): a FastSpeech2-style model with a built-in
|
| 98 |
+
differentiable source-filter vocoder, so there is no separate neural vocoder.
|
| 99 |
+
|
| 100 |
+
- **Input:** 47 tokens: 29 phonemes, 5 punctuation marks, word boundary, utterance edges and the 8
|
| 101 |
+
expression tags. Stress is a parallel feature, not a token.
|
| 102 |
+
- **Text encoder:** 4 transformer layers, 192 channels, with the style embedding added to every token.
|
| 103 |
+
- **Word delivery codes:** each word or tag gets one of 32 learned delivery codes, chosen by a small recurrent
|
| 104 |
+
planner from the text, the style and the previous codes. A sound tag's code comes from a table of the codes
|
| 105 |
+
that gave full, audible renderings of that tag.
|
| 106 |
+
- **Timing:** a token-level flow (flow matching, 2 layers) draws every token's length and whether a pause follows
|
| 107 |
+
it, for the whole sentence at once.
|
| 108 |
+
- **Frame level:** the style embedding is added again; a frame-level flow (2 layers) draws the pitch, voicing and
|
| 109 |
+
energy contour, and 5 transformer layers predict the acoustic features.
|
| 110 |
+
- **Vocoder:** a harmonic pulse train, on voiced frames only, plus noise shaped by 64 cepstral coefficients per frame.
|
| 111 |
+
- **Size:** 4,991,888 parameters at inference (20 MB checkpoint); the weights are a moving average over training.
|
| 112 |
+
Training also uses parameters that are not in the checkpoint (discriminators, a reference encoder for the
|
| 113 |
+
delivery codes, an auxiliary mel head).
|
| 114 |
+
|
| 115 |
+
## Training data
|
| 116 |
+
|
| 117 |
+
The dataset is **synthetic only**, with no recorded human speech: about 91,600 clips (180 h) of one synthetic
|
| 118 |
+
voice, of which 86,438 training clips (173 h) passed forced alignment. 160 held-out sentences (20 per style) were
|
| 119 |
+
kept for validation and 160 for test.
|
| 120 |
+
|
| 121 |
+
- **Text:** Hebrew sentences from news (archive, HeSum, RSS), HeDC4 web text and stories, Hebrew
|
| 122 |
+
Wikipedia, ivrit.ai transcripts and LLM-written scenes, among them emotional, dialogue-heavy scenes written for
|
| 123 |
+
the expressive styles and sounds, plus short lines with hesitation fillers.
|
| 124 |
+
- **Spoken form:** an LLM rewrote numbers, dates, money, acronyms and Latin script as Hebrew words, and every answer
|
| 125 |
+
was checked by code.
|
| 126 |
+
- **Addressee gender:** an LLM decided the gender of ambiguous second-person words (לך, אותך, אמרת) in context.
|
| 127 |
+
The audio follows that decision. Where the decided words of a sentence agree, the phonemes use that listener;
|
| 128 |
+
otherwise the phonemizer decides from the sentence.
|
| 129 |
+
- **Styles:** an LLM picked a style for each dialogue sentence and inserted the tags; calm and whisper were assigned
|
| 130 |
+
to plain statements, and some expressive sentences were recorded in a second style. Each style was rendered with
|
| 131 |
+
one fixed delivery instruction; default is a bright, friendly delivery.
|
| 132 |
+
|
| 133 |
+
| Style | Aligned training clips |
|
| 134 |
+
|---|---|
|
| 135 |
+
| default | 54,318 |
|
| 136 |
+
| calm | 5,438 |
|
| 137 |
+
| whisper | 4,867 |
|
| 138 |
+
| surprised | 4,638 |
|
| 139 |
+
| angry | 4,556 |
|
| 140 |
+
| excited | 4,533 |
|
| 141 |
+
| sad | 4,120 |
|
| 142 |
+
| fearful | 3,968 |
|
| 143 |
+
|
| 144 |
+
Tags in the aligned clips (at most 2 per clip): breath 4,008, short pause 3,277, long pause 2,704,
|
| 145 |
+
chuckle 2,236, laugh 2,161, gasp 2,103, sigh 2,005, throat-clearing 1,101.
|
| 146 |
+
- **Labels:** phonemes from the phonemizer in this repository, with stress and the tags at their positions.
|
| 147 |
+
Durations come from forced alignment with
|
| 148 |
+
[facebook/wav2vec2-lv-60-espeak-cv-ft](https://huggingface.co/facebook/wav2vec2-lv-60-espeak-cv-ft), which is used
|
| 149 |
+
only for labeling and is not part of the model. A tag owns the sound up to the neighbouring phonemes.
|
| 150 |
+
|
| 151 |
+
## Limitations
|
| 152 |
+
|
| 153 |
+
- **Laughs and chuckles vary.** Some draws are full and some are thin; another `--seed` usually helps.
|
| 154 |
+
`<breath>` and `<sigh>` are quieter than speech, as they are in the data.
|
| 155 |
+
- **Melody and emphasis:** the melody is less varied than the recordings, and the emphasis of a sentence sometimes
|
| 156 |
+
lands on the wrong word. A tag does not reliably change the tone of the words after it.
|
| 157 |
+
- **Temperature trades life for stability:** the default playback is the steadier one. Above ~1, words can be
|
| 158 |
+
mispronounced and the sound can break.
|
| 159 |
+
- **Fearful is the weakest style:** more of its clips failed alignment than the other styles.
|
| 160 |
+
- **Pronunciation follows the bundled phonemizer.** בין and בית are read with *ej* (`bˈejn`, `bˈejt`). With no
|
| 161 |
+
listener and no cue in the sentence, "ראית את הסרט החדש, מיכל?" is read as masculine; `--addressee f` fixes it.
|
| 162 |
+
- **The speaker is a woman.** First person follows that (בודקת). There is no men's voice.
|
| 163 |
+
- One voice only. Sentences are synthesized independently, with no prosody carried between them.
|
| 164 |
+
|
| 165 |
+
## License
|
| 166 |
+
|
| 167 |
+
- **Code** (`pitput/`): Apache License 2.0. It is a fork of fiato by cfahlgren1 and tiny-voca by Muhammed Nazeem,
|
| 168 |
+
both Apache-2.0; see `NOTICE`, `LICENSE` and `LICENSE.tiny-voca`.
|
| 169 |
+
- **Phonemizer** (`phonemizer/`, code and weights): Apache License 2.0. `renikud_onnx.py` is from RenikudPlus by
|
| 170 |
+
notmax123, Apache-2.0; see `phonemizer/NOTICE`.
|
| 171 |
+
- **TTS weights and audio samples: private research use only, not licensed for redistribution or any commercial use.**
|
| 172 |
+
|
| 173 |
+
## Files
|
| 174 |
+
|
| 175 |
+
| File | Contents |
|
| 176 |
+
|---|---|
|
| 177 |
+
| `inference.pt` | Weights, model configuration and front-end fingerprint (loaded with `weights_only=True`) |
|
| 178 |
+
| `pitput/` | Inference code: `infer.py` (command line and `speak_text`), `model.py`, `text.py` (phoneme tokens), `read.py` (Hebrew to a label) |
|
| 179 |
+
| `phonemizer/` | The pronunciation model: `phonemizer.py`, `model.safetensors` (40 MB), `config.json` |
|
| 180 |
+
| `samples/` | The audio above |
|
| 181 |
+
| `config.json`, `recipe.json` | Model and training settings of this version |
|
| 182 |
+
| `requirements.txt` | Python dependencies |
|
| 183 |
+
| `NOTICE`, `LICENSE`, `LICENSE.tiny-voca` | Attribution and license of the code |
|
| 184 |
+
|
| 185 |
+
## Acknowledgements
|
| 186 |
+
|
| 187 |
+
[tiny-voca](https://github.com/n4ze3m/tiny-voca) for the architecture and training recipe,
|
| 188 |
+
[fiato](https://huggingface.co/cfahlgren1/fiato) for expression tags on it,
|
| 189 |
+
[RenikudPlus](https://huggingface.co/notmax123/RenikudPlus) for the phonemizer's per-letter distributions,
|
| 190 |
+
decoder and number reading, and the Hebrew text sources: HeDC4, HeSum, Hebrew Wikipedia and ivrit.ai.
|
config.json
CHANGED
|
@@ -48,36 +48,36 @@
|
|
| 48 |
[
|
| 49 |
0.0,
|
| 50 |
0.0,
|
| 51 |
-
0.
|
|
|
|
| 52 |
0.0,
|
| 53 |
0.0,
|
| 54 |
0.0,
|
| 55 |
0.0,
|
| 56 |
0.0,
|
|
|
|
| 57 |
0.0,
|
| 58 |
-
0.2827,
|
| 59 |
0.0,
|
| 60 |
0.0,
|
|
|
|
| 61 |
0.0,
|
| 62 |
-
0.0831,
|
| 63 |
0.0,
|
|
|
|
| 64 |
0.0,
|
| 65 |
0.0,
|
| 66 |
0.0,
|
| 67 |
-
0.
|
| 68 |
-
0.
|
| 69 |
0.0,
|
| 70 |
-
0.1478,
|
| 71 |
0.0,
|
| 72 |
0.0,
|
| 73 |
0.0,
|
| 74 |
0.0,
|
| 75 |
-
0.022,
|
| 76 |
0.0,
|
| 77 |
0.0,
|
|
|
|
| 78 |
0.0,
|
| 79 |
-
0.
|
| 80 |
-
0.0
|
| 81 |
]
|
| 82 |
],
|
| 83 |
[
|
|
@@ -85,35 +85,35 @@
|
|
| 85 |
[
|
| 86 |
0.0,
|
| 87 |
0.0,
|
| 88 |
-
0.
|
| 89 |
-
0.
|
| 90 |
-
0.0,
|
| 91 |
-
0.0,
|
| 92 |
0.0,
|
|
|
|
| 93 |
0.0,
|
| 94 |
0.0,
|
| 95 |
-
0.1804,
|
| 96 |
-
0.0176,
|
| 97 |
0.0,
|
|
|
|
|
|
|
|
|
|
| 98 |
0.0,
|
| 99 |
-
0.
|
|
|
|
| 100 |
0.0,
|
|
|
|
| 101 |
0.0,
|
| 102 |
-
0.0627,
|
| 103 |
0.0,
|
|
|
|
|
|
|
|
|
|
| 104 |
0.0,
|
| 105 |
-
0.0157,
|
| 106 |
-
0.1166,
|
| 107 |
-
0.1964,
|
| 108 |
0.0,
|
| 109 |
0.0,
|
| 110 |
0.0,
|
|
|
|
| 111 |
0.0,
|
| 112 |
0.0,
|
| 113 |
0.0,
|
| 114 |
-
0.
|
| 115 |
-
0.0438,
|
| 116 |
-
0.0,
|
| 117 |
0.0
|
| 118 |
]
|
| 119 |
],
|
|
@@ -122,36 +122,36 @@
|
|
| 122 |
[
|
| 123 |
0.0,
|
| 124 |
0.0,
|
| 125 |
-
0.
|
|
|
|
| 126 |
0.0,
|
| 127 |
0.0,
|
| 128 |
0.0,
|
|
|
|
| 129 |
0.0,
|
|
|
|
| 130 |
0.0,
|
| 131 |
0.0,
|
| 132 |
-
0.1235,
|
| 133 |
-
0.0316,
|
| 134 |
0.0,
|
|
|
|
| 135 |
0.0,
|
| 136 |
0.0,
|
|
|
|
| 137 |
0.0,
|
| 138 |
-
0.0371,
|
| 139 |
-
0.0271,
|
| 140 |
0.0,
|
| 141 |
-
0.0928,
|
| 142 |
0.0,
|
| 143 |
-
0.
|
| 144 |
-
0.
|
| 145 |
-
0.0486,
|
| 146 |
0.0,
|
| 147 |
0.0,
|
| 148 |
0.0,
|
| 149 |
0.0,
|
|
|
|
| 150 |
0.0,
|
| 151 |
-
0.075,
|
| 152 |
0.0,
|
| 153 |
-
0.
|
| 154 |
-
0.
|
|
|
|
| 155 |
]
|
| 156 |
],
|
| 157 |
[
|
|
@@ -159,35 +159,35 @@
|
|
| 159 |
[
|
| 160 |
0.0,
|
| 161 |
0.0,
|
| 162 |
-
0.
|
| 163 |
0.0,
|
| 164 |
0.0,
|
| 165 |
0.0,
|
| 166 |
0.0,
|
| 167 |
0.0,
|
|
|
|
|
|
|
| 168 |
0.0,
|
| 169 |
-
0.
|
| 170 |
0.0,
|
| 171 |
-
0.
|
| 172 |
-
0.0434,
|
| 173 |
-
0.0859,
|
| 174 |
0.0,
|
| 175 |
0.0,
|
| 176 |
0.0,
|
| 177 |
0.0,
|
|
|
|
| 178 |
0.0,
|
| 179 |
-
0.
|
| 180 |
-
0.
|
| 181 |
-
0.1765,
|
| 182 |
0.0,
|
| 183 |
-
0.
|
| 184 |
0.0,
|
| 185 |
0.0,
|
|
|
|
|
|
|
| 186 |
0.0,
|
| 187 |
-
0.
|
| 188 |
-
0.
|
| 189 |
-
0.0,
|
| 190 |
-
0.0813,
|
| 191 |
0.0
|
| 192 |
]
|
| 193 |
],
|
|
@@ -196,71 +196,71 @@
|
|
| 196 |
[
|
| 197 |
0.0,
|
| 198 |
0.0,
|
| 199 |
-
0.
|
| 200 |
0.0,
|
| 201 |
0.0,
|
| 202 |
0.0,
|
| 203 |
0.0,
|
| 204 |
0.0,
|
| 205 |
0.0,
|
| 206 |
-
0.
|
| 207 |
0.0,
|
| 208 |
0.0,
|
| 209 |
-
0.
|
| 210 |
-
0.
|
|
|
|
| 211 |
0.0,
|
| 212 |
0.0,
|
| 213 |
-
0.055,
|
| 214 |
-
0.0661,
|
| 215 |
0.0,
|
|
|
|
| 216 |
0.0,
|
| 217 |
0.0,
|
| 218 |
-
0.
|
| 219 |
0.0,
|
|
|
|
| 220 |
0.0,
|
| 221 |
0.0,
|
| 222 |
0.0,
|
| 223 |
0.0,
|
| 224 |
0.0,
|
| 225 |
-
0.0523,
|
| 226 |
0.0,
|
| 227 |
0.0,
|
| 228 |
-
0.
|
| 229 |
]
|
| 230 |
],
|
| 231 |
[
|
| 232 |
"<throat-clearing>",
|
| 233 |
[
|
| 234 |
-
0.0,
|
| 235 |
-
0.0,
|
| 236 |
-
0.1313,
|
| 237 |
-
0.0,
|
| 238 |
0.0,
|
| 239 |
0.0,
|
| 240 |
0.0,
|
| 241 |
0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
0.0,
|
|
|
|
| 243 |
0.0,
|
|
|
|
| 244 |
0.0,
|
| 245 |
-
0.
|
| 246 |
-
0.1558,
|
| 247 |
-
0.0671,
|
| 248 |
-
0.0122,
|
| 249 |
0.0,
|
| 250 |
0.0,
|
| 251 |
0.0,
|
| 252 |
0.0,
|
| 253 |
0.0,
|
| 254 |
-
0.0993,
|
| 255 |
-
0.2141,
|
| 256 |
0.0,
|
|
|
|
|
|
|
|
|
|
| 257 |
0.0,
|
| 258 |
0.0,
|
|
|
|
| 259 |
0.0,
|
| 260 |
0.0,
|
| 261 |
0.0,
|
| 262 |
0.0,
|
| 263 |
-
0.1178,
|
| 264 |
0.0,
|
| 265 |
0.0
|
| 266 |
]
|
|
|
|
| 48 |
[
|
| 49 |
0.0,
|
| 50 |
0.0,
|
| 51 |
+
0.2285,
|
| 52 |
+
0.0236,
|
| 53 |
0.0,
|
| 54 |
0.0,
|
| 55 |
0.0,
|
| 56 |
0.0,
|
| 57 |
0.0,
|
| 58 |
+
0.1703,
|
| 59 |
0.0,
|
|
|
|
| 60 |
0.0,
|
| 61 |
0.0,
|
| 62 |
+
0.1437,
|
| 63 |
0.0,
|
|
|
|
| 64 |
0.0,
|
| 65 |
+
0.0218,
|
| 66 |
0.0,
|
| 67 |
0.0,
|
| 68 |
0.0,
|
| 69 |
+
0.1002,
|
| 70 |
+
0.1853,
|
| 71 |
0.0,
|
|
|
|
| 72 |
0.0,
|
| 73 |
0.0,
|
| 74 |
0.0,
|
| 75 |
0.0,
|
|
|
|
| 76 |
0.0,
|
| 77 |
0.0,
|
| 78 |
+
0.0581,
|
| 79 |
0.0,
|
| 80 |
+
0.0684
|
|
|
|
| 81 |
]
|
| 82 |
],
|
| 83 |
[
|
|
|
|
| 85 |
[
|
| 86 |
0.0,
|
| 87 |
0.0,
|
| 88 |
+
0.145,
|
| 89 |
+
0.0162,
|
|
|
|
|
|
|
| 90 |
0.0,
|
| 91 |
+
0.0195,
|
| 92 |
0.0,
|
| 93 |
0.0,
|
|
|
|
|
|
|
| 94 |
0.0,
|
| 95 |
+
0.0729,
|
| 96 |
+
0.0325,
|
| 97 |
+
0.0206,
|
| 98 |
0.0,
|
| 99 |
+
0.1845,
|
| 100 |
+
0.0341,
|
| 101 |
0.0,
|
| 102 |
+
0.0216,
|
| 103 |
0.0,
|
|
|
|
| 104 |
0.0,
|
| 105 |
+
0.0183,
|
| 106 |
+
0.1334,
|
| 107 |
+
0.2361,
|
| 108 |
0.0,
|
|
|
|
|
|
|
|
|
|
| 109 |
0.0,
|
| 110 |
0.0,
|
| 111 |
0.0,
|
| 112 |
+
0.0255,
|
| 113 |
0.0,
|
| 114 |
0.0,
|
| 115 |
0.0,
|
| 116 |
+
0.0397,
|
|
|
|
|
|
|
| 117 |
0.0
|
| 118 |
]
|
| 119 |
],
|
|
|
|
| 122 |
[
|
| 123 |
0.0,
|
| 124 |
0.0,
|
| 125 |
+
0.1093,
|
| 126 |
+
0.0,
|
| 127 |
0.0,
|
| 128 |
0.0,
|
| 129 |
0.0,
|
| 130 |
+
0.0265,
|
| 131 |
0.0,
|
| 132 |
+
0.1457,
|
| 133 |
0.0,
|
| 134 |
0.0,
|
|
|
|
|
|
|
| 135 |
0.0,
|
| 136 |
+
0.1311,
|
| 137 |
0.0,
|
| 138 |
0.0,
|
| 139 |
+
0.0431,
|
| 140 |
0.0,
|
|
|
|
|
|
|
| 141 |
0.0,
|
|
|
|
| 142 |
0.0,
|
| 143 |
+
0.1362,
|
| 144 |
+
0.1539,
|
|
|
|
| 145 |
0.0,
|
| 146 |
0.0,
|
| 147 |
0.0,
|
| 148 |
0.0,
|
| 149 |
+
0.0746,
|
| 150 |
0.0,
|
|
|
|
| 151 |
0.0,
|
| 152 |
+
0.0806,
|
| 153 |
+
0.0989,
|
| 154 |
+
0.0
|
| 155 |
]
|
| 156 |
],
|
| 157 |
[
|
|
|
|
| 159 |
[
|
| 160 |
0.0,
|
| 161 |
0.0,
|
| 162 |
+
0.0672,
|
| 163 |
0.0,
|
| 164 |
0.0,
|
| 165 |
0.0,
|
| 166 |
0.0,
|
| 167 |
0.0,
|
| 168 |
+
0.0255,
|
| 169 |
+
0.1226,
|
| 170 |
0.0,
|
| 171 |
+
0.0166,
|
| 172 |
0.0,
|
| 173 |
+
0.1392,
|
|
|
|
|
|
|
| 174 |
0.0,
|
| 175 |
0.0,
|
| 176 |
0.0,
|
| 177 |
0.0,
|
| 178 |
+
0.0651,
|
| 179 |
0.0,
|
| 180 |
+
0.1239,
|
| 181 |
+
0.1299,
|
|
|
|
| 182 |
0.0,
|
| 183 |
+
0.057,
|
| 184 |
0.0,
|
| 185 |
0.0,
|
| 186 |
+
0.0763,
|
| 187 |
+
0.0319,
|
| 188 |
0.0,
|
| 189 |
+
0.1024,
|
| 190 |
+
0.0425,
|
|
|
|
|
|
|
| 191 |
0.0
|
| 192 |
]
|
| 193 |
],
|
|
|
|
| 196 |
[
|
| 197 |
0.0,
|
| 198 |
0.0,
|
| 199 |
+
0.155,
|
| 200 |
0.0,
|
| 201 |
0.0,
|
| 202 |
0.0,
|
| 203 |
0.0,
|
| 204 |
0.0,
|
| 205 |
0.0,
|
| 206 |
+
0.2315,
|
| 207 |
0.0,
|
| 208 |
0.0,
|
| 209 |
+
0.025,
|
| 210 |
+
0.0941,
|
| 211 |
+
0.0138,
|
| 212 |
0.0,
|
| 213 |
0.0,
|
|
|
|
|
|
|
| 214 |
0.0,
|
| 215 |
+
0.1531,
|
| 216 |
0.0,
|
| 217 |
0.0,
|
| 218 |
+
0.1211,
|
| 219 |
0.0,
|
| 220 |
+
0.1416,
|
| 221 |
0.0,
|
| 222 |
0.0,
|
| 223 |
0.0,
|
| 224 |
0.0,
|
| 225 |
0.0,
|
|
|
|
| 226 |
0.0,
|
| 227 |
0.0,
|
| 228 |
+
0.0649
|
| 229 |
]
|
| 230 |
],
|
| 231 |
[
|
| 232 |
"<throat-clearing>",
|
| 233 |
[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 234 |
0.0,
|
| 235 |
0.0,
|
| 236 |
0.0,
|
| 237 |
0.0,
|
| 238 |
+
0.0136,
|
| 239 |
+
0.0123,
|
| 240 |
+
0.0128,
|
| 241 |
+
0.0385,
|
| 242 |
0.0,
|
| 243 |
+
0.0313,
|
| 244 |
0.0,
|
| 245 |
+
0.2644,
|
| 246 |
0.0,
|
| 247 |
+
0.2723,
|
|
|
|
|
|
|
|
|
|
| 248 |
0.0,
|
| 249 |
0.0,
|
| 250 |
0.0,
|
| 251 |
0.0,
|
| 252 |
0.0,
|
|
|
|
|
|
|
| 253 |
0.0,
|
| 254 |
+
0.0919,
|
| 255 |
+
0.2041,
|
| 256 |
+
0.0403,
|
| 257 |
0.0,
|
| 258 |
0.0,
|
| 259 |
+
0.0185,
|
| 260 |
0.0,
|
| 261 |
0.0,
|
| 262 |
0.0,
|
| 263 |
0.0,
|
|
|
|
| 264 |
0.0,
|
| 265 |
0.0
|
| 266 |
]
|
inference.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:625fdbb2c5deeddae0a2ef15caeff43b228b14e7a6b90122e7184253f1553c7d
|
| 3 |
+
size 20070269
|
recipe.json
CHANGED
|
@@ -31,6 +31,9 @@
|
|
| 31 |
"judge_steps": 8,
|
| 32 |
"judge_pitch_gradient": 0.1,
|
| 33 |
"judge_every": 3,
|
|
|
|
|
|
|
|
|
|
| 34 |
"weights": {
|
| 35 |
"duration": 1.0,
|
| 36 |
"pause": 1.0,
|
|
@@ -112,5 +115,5 @@
|
|
| 112 |
"87782f985a4a9daff29a536b339ad0e00597ef1a80ac0e783ce8b40d46c0f9f1",
|
| 113 |
"aad53fc9315e5fe414b0e5fe36db533907b34270ac737e4ef73dd7007998ecbc"
|
| 114 |
],
|
| 115 |
-
"step":
|
| 116 |
}
|
|
|
|
| 31 |
"judge_steps": 8,
|
| 32 |
"judge_pitch_gradient": 0.1,
|
| 33 |
"judge_every": 3,
|
| 34 |
+
"judge_lr": 0.25,
|
| 35 |
+
"judge_noise": 0.5,
|
| 36 |
+
"judge_pitch_anchor": 2.0,
|
| 37 |
"weights": {
|
| 38 |
"duration": 1.0,
|
| 39 |
"pause": 1.0,
|
|
|
|
| 115 |
"87782f985a4a9daff29a536b339ad0e00597ef1a80ac0e783ce8b40d46c0f9f1",
|
| 116 |
"aad53fc9315e5fe414b0e5fe36db533907b34270ac737e4ef73dd7007998ecbc"
|
| 117 |
],
|
| 118 |
+
"step": 90000
|
| 119 |
}
|
samples/01-default.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b2021b13a266c8a6f0c619310811ad0fd05dd424fe6ecc03bef3861d2c2b473
|
| 3 |
+
size 387116
|
samples/02-default.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:076e74f2dcd94cfd189b76ab102b9c32b4a0f6896b892892537716b3e93f4db5
|
| 3 |
+
size 200748
|
samples/03-default.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d64f52e1a1017700f694203265fce731bf0a7727b6e67699906b67187ef8b078
|
| 3 |
+
size 340012
|
samples/04-excited.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92070569065b0a6a7151003beeec1007c4555e426891c2d7e213031abe7aff56
|
| 3 |
+
size 169004
|
samples/05-sad.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d08fe77acb2e0097f1eb4fda8956c10660eabad51708ab8fcc17819c961505d3
|
| 3 |
+
size 272940
|
samples/06-angry.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75c68f33afcc9e0db3da7283778ab40ff9f9dff2ae374fda59c9c0dc964cf11b
|
| 3 |
+
size 154156
|
samples/07-fearful.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d42ac7c1caec9eda7d1499b3ec4dcc588ec242f3013a98abc19560bebe7b769f
|
| 3 |
+
size 185388
|
samples/08-surprised.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b248f82c7c2d0ad1f6de6668ba701f828372652d888a541366c289427ec228d2
|
| 3 |
+
size 179756
|
samples/09-calm.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:403e6cb22a283297bc8e185c788b4bb4296bf5e83b03f6b1740f32f29f7b343a
|
| 3 |
+
size 329260
|
samples/10-whisper.wav
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b8038592e7d16bb9952aa5078c94accdc35e9ef2960392e3703963cb756f036
|
| 3 |
+
size 186412
|