Text-to-Speech
Piper
ONNX
tts
voaice
voice
mindx
Gregory-L commited on
Commit
b2bd15e
·
verified ·
1 Parent(s): bf425de

piper voices: lt_LT (unchanged from rhasspy/piper-voices)

Browse files
piper/lt_LT/reginute1/medium/MODEL_CARD ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Model card for reginute1 (medium)
2
+
3
+ * Language: lt_LT (Lithuanian, Lithuania)
4
+ * Speakers: 1
5
+ * Quality: medium
6
+ * Samplerate: 22,050Hz
7
+
8
+ ## Dataset
9
+
10
+ * URL: https://huggingface.co/datasets/meldynamics/liepa-tts
11
+ * License: CC-BY-4.0
12
+
13
+ LIEPA corpus, Vilnius University. One speaker — a professional actress, not
14
+ named here on purpose (the licence credits the publishers, not the person) —
15
+ studio recordings, 5 121 utterances, ~3 hours. Stress and pitch
16
+ accents in the training transcriptions come from the corpus' own annotation,
17
+ sentence by sentence.
18
+
19
+ ## Training
20
+
21
+ Fine-tuned from the Piper catalogue checkpoint `ru_RU-irina-medium`
22
+ (`rhasspy/piper-checkpoints`), which is itself fine-tuned from
23
+ `en_US-lessac-medium`. Training data licence is CC-BY-4.0; the lineage above is
24
+ stated so that the base-model question (see piper-voices discussion #94) is
25
+ visible rather than hidden.
26
+
27
+ Released checkpoint: **epoch 9193, val_mel 0.3603** (training stopped 2026-09-06,
28
+ the last ~900 epochs moved val_mel by 0.0015 and the ear no longer heard a
29
+ difference). The training checkpoint is shipped alongside the model
30
+ (`lt_LT-reginute1-medium-e9193.ckpt`, 269 MB,
31
+ optimizer state stripped) so that another Lithuanian voice can start from this
32
+ one rather than from a Russian checkpoint. Both the generator and the
33
+ discriminator are included, since a GAN needs both to continue training.
34
+
35
+ ## Phonemization — please read
36
+
37
+ This voice uses `phoneme_type: text` with a custom `phoneme_id_map`
38
+ (IPA + three Lithuanian accent marks `ˈ ˌ ˋ`). It does **not** use espeak-ng at
39
+ synthesis time, because espeak-ng misplaces Lithuanian stress in roughly half
40
+ of the words against the corpus' gold annotation.
41
+
42
+ Text must therefore be phonemized by `phonemize_lithuanian.py` (shipped with
43
+ the voice; submitted as a `PhonemeType.LITHUANIAN` contribution to piper1-gpl)
44
+ together with the stress dictionary `lt_kirciai.tsv`. Plain Piper without the
45
+ phonemizer feeds the model raw letters and will not produce Lithuanian.
46
+
47
+ Two configs exist for the same model, on purpose:
48
+
49
+ * **piper-voices catalogue:** `"phoneme_type": "lithuanian"` — Piper runs the
50
+ phonemizer itself (needs a Piper that includes the piper1-gpl contribution;
51
+ an older Piper refuses to load the voice with a clear error rather than
52
+ producing noise). Put `lt_kirciai.tsv` from this repo next to the model or
53
+ pass `--data-dir`; the catalogue folder holds only the model and config,
54
+ like every other voice.
55
+ * **this repo / older Piper:** `"phoneme_type": "text"` — you phonemize with
56
+ the module and pass IPA to Piper (`synth_reginute.py` does exactly that).
57
+
58
+ This is the same arrangement as the Hebrew (piper1-gpl #244), Chinese pinyin
59
+ (#271) and Japanese (#274) voices: the phoneme type names a phonemizer inside
60
+ Piper, and the catalogue folder holds only the model and the config. See the
61
+ voice repo README, section "For catalogue maintainers", for the merge order
62
+ and the two precedents for shipping the dictionary.
63
+
64
+ The module also normalizes text first (`skaiciu_pletiklis.py`, picked up
65
+ automatically when present, `expand_text=None` to disable): Lithuanian number
66
+ case endings, clock times, units and letter-by-letter abbreviations. Without
67
+ it espeak-ng reads `5000 eurų` as "penki tūkstantčei" and `15:00` as
68
+ "tūkstantis penkišimtai:".
69
+
70
+ Recommended: `normalize_audio=False` (the default `True` clips this voice).
71
+
72
+ ## Known limitations
73
+
74
+ Listed because you will meet them anyway, and finding them yourself after
75
+ being told everything is fine is worse than reading them here.
76
+
77
+ * **Single short words come out hurried and thin.** The corpus is made of
78
+ sentences: only 93 of its 5 121 utterances are short standalone ones, and
79
+ the word "du" (two) appears alone exactly once — as a question. Numbers
80
+ read one at a time are the worst case; inside a sentence the same words are
81
+ fine. A short phrase ending in a full stop is a pattern the model has
82
+ barely seen.
83
+ * **The stress dictionary has individual errors.** It is derived, not
84
+ hand-checked word by word. Two confirmed: `procentas` and
85
+ `kilovatvalandės` carry the stress on the wrong syllable, and in both
86
+ cases the word family disagrees with itself (`procentas` vs
87
+ `procentinis`). Expect more of the same kind, mostly in loanwords and
88
+ compounds.
89
+ * **Homographs are not solved and cannot be, by a dictionary.** Lithuanian
90
+ `nãmo` ("of the house") and `namõ` ("homewards") are spelled identically
91
+ and differ only in accent. A word-level lookup has no way to choose; that
92
+ needs sentence context.
93
+ * **The voice needs the phonemizer.** Plain `piper -m lt_LT-reginute1-medium.onnx`
94
+ will not speak Lithuanian — see the phonemization section above. This is
95
+ the one limitation that is architectural rather than a rough edge.
96
+ * **`length_scale` is a judgement, not a measurement.** The default 1.30 was
97
+ chosen by ear against recordings of the original speaker. Other listeners
98
+ may prefer faster; override it freely. (For what it is worth, the same
99
+ listener later compared the two side by side against the original speaker
100
+ reading the same text: this voice came out 1.2 % slower than her, so the
101
+ setting is at least not far off.)
102
+
103
+ None of these block ordinary use — the voice reads news, answers a smart
104
+ speaker and speaks long articles without a break. They are listed so that
105
+ you know what you are getting.
106
+
107
+ ## Attribution
108
+
109
+ * Stress dictionary derived from `svogunas/g2p-lt-lexicon` by Arūnas Smaliukas
110
+ (CC BY 4.0) and from the LIEPA annotations.
111
+ * LIEPA corpus (2013-2015) — Vilnius University (Institute of Mathematics and
112
+ Informatics; Faculty of Philology), with the Institute of the Lithuanian
113
+ Language, the Lithuanian University of Educational Sciences and Šiauliai
114
+ University. Project lead: prof. Laimutis Telksnys. Corpus work and
115
+ documentation: Gediminas Navickas.
116
+ * Published to Hugging Face as `meldynamics/liepa-tts` by MEL DYNAMICS, MB.
117
+ * Thanks to Vilnius University for publishing the corpus under an open licence
118
+ instead of keeping it.
piper/lt_LT/reginute1/medium/lt_LT-reginute1-medium.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0417c4ef351686ec0b0e7bf63426aefc72faea4a7693cfcb2f01ea8f6ee986ee
3
+ size 63516051
piper/lt_LT/reginute1/medium/lt_LT-reginute1-medium.onnx.json ADDED
@@ -0,0 +1,532 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio": {
3
+ "sample_rate": 22050,
4
+ "quality": "medium"
5
+ },
6
+ "espeak": {
7
+ "voice": "lt"
8
+ },
9
+ "inference": {
10
+ "noise_scale": 0.667,
11
+ "length_scale": 1.3,
12
+ "noise_w": 0.8
13
+ },
14
+ "phoneme_type": "lithuanian",
15
+ "phoneme_map": {},
16
+ "phoneme_id_map": {
17
+ "_": [
18
+ 0
19
+ ],
20
+ "^": [
21
+ 1
22
+ ],
23
+ "$": [
24
+ 2
25
+ ],
26
+ " ": [
27
+ 3
28
+ ],
29
+ "!": [
30
+ 4
31
+ ],
32
+ "'": [
33
+ 5
34
+ ],
35
+ "(": [
36
+ 6
37
+ ],
38
+ ")": [
39
+ 7
40
+ ],
41
+ ",": [
42
+ 8
43
+ ],
44
+ "-": [
45
+ 9
46
+ ],
47
+ ".": [
48
+ 10
49
+ ],
50
+ ":": [
51
+ 11
52
+ ],
53
+ ";": [
54
+ 12
55
+ ],
56
+ "?": [
57
+ 13
58
+ ],
59
+ "a": [
60
+ 14
61
+ ],
62
+ "b": [
63
+ 15
64
+ ],
65
+ "c": [
66
+ 16
67
+ ],
68
+ "d": [
69
+ 17
70
+ ],
71
+ "e": [
72
+ 18
73
+ ],
74
+ "f": [
75
+ 19
76
+ ],
77
+ "h": [
78
+ 20
79
+ ],
80
+ "i": [
81
+ 21
82
+ ],
83
+ "j": [
84
+ 22
85
+ ],
86
+ "k": [
87
+ 23
88
+ ],
89
+ "l": [
90
+ 24
91
+ ],
92
+ "m": [
93
+ 25
94
+ ],
95
+ "n": [
96
+ 26
97
+ ],
98
+ "o": [
99
+ 27
100
+ ],
101
+ "p": [
102
+ 28
103
+ ],
104
+ "q": [
105
+ 29
106
+ ],
107
+ "r": [
108
+ 30
109
+ ],
110
+ "s": [
111
+ 31
112
+ ],
113
+ "t": [
114
+ 32
115
+ ],
116
+ "u": [
117
+ 33
118
+ ],
119
+ "v": [
120
+ 34
121
+ ],
122
+ "w": [
123
+ 35
124
+ ],
125
+ "x": [
126
+ 36
127
+ ],
128
+ "y": [
129
+ 37
130
+ ],
131
+ "z": [
132
+ 38
133
+ ],
134
+ "æ": [
135
+ 39
136
+ ],
137
+ "ç": [
138
+ 40
139
+ ],
140
+ "ð": [
141
+ 41
142
+ ],
143
+ "ø": [
144
+ 42
145
+ ],
146
+ "ħ": [
147
+ 43
148
+ ],
149
+ "ŋ": [
150
+ 44
151
+ ],
152
+ "œ": [
153
+ 45
154
+ ],
155
+ "ǀ": [
156
+ 46
157
+ ],
158
+ "ǁ": [
159
+ 47
160
+ ],
161
+ "ǂ": [
162
+ 48
163
+ ],
164
+ "ǃ": [
165
+ 49
166
+ ],
167
+ "ɐ": [
168
+ 50
169
+ ],
170
+ "ɑ": [
171
+ 51
172
+ ],
173
+ "ɒ": [
174
+ 52
175
+ ],
176
+ "ɓ": [
177
+ 53
178
+ ],
179
+ "ɔ": [
180
+ 54
181
+ ],
182
+ "ɕ": [
183
+ 55
184
+ ],
185
+ "ɖ": [
186
+ 56
187
+ ],
188
+ "ɗ": [
189
+ 57
190
+ ],
191
+ "ɘ": [
192
+ 58
193
+ ],
194
+ "ə": [
195
+ 59
196
+ ],
197
+ "ɚ": [
198
+ 60
199
+ ],
200
+ "ɛ": [
201
+ 61
202
+ ],
203
+ "ɜ": [
204
+ 62
205
+ ],
206
+ "ɞ": [
207
+ 63
208
+ ],
209
+ "ɟ": [
210
+ 64
211
+ ],
212
+ "ɠ": [
213
+ 65
214
+ ],
215
+ "ɡ": [
216
+ 66
217
+ ],
218
+ "ɢ": [
219
+ 67
220
+ ],
221
+ "ɣ": [
222
+ 68
223
+ ],
224
+ "ɤ": [
225
+ 69
226
+ ],
227
+ "ɥ": [
228
+ 70
229
+ ],
230
+ "ɦ": [
231
+ 71
232
+ ],
233
+ "ɧ": [
234
+ 72
235
+ ],
236
+ "ɨ": [
237
+ 73
238
+ ],
239
+ "ɪ": [
240
+ 74
241
+ ],
242
+ "ɫ": [
243
+ 75
244
+ ],
245
+ "ɬ": [
246
+ 76
247
+ ],
248
+ "ɭ": [
249
+ 77
250
+ ],
251
+ "ɮ": [
252
+ 78
253
+ ],
254
+ "ɯ": [
255
+ 79
256
+ ],
257
+ "ɰ": [
258
+ 80
259
+ ],
260
+ "ɱ": [
261
+ 81
262
+ ],
263
+ "ɲ": [
264
+ 82
265
+ ],
266
+ "ɳ": [
267
+ 83
268
+ ],
269
+ "ɴ": [
270
+ 84
271
+ ],
272
+ "ɵ": [
273
+ 85
274
+ ],
275
+ "ɶ": [
276
+ 86
277
+ ],
278
+ "ɸ": [
279
+ 87
280
+ ],
281
+ "ɹ": [
282
+ 88
283
+ ],
284
+ "ɺ": [
285
+ 89
286
+ ],
287
+ "ɻ": [
288
+ 90
289
+ ],
290
+ "ɽ": [
291
+ 91
292
+ ],
293
+ "ɾ": [
294
+ 92
295
+ ],
296
+ "ʀ": [
297
+ 93
298
+ ],
299
+ "ʁ": [
300
+ 94
301
+ ],
302
+ "ʂ": [
303
+ 95
304
+ ],
305
+ "ʃ": [
306
+ 96
307
+ ],
308
+ "ʄ": [
309
+ 97
310
+ ],
311
+ "ʈ": [
312
+ 98
313
+ ],
314
+ "ʉ": [
315
+ 99
316
+ ],
317
+ "ʊ": [
318
+ 100
319
+ ],
320
+ "ʋ": [
321
+ 101
322
+ ],
323
+ "ʌ": [
324
+ 102
325
+ ],
326
+ "ʍ": [
327
+ 103
328
+ ],
329
+ "ʎ": [
330
+ 104
331
+ ],
332
+ "ʏ": [
333
+ 105
334
+ ],
335
+ "ʐ": [
336
+ 106
337
+ ],
338
+ "ʑ": [
339
+ 107
340
+ ],
341
+ "ʒ": [
342
+ 108
343
+ ],
344
+ "ʔ": [
345
+ 109
346
+ ],
347
+ "ʕ": [
348
+ 110
349
+ ],
350
+ "ʘ": [
351
+ 111
352
+ ],
353
+ "ʙ": [
354
+ 112
355
+ ],
356
+ "ʛ": [
357
+ 113
358
+ ],
359
+ "ʜ": [
360
+ 114
361
+ ],
362
+ "ʝ": [
363
+ 115
364
+ ],
365
+ "ʟ": [
366
+ 116
367
+ ],
368
+ "ʡ": [
369
+ 117
370
+ ],
371
+ "ʢ": [
372
+ 118
373
+ ],
374
+ "ʲ": [
375
+ 119
376
+ ],
377
+ "ˈ": [
378
+ 120
379
+ ],
380
+ "ˌ": [
381
+ 121
382
+ ],
383
+ "ː": [
384
+ 122
385
+ ],
386
+ "ˑ": [
387
+ 123
388
+ ],
389
+ "˞": [
390
+ 124
391
+ ],
392
+ "β": [
393
+ 125
394
+ ],
395
+ "θ": [
396
+ 126
397
+ ],
398
+ "χ": [
399
+ 127
400
+ ],
401
+ "ᵻ": [
402
+ 128
403
+ ],
404
+ "ⱱ": [
405
+ 129
406
+ ],
407
+ "0": [
408
+ 130
409
+ ],
410
+ "1": [
411
+ 131
412
+ ],
413
+ "2": [
414
+ 132
415
+ ],
416
+ "3": [
417
+ 133
418
+ ],
419
+ "4": [
420
+ 134
421
+ ],
422
+ "5": [
423
+ 135
424
+ ],
425
+ "6": [
426
+ 136
427
+ ],
428
+ "7": [
429
+ 137
430
+ ],
431
+ "8": [
432
+ 138
433
+ ],
434
+ "9": [
435
+ 139
436
+ ],
437
+ "̧": [
438
+ 140
439
+ ],
440
+ "̃": [
441
+ 141
442
+ ],
443
+ "̪": [
444
+ 142
445
+ ],
446
+ "̯": [
447
+ 143
448
+ ],
449
+ "̩": [
450
+ 144
451
+ ],
452
+ "ʰ": [
453
+ 145
454
+ ],
455
+ "ˤ": [
456
+ 146
457
+ ],
458
+ "ε": [
459
+ 147
460
+ ],
461
+ "↓": [
462
+ 148
463
+ ],
464
+ "#": [
465
+ 149
466
+ ],
467
+ "\"": [
468
+ 150
469
+ ],
470
+ "↑": [
471
+ 151
472
+ ],
473
+ "̺": [
474
+ 152
475
+ ],
476
+ "̻": [
477
+ 153
478
+ ],
479
+ "g": [
480
+ 154
481
+ ],
482
+ "ʦ": [
483
+ 155
484
+ ],
485
+ "X": [
486
+ 156
487
+ ],
488
+ "̝": [
489
+ 157
490
+ ],
491
+ "̊": [
492
+ 158
493
+ ],
494
+ "ɝ": [
495
+ 159
496
+ ],
497
+ "ʷ": [
498
+ 160
499
+ ],
500
+ "aɪ": [
501
+ 161
502
+ ],
503
+ "aʊ": [
504
+ 162
505
+ ],
506
+ "ɔɪ": [
507
+ 163
508
+ ],
509
+ "eɪ": [
510
+ 164
511
+ ],
512
+ "oʊ": [
513
+ 165
514
+ ],
515
+ "ˋ": [
516
+ 166
517
+ ]
518
+ },
519
+ "num_symbols": 256,
520
+ "num_speakers": 1,
521
+ "speaker_id_map": {},
522
+ "piper_version": "1.5.0",
523
+ "language": {
524
+ "code": "lt_LT",
525
+ "family": "lt",
526
+ "region": "LT",
527
+ "name_native": "Lietuvių",
528
+ "name_english": "Lithuanian",
529
+ "country_english": "Lithuania"
530
+ },
531
+ "dataset": "reginute1"
532
+ }