cloud0day3 commited on
Commit
86057be
·
verified ·
1 Parent(s): 8a79528

Card corrections: CER rank, 1.0.1 speed, training hours, Whisper coverage, Space, licences

Browse files

CER is the lowest of the 11 open-weights systems and second of 15 on the public re-run. Apple M5 numbers re-measured with 1.0.1; the L40S and EPYC comparisons are labelled 1.0.0. Training data is about 1,790 h with the short set, and Whisper checked all sentence clips but only 7,500 short clips. The Space runs the same weights with 1.0.0's output EQ. cmudict licence statement corrected.

Files changed (2) hide show
  1. NOTICE +3 -2
  2. README.md +50 -27
NOTICE CHANGED
@@ -8,8 +8,9 @@ This package includes PatientDesk AI's Turkish text normaliser (antalia_mini/tex
8
  antalia_mini/text/foreign.py, antalia_mini/text/data/lexicon.json, antalia_mini/text/data/tr_vocab.json),
9
  released under the same licence. Vendored verbatim from turkish-tts commit 3ed2e60 (2026-10-07).
10
 
11
- At run time the normaliser uses the CMU Pronouncing Dictionary through the `cmudict` package
12
- (Copyright Carnegie Mellon University, BSD 2-Clause licence); it is a dependency, not included here.
 
13
 
14
  The model weights were trained on synthetic speech generated with VoxCPM2 (OpenBMB, Apache-2.0).
15
 
 
8
  antalia_mini/text/foreign.py, antalia_mini/text/data/lexicon.json, antalia_mini/text/data/tr_vocab.json),
9
  released under the same licence. Vendored verbatim from turkish-tts commit 3ed2e60 (2026-10-07).
10
 
11
+ At run time the normaliser uses the CMU Pronouncing Dictionary through the `cmudict` Python package; it is
12
+ a dependency, not included here. PyPI lists that package as GPL-3.0-or-later. The dictionary data inside it
13
+ is Copyright Carnegie Mellon University, under a BSD-style licence.
14
 
15
  The model weights were trained on synthetic speech generated with VoxCPM2 (OpenBMB, Apache-2.0).
16
 
README.md CHANGED
@@ -19,7 +19,9 @@ tags:
19
  sayıları, tarihleri, saatleri, tutarları, kısaltmaları ve metindeki İngilizce ya da marka adlarını kendi
20
  normalleştiricisiyle okunuşa çevirir. Ses sentetik bir erkek sesidir (Antalia-2'nin sesi): gerçek bir
21
  kişinin sesi değildir ve eğitim verisinde gerçek konuşmacı kaydı yoktur. Kod ve model ağırlıkları
22
- Apache-2.0 lisanslıdır. Kurulum: `pip install antalia-mini`. Tarayıcınızda deneyin: https://huggingface.co/spaces/cloud0day3/antalia-mini
 
 
23
 
24
  ---
25
 
@@ -29,7 +31,8 @@ CPU. It takes raw Turkish text: a text normaliser inside the package turns numbe
29
  amounts, initialisms, web addresses and English or brand words into the way a Turkish speaker says them.
30
 
31
  **Try it in your browser:** [huggingface.co/spaces/cloud0day3/antalia-mini](https://huggingface.co/spaces/cloud0day3/antalia-mini)
32
- runs this release entirely on your device with ONNX Runtime Web (no server; the text never leaves the page).
 
33
 
34
  The voice is a synthetic male voice (Antalia-2's voice), not a real person, and the training data
35
  contains no recordings of real speakers. The code and the weights are licensed under Apache-2.0. Its
@@ -128,14 +131,14 @@ Freya-TR-Eval ([freyavoice/freya-tr-eval](https://huggingface.co/datasets/freyav
128
 
129
  Antalia-2 Mini and EMA Lightning are level on intelligibility. On this harness 1.0.1 has WER 1.02% vs
130
  1.00% and CER 0.21% vs 0.20%; in a second, independent run on the public benchmark page's harness (other
131
- seeds, one NVIDIA L4) it has CER 0.220% vs 0.225%, the lowest of the 15 Turkish systems measured there,
132
- and WER 1.09% vs 1.04%. Both models vary by about ±0.1 WER from seed to seed, so these differences are
133
- within noise. EMA Lightning is ahead on full-band UTMOS (3.30 vs 3.18); Antalia-2 Mini scores higher on
134
  UTMOS in the 8 kHz band, the band a phone call carries, and is smaller (7.62M vs 8.6M parameters). EMA
135
  Lightning's own card reports 0.92 / 0.18 / ~3.30 on the same protocol.
136
 
137
- 1.0.1 changed only the output EQ, which listeners preferred to 1.0.0's darker tone; the automatic scores
138
- moved slightly against it (UTMOS 3.25 → 3.18, WER 0.97 → 1.02 here). 1.0.0's numbers are kept for
139
  reference, and its tone is one argument away (see above).
140
 
141
  The two reading fixes (see Quickstart) were found by studying where the model went wrong: the first
@@ -174,9 +177,13 @@ Sorted by WER; best value per column in bold; API systems have no RTF.
174
  | 14 | Coqui GlowTTS (tr common-voice, lowercased input) | 28M | 10.93 ± 0.00 | 2.96 | 46.1% | 3.08 | 0.015 |
175
  | 15 | FreyaTTS-small (default voice) | 183M | 12.02 ± 0.00 | 4.95 | 47.1% | 2.81 | 0.286 |
176
 
177
- Antalia-2 Mini makes the fewest character errors of the 15 systems, by a narrow margin over EMA Lightning
178
- (CER given to three decimals for those two, which round to the same 0.22), and is second on word errors,
179
- 0.05 points behind, within either model's seed-to-seed spread. (1.0.0 scored 1.05 / 0.20 / 93.1% / 3.25
 
 
 
 
180
  there.) EMA Lightning is about 1.7 times faster on the L4 at Antalia-2 Mini's default 8 steps. "Clean sentences" is the share of sentences
181
  transcribed without a single word error.
182
 
@@ -187,19 +194,26 @@ transcribed without a single word error.
187
  | Parameters | 7.62M (acoustic 3.69M + vocoder 3.93M) | 8.6M |
188
  | Weights | 30.5 MB fp32, 15.3 MB fp16 | |
189
  | Output | 48 kHz (24 / 16 / 8 kHz by resampling) | |
190
- | RTF, NVIDIA L40S, batch 1 | 0.026 | 0.0126 (plain PyTorch, same machine) |
191
- | RTF, CPU, 8 cores (AMD EPYC 7R13) | 0.052 | 0.071 (same machine) |
192
- | RTF, Apple M5 CPU, 2 threads | 0.019 | |
193
- | Time to first audio, `stream()`, Apple M5 CPU | 0.06 s | |
194
 
195
  RTF is synthesis time divided by audio duration (lower is faster; 0.01 means one second of speech takes
196
  10 ms), default settings (8 steps, cfg 2.0), batch 1 after a warm-up, the first 100 benchmark sentences,
197
- through each package's own API (text normalisation and output processing included), measured with 1.0.0
198
- (1.0.1 builds its output filter once instead of per sentence and is a little faster). On a GPU, single
199
- requests are about 2 times slower than EMA Lightning's at the default 8 steps; on a CPU, Antalia-2 Mini
200
- is about 1.4 times faster on the same 8 cores. On an Apple M5 laptop it speaks about 50 times faster
201
- than real time on 2 CPU threads. The Apple M5 numbers were measured with other applications running,
202
- so a quiet machine may be a little faster. On Apple Silicon the
 
 
 
 
 
 
 
203
  package uses 2 CPU threads by default, which measured faster than 4 or more; elsewhere set
204
  `Antalia(threads=N)` to taste.
205
 
@@ -224,19 +238,26 @@ input and cannot clone voices.
224
 
225
  ## Training data
226
 
227
- About 1,578 hours of synthetic speech, all in Antalia-2's voice, generated with
228
- [VoxCPM2](https://huggingface.co/openbmb/VoxCPM2) (OpenBMB, Apache-2.0) from a reference of that voice. No
229
- recordings of real speakers were used. The text came from:
 
 
230
 
231
  - Turkish Wikipedia (CC BY-SA 4.0) and FineWeb-2 Turkish (ODC-By 1.0);
232
  - customer-service style sentences (appointments, banking, retail, deliveries) written with a
233
  language model (Qwen3);
234
  - templates for numbers, dates, times, amounts, phone numbers and codes;
 
 
 
235
  - all of it passed through the same normaliser the package uses, and sentences overlapping
236
  Freya-TR-Eval removed.
237
 
238
- Every generated clip was checked automatically (Whisper large-v3 transcript against the text, UTMOS,
239
- and similarity to the voice) and dropped if it failed.
 
 
240
 
241
  ## Text normaliser
242
 
@@ -274,7 +295,9 @@ shows its output.
274
  ## License
275
 
276
  The code, the text normaliser and the model weights are all licensed under Apache-2.0 (see LICENSE and
277
- NOTICE in this repository). The `cmudict` dependency is BSD-licensed.
 
 
278
 
279
  ## Credits
280
 
@@ -283,7 +306,7 @@ NOTICE in this repository). The `cmudict` dependency is BSD-licensed.
283
  for the benchmark.
284
  - [EMA Lightning](https://pypi.org/project/ema-lightning/), the Turkish model we compare against.
285
  - The CMU Pronouncing Dictionary, through the `cmudict` package.
286
- - Turkish Wikipedia and FineWeb-2 for the training text.
287
 
288
  ## Citation
289
 
 
19
  sayıları, tarihleri, saatleri, tutarları, kısaltmaları ve metindeki İngilizce ya da marka adlarını kendi
20
  normalleştiricisiyle okunuşa çevirir. Ses sentetik bir erkek sesidir (Antalia-2'nin sesi): gerçek bir
21
  kişinin sesi değildir ve eğitim verisinde gerçek konuşmacı kaydı yoktur. Kod ve model ağırlıkları
22
+ Apache-2.0 lisanslıdır; bağımlılıklardan `cmudict` pakete dahil değildir ve kendi lisanslarına tabidir
23
+ (Python paketi PyPI'da GPL-3.0-or-later, içindeki CMU sözlük verisi BSD tarzı). Kurulum: `pip install antalia-mini`.
24
+ Tarayıcınızda deneyin (aynı ağırlıklar, 1.0.0 sürümünün çıkış EQ ayarıyla): https://huggingface.co/spaces/cloud0day3/antalia-mini
25
 
26
  ---
27
 
 
31
  amounts, initialisms, web addresses and English or brand words into the way a Turkish speaker says them.
32
 
33
  **Try it in your browser:** [huggingface.co/spaces/cloud0day3/antalia-mini](https://huggingface.co/spaces/cloud0day3/antalia-mini)
34
+ runs the same weights entirely on your device with ONNX Runtime Web (no server; the text never leaves the page).
35
+ It still uses 1.0.0's darker output EQ, so it sounds a little different from this release's default.
36
 
37
  The voice is a synthetic male voice (Antalia-2's voice), not a real person, and the training data
38
  contains no recordings of real speakers. The code and the weights are licensed under Apache-2.0. Its
 
131
 
132
  Antalia-2 Mini and EMA Lightning are level on intelligibility. On this harness 1.0.1 has WER 1.02% vs
133
  1.00% and CER 0.21% vs 0.20%; in a second, independent run on the public benchmark page's harness (other
134
+ seeds, one NVIDIA L4) it has CER 0.220% vs 0.225%, the lowest of the 11 open-weights systems measured
135
+ there and second of all 15 (see below), and WER 1.09% vs 1.04%. Both models vary by about ±0.1 WER from
136
+ seed to seed, so these differences are within noise. EMA Lightning is ahead on full-band UTMOS (3.30 vs 3.18); Antalia-2 Mini scores higher on
137
  UTMOS in the 8 kHz band, the band a phone call carries, and is smaller (7.62M vs 8.6M parameters). EMA
138
  Lightning's own card reports 0.92 / 0.18 / ~3.30 on the same protocol.
139
 
140
+ 1.0.1 changed only the output EQ, chosen by ear by the authors after outside feedback on 1.0.0's darker
141
+ tone; the automatic scores moved slightly against it (UTMOS 3.25 → 3.18, WER 0.97 → 1.02 here). 1.0.0's numbers are kept for
142
  reference, and its tone is one argument away (see above).
143
 
144
  The two reading fixes (see Quickstart) were found by studying where the model went wrong: the first
 
177
  | 14 | Coqui GlowTTS (tr common-voice, lowercased input) | 28M | 10.93 ± 0.00 | 2.96 | 46.1% | 3.08 | 0.015 |
178
  | 15 | FreyaTTS-small (default voice) | 183M | 12.02 ± 0.00 | 4.95 | 47.1% | 2.81 | 0.286 |
179
 
180
+ Antalia-2 Mini's CER is the lowest of the 11 open-weights systems (0.220, against 0.225 for EMA Lightning and
181
+ 0.229 for Trendyol-TTS; CER is given to three decimals for the first two, which round to the same 0.22) and
182
+ second of all 15, behind our own closed Alania-2 with its voice Öncel (0.217, run on 12 October 2026; the table
183
+ shows Alania-2's default voice F1, run on 7 October). These gaps are 2 to 7 character errors in 80,922, none
184
+ distinguishable from zero (paired sentence bootstrap, 95%), and on the other harness (the first table above)
185
+ EMA Lightning is the lower one (0.198 against 0.205). On word errors Antalia-2 Mini is second, 0.05 points
186
+ behind EMA Lightning, within either model's seed-to-seed spread. (1.0.0 scored 1.05 / 0.20 / 93.1% / 3.25
187
  there.) EMA Lightning is about 1.7 times faster on the L4 at Antalia-2 Mini's default 8 steps. "Clean sentences" is the share of sentences
188
  transcribed without a single word error.
189
 
 
194
  | Parameters | 7.62M (acoustic 3.69M + vocoder 3.93M) | 8.6M |
195
  | Weights | 30.5 MB fp32, 15.3 MB fp16 | |
196
  | Output | 48 kHz (24 / 16 / 8 kHz by resampling) | |
197
+ | RTF, NVIDIA L40S, batch 1 (Antalia-2 Mini 1.0.0) | 0.026 | 0.0126 (plain PyTorch, same machine) |
198
+ | RTF, CPU, 8 vCPUs, AMD EPYC 7R13 (Antalia-2 Mini 1.0.0) | 0.052 | 0.071 (same machine) |
199
+ | RTF, Apple M5 CPU, 2 threads (1.0.1) | 0.024 | |
200
+ | Time to first audio, `stream()`, Apple M5 CPU (1.0.1) | 72 ms | |
201
 
202
  RTF is synthesis time divided by audio duration (lower is faster; 0.01 means one second of speech takes
203
  10 ms), default settings (8 steps, cfg 2.0), batch 1 after a warm-up, the first 100 benchmark sentences,
204
+ through each package's own API (text normalisation and output processing included). Time to first audio
205
+ is the first `stream()` chunk (2.8 s of audio) of the 8 samples above joined.
206
+
207
+ The L40S and EPYC rows were measured with 1.0.0, which rebuilt its output filter for every sentence. 1.0.1
208
+ builds it once and has not been timed on those two machines, so these comparisons hold for 1.0.0 only: on a
209
+ GPU, single requests of 1.0.0 are about 2 times slower than EMA Lightning's at the default 8 steps; on a CPU,
210
+ 1.0.0 is about 1.4 times faster on the same 8 vCPUs. For 1.0.1 the GPU comparison we have is the NVIDIA L4
211
+ table above: RTF 0.029, against 0.017 for EMA Lightning (same GPU type, all 495 sentences, 8 vCPUs for
212
+ Antalia-2 Mini and 16 for EMA Lightning) and 0.043 for 1.0.0.
213
+
214
+ On an Apple M5 laptop 1.0.1 speaks about 41 times faster than real time on 2 CPU threads. The Apple M5 numbers
215
+ were measured with other applications running, so a quiet machine may be a little faster. We have no EMA
216
+ Lightning number on that machine. On Apple Silicon the
217
  package uses 2 CPU threads by default, which measured faster than 4 or more; elsewhere set
218
  `Antalia(threads=N)` to taste.
219
 
 
238
 
239
  ## Training data
240
 
241
+ About 1,790 hours of synthetic speech, all in Antalia-2's voice, generated with
242
+ [VoxCPM2](https://huggingface.co/openbmb/VoxCPM2) (OpenBMB, Apache-2.0) from a reference of that voice: 1,582
243
+ hours of sentences up to about 25 seconds and 207 hours of short utterances. The acoustic model trained first
244
+ on the sentences, then was fine-tuned on both sets with the short clips weighted six times; the vocoder saw
245
+ only the sentences. No recordings of real speakers were used. The text came from:
246
 
247
  - Turkish Wikipedia (CC BY-SA 4.0) and FineWeb-2 Turkish (ODC-By 1.0);
248
  - customer-service style sentences (appointments, banking, retail, deliveries) written with a
249
  language model (Qwen3);
250
  - templates for numbers, dates, times, amounts, phone numbers and codes;
251
+ - for the short utterances: clauses of 2 to 6 words cut from the texts above, templates for short questions
252
+ and answers, interjections, names, places and number-only replies, and Turkish proverbs (Turkish Wiktionary
253
+ page titles, CC BY-SA);
254
  - all of it passed through the same normaliser the package uses, and sentences overlapping
255
  Freya-TR-Eval removed.
256
 
257
+ Every generated clip was checked automatically (UTMOS, speaking rate, pitch and similarity to the voice, with
258
+ relaxed rules for very short clips) and dropped if it failed. A Whisper large-v3 transcript was compared with
259
+ the text for all 917,297 sentence clips but for only 7,500 of the 444,437 short clips; the other 436,937 short
260
+ clips were not transcribed, so their words were not checked against the text.
261
 
262
  ## Text normaliser
263
 
 
295
  ## License
296
 
297
  The code, the text normaliser and the model weights are all licensed under Apache-2.0 (see LICENSE and
298
+ NOTICE in this repository). The `cmudict` dependency is not included here and has its own licences: PyPI lists
299
+ the Python package as GPL-3.0-or-later, and the CMU Pronouncing Dictionary data inside it carries a BSD-style
300
+ licence from Carnegie Mellon University.
301
 
302
  ## Credits
303
 
 
306
  for the benchmark.
307
  - [EMA Lightning](https://pypi.org/project/ema-lightning/), the Turkish model we compare against.
308
  - The CMU Pronouncing Dictionary, through the `cmudict` package.
309
+ - Turkish Wikipedia, Turkish Wiktionary and FineWeb-2 for the training text.
310
 
311
  ## Citation
312