audio-cpp commited on
Commit
047ec54
·
verified ·
1 Parent(s): 1b2445c

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -286,3 +286,5 @@ VoxMel-TTS-GGUF/voxmel-tts-0.6b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
286
  Rumble-2-Flash-GGUF/rumble-2-flash-f32.gguf filter=lfs diff=lfs merge=lfs -text
287
  KittenTTS-GGUF/kitten-tts-2-mini-f32.gguf filter=lfs diff=lfs merge=lfs -text
288
  Dettato-GGUF/dettato-f16.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
286
  Rumble-2-Flash-GGUF/rumble-2-flash-f32.gguf filter=lfs diff=lfs merge=lfs -text
287
  KittenTTS-GGUF/kitten-tts-2-mini-f32.gguf filter=lfs diff=lfs merge=lfs -text
288
  Dettato-GGUF/dettato-f16.gguf filter=lfs diff=lfs merge=lfs -text
289
+ Gradium-Phonon-GGUF/40m-fr/phonon-40m-fr-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
290
+ Gradium-Phonon-GGUF/40m-multilingual/phonon-40m-multilingual-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Gradium-Phonon-GGUF/40m-fr/LICENSE ADDED
@@ -0,0 +1,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial 4.0 International Public
58
+ License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial 4.0 International Public License ("Public
63
+ License"). To the extent this Public License may be interpreted as a
64
+ contract, You are granted the Licensed Rights in consideration of Your
65
+ acceptance of these terms and conditions, and the Licensor grants You
66
+ such rights in consideration of benefits the Licensor receives from
67
+ making the Licensed Material available under these terms and
68
+ conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. Copyright and Similar Rights means copyright and/or similar rights
88
+ closely related to copyright including, without limitation,
89
+ performance, broadcast, sound recording, and Sui Generis Database
90
+ Rights, without regard to how the rights are labeled or
91
+ categorized. For purposes of this Public License, the rights
92
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
93
+ Rights.
94
+ d. Effective Technological Measures means those measures that, in the
95
+ absence of proper authority, may not be circumvented under laws
96
+ fulfilling obligations under Article 11 of the WIPO Copyright
97
+ Treaty adopted on December 20, 1996, and/or similar international
98
+ agreements.
99
+
100
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
101
+ any other exception or limitation to Copyright and Similar Rights
102
+ that applies to Your use of the Licensed Material.
103
+
104
+ f. Licensed Material means the artistic or literary work, database,
105
+ or other material to which the Licensor applied this Public
106
+ License.
107
+
108
+ g. Licensed Rights means the rights granted to You subject to the
109
+ terms and conditions of this Public License, which are limited to
110
+ all Copyright and Similar Rights that apply to Your use of the
111
+ Licensed Material and that the Licensor has authority to license.
112
+
113
+ h. Licensor means the individual(s) or entity(ies) granting rights
114
+ under this Public License.
115
+
116
+ i. NonCommercial means not primarily intended for or directed towards
117
+ commercial advantage or monetary compensation. For purposes of
118
+ this Public License, the exchange of the Licensed Material for
119
+ other material subject to Copyright and Similar Rights by digital
120
+ file-sharing or similar means is NonCommercial provided there is
121
+ no payment of monetary compensation in connection with the
122
+ exchange.
123
+
124
+ j. Share means to provide material to the public by any means or
125
+ process that requires permission under the Licensed Rights, such
126
+ as reproduction, public display, public performance, distribution,
127
+ dissemination, communication, or importation, and to make material
128
+ available to the public including in ways that members of the
129
+ public may access the material from a place and at a time
130
+ individually chosen by them.
131
+
132
+ k. Sui Generis Database Rights means rights other than copyright
133
+ resulting from Directive 96/9/EC of the European Parliament and of
134
+ the Council of 11 March 1996 on the legal protection of databases,
135
+ as amended and/or succeeded, as well as other essentially
136
+ equivalent rights anywhere in the world.
137
+
138
+ l. You means the individual or entity exercising the Licensed Rights
139
+ under this Public License. Your has a corresponding meaning.
140
+
141
+
142
+ Section 2 -- Scope.
143
+
144
+ a. License grant.
145
+
146
+ 1. Subject to the terms and conditions of this Public License,
147
+ the Licensor hereby grants You a worldwide, royalty-free,
148
+ non-sublicensable, non-exclusive, irrevocable license to
149
+ exercise the Licensed Rights in the Licensed Material to:
150
+
151
+ a. reproduce and Share the Licensed Material, in whole or
152
+ in part, for NonCommercial purposes only; and
153
+
154
+ b. produce, reproduce, and Share Adapted Material for
155
+ NonCommercial purposes only.
156
+
157
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
158
+ Exceptions and Limitations apply to Your use, this Public
159
+ License does not apply, and You do not need to comply with
160
+ its terms and conditions.
161
+
162
+ 3. Term. The term of this Public License is specified in Section
163
+ 6(a).
164
+
165
+ 4. Media and formats; technical modifications allowed. The
166
+ Licensor authorizes You to exercise the Licensed Rights in
167
+ all media and formats whether now known or hereafter created,
168
+ and to make technical modifications necessary to do so. The
169
+ Licensor waives and/or agrees not to assert any right or
170
+ authority to forbid You from making technical modifications
171
+ necessary to exercise the Licensed Rights, including
172
+ technical modifications necessary to circumvent Effective
173
+ Technological Measures. For purposes of this Public License,
174
+ simply making modifications authorized by this Section 2(a)
175
+ (4) never produces Adapted Material.
176
+
177
+ 5. Downstream recipients.
178
+
179
+ a. Offer from the Licensor -- Licensed Material. Every
180
+ recipient of the Licensed Material automatically
181
+ receives an offer from the Licensor to exercise the
182
+ Licensed Rights under the terms and conditions of this
183
+ Public License.
184
+
185
+ b. No downstream restrictions. You may not offer or impose
186
+ any additional or different terms or conditions on, or
187
+ apply any Effective Technological Measures to, the
188
+ Licensed Material if doing so restricts exercise of the
189
+ Licensed Rights by any recipient of the Licensed
190
+ Material.
191
+
192
+ 6. No endorsement. Nothing in this Public License constitutes or
193
+ may be construed as permission to assert or imply that You
194
+ are, or that Your use of the Licensed Material is, connected
195
+ with, or sponsored, endorsed, or granted official status by,
196
+ the Licensor or others designated to receive attribution as
197
+ provided in Section 3(a)(1)(A)(i).
198
+
199
+ b. Other rights.
200
+
201
+ 1. Moral rights, such as the right of integrity, are not
202
+ licensed under this Public License, nor are publicity,
203
+ privacy, and/or other similar personality rights; however, to
204
+ the extent possible, the Licensor waives and/or agrees not to
205
+ assert any such rights held by the Licensor to the limited
206
+ extent necessary to allow You to exercise the Licensed
207
+ Rights, but not otherwise.
208
+
209
+ 2. Patent and trademark rights are not licensed under this
210
+ Public License.
211
+
212
+ 3. To the extent possible, the Licensor waives any right to
213
+ collect royalties from You for the exercise of the Licensed
214
+ Rights, whether directly or through a collecting society
215
+ under any voluntary or waivable statutory or compulsory
216
+ licensing scheme. In all other cases the Licensor expressly
217
+ reserves any right to collect such royalties, including when
218
+ the Licensed Material is used other than for NonCommercial
219
+ purposes.
220
+
221
+
222
+ Section 3 -- License Conditions.
223
+
224
+ Your exercise of the Licensed Rights is expressly made subject to the
225
+ following conditions.
226
+
227
+ a. Attribution.
228
+
229
+ 1. If You Share the Licensed Material (including in modified
230
+ form), You must:
231
+
232
+ a. retain the following if it is supplied by the Licensor
233
+ with the Licensed Material:
234
+
235
+ i. identification of the creator(s) of the Licensed
236
+ Material and any others designated to receive
237
+ attribution, in any reasonable manner requested by
238
+ the Licensor (including by pseudonym if
239
+ designated);
240
+
241
+ ii. a copyright notice;
242
+
243
+ iii. a notice that refers to this Public License;
244
+
245
+ iv. a notice that refers to the disclaimer of
246
+ warranties;
247
+
248
+ v. a URI or hyperlink to the Licensed Material to the
249
+ extent reasonably practicable;
250
+
251
+ b. indicate if You modified the Licensed Material and
252
+ retain an indication of any previous modifications; and
253
+
254
+ c. indicate the Licensed Material is licensed under this
255
+ Public License, and include the text of, or the URI or
256
+ hyperlink to, this Public License.
257
+
258
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
259
+ reasonable manner based on the medium, means, and context in
260
+ which You Share the Licensed Material. For example, it may be
261
+ reasonable to satisfy the conditions by providing a URI or
262
+ hyperlink to a resource that includes the required
263
+ information.
264
+
265
+ 3. If requested by the Licensor, You must remove any of the
266
+ information required by Section 3(a)(1)(A) to the extent
267
+ reasonably practicable.
268
+
269
+ 4. If You Share Adapted Material You produce, the Adapter's
270
+ License You apply must not prevent recipients of the Adapted
271
+ Material from complying with this Public License.
272
+
273
+
274
+ Section 4 -- Sui Generis Database Rights.
275
+
276
+ Where the Licensed Rights include Sui Generis Database Rights that
277
+ apply to Your use of the Licensed Material:
278
+
279
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
280
+ to extract, reuse, reproduce, and Share all or a substantial
281
+ portion of the contents of the database for NonCommercial purposes
282
+ only;
283
+
284
+ b. if You include all or a substantial portion of the database
285
+ contents in a database in which You have Sui Generis Database
286
+ Rights, then the database in which You have Sui Generis Database
287
+ Rights (but not its individual contents) is Adapted Material; and
288
+
289
+ c. You must comply with the conditions in Section 3(a) if You Share
290
+ all or a substantial portion of the contents of the database.
291
+
292
+ For the avoidance of doubt, this Section 4 supplements and does not
293
+ replace Your obligations under this Public License where the Licensed
294
+ Rights include other Copyright and Similar Rights.
295
+
296
+
297
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
298
+
299
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
300
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
301
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
302
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
303
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
304
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
305
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
306
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
307
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
308
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
309
+
310
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
311
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
312
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
313
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
314
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
315
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
316
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
317
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
318
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
319
+
320
+ c. The disclaimer of warranties and limitation of liability provided
321
+ above shall be interpreted in a manner that, to the extent
322
+ possible, most closely approximates an absolute disclaimer and
323
+ waiver of all liability.
324
+
325
+
326
+ Section 6 -- Term and Termination.
327
+
328
+ a. This Public License applies for the term of the Copyright and
329
+ Similar Rights licensed here. However, if You fail to comply with
330
+ this Public License, then Your rights under this Public License
331
+ terminate automatically.
332
+
333
+ b. Where Your right to use the Licensed Material has terminated under
334
+ Section 6(a), it reinstates:
335
+
336
+ 1. automatically as of the date the violation is cured, provided
337
+ it is cured within 30 days of Your discovery of the
338
+ violation; or
339
+
340
+ 2. upon express reinstatement by the Licensor.
341
+
342
+ For the avoidance of doubt, this Section 6(b) does not affect any
343
+ right the Licensor may have to seek remedies for Your violations
344
+ of this Public License.
345
+
346
+ c. For the avoidance of doubt, the Licensor may also offer the
347
+ Licensed Material under separate terms or conditions or stop
348
+ distributing the Licensed Material at any time; however, doing so
349
+ will not terminate this Public License.
350
+
351
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
352
+ License.
353
+
354
+
355
+ Section 7 -- Other Terms and Conditions.
356
+
357
+ a. The Licensor shall not be bound by any additional or different
358
+ terms or conditions communicated by You unless expressly agreed.
359
+
360
+ b. Any arrangements, understandings, or agreements regarding the
361
+ Licensed Material not stated herein are separate from and
362
+ independent of the terms and conditions of this Public License.
363
+
364
+
365
+ Section 8 -- Interpretation.
366
+
367
+ a. For the avoidance of doubt, this Public License does not, and
368
+ shall not be interpreted to, reduce, limit, restrict, or impose
369
+ conditions on any use of the Licensed Material that could lawfully
370
+ be made without permission under this Public License.
371
+
372
+ b. To the extent possible, if any provision of this Public License is
373
+ deemed unenforceable, it shall be automatically reformed to the
374
+ minimum extent necessary to make it enforceable. If the provision
375
+ cannot be reformed, it shall be severed from this Public License
376
+ without affecting the enforceability of the remaining terms and
377
+ conditions.
378
+
379
+ c. No term or condition of this Public License will be waived and no
380
+ failure to comply consented to unless expressly agreed to by the
381
+ Licensor.
382
+
383
+ d. Nothing in this Public License constitutes or may be interpreted
384
+ as a limitation upon, or waiver of, any privileges and immunities
385
+ that apply to the Licensor or You, including from the legal
386
+ processes of any jurisdiction or authority.
387
+
388
+ =======================================================================
389
+
390
+ Creative Commons is not a party to its public
391
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
392
+ its public licenses to material it publishes and in those instances
393
+ will be considered the “Licensor.” The text of the Creative Commons
394
+ public licenses is dedicated to the public domain under the CC0 Public
395
+ Domain Dedication. Except for the limited purpose of indicating that
396
+ material is shared under a Creative Commons public license or as
397
+ otherwise permitted by the Creative Commons policies published at
398
+ creativecommons.org/policies, Creative Commons does not authorize the
399
+ use of the trademark "Creative Commons" or any other trademark or logo
400
+ of Creative Commons without its prior written consent including,
401
+ without limitation, in connection with any unauthorized modifications
402
+ to any of its public licenses or any other arrangements,
403
+ understandings, or agreements concerning use of licensed material. For
404
+ the avoidance of doubt, this paragraph does not form part of the
405
+ public licenses.
406
+
407
+ Creative Commons may be contacted at creativecommons.org.
408
+
Gradium-Phonon-GGUF/40m-fr/README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model: gradium/phonon-40m-fr
4
+ library_name: audio.cpp
5
+ pipeline_tag: text-to-speech
6
+ tags:
7
+ - gguf
8
+ - audio.cpp
9
+ ---
10
+
11
+ # Gradium Phonon French 40M — audio.cpp GGUF
12
+
13
+ Audio.cpp-compatible conversion of [Gradium's phonon-40m-fr](https://huggingface.co/gradium/phonon-40m-fr). Languages: French. Output: mono, 24 kHz. The default voice is copied unchanged from upstream.
14
+
15
+ ## License — noncommercial use only
16
+
17
+ The model weights, embedded tokenizer and bundled default voice are licensed by Gradium under [Creative Commons Attribution-NonCommercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/). See [LICENSE](LICENSE) for the complete terms and disclaimer, and [UPSTREAM.md](UPSTREAM.md) for the original model card.
18
+
19
+ Noncommercial redistribution and use are permitted subject to the license conditions. Commercial use requires separate permission from the relevant rights holder. Converting or quantizing these assets does not remove that restriction; audio.cpp's software license does not replace the assets' license. These are community conversions, without any claim of Gradium endorsement. Preserve the attribution, license notices and conversion notice when redistributing.
20
+
21
+ ## Conversion and provenance
22
+
23
+ - Creator: Gradium. Source: https://huggingface.co/gradium/phonon-40m-fr
24
+ - Source revision: `d91086970206b88efd2c88ca971d0628b5968f0f`.
25
+ - Converted using audio.cpp's existing Phonon Q8_0 recipe. Flow-transformer linear weights use Q8_0; Mimi stays F32, and flow-network, conditioner, input-projection and EOS weights stay BF16. The training-only `flow_lm.flow.w_s_t` prefix is excluded.
26
+ - `config.json` and `tokenizer.model` are embedded in `phonon-40m-fr-q8_0.gguf`, along with README and license notices. Keep `default-voice.safetensors` beside the GGUF.
27
+
28
+ ## Usage
29
+
30
+ ```bash
31
+ audiocpp_cli --family gradium_phonon --task tts \
32
+ --model models/Gradium-Phonon-GGUF/40m-fr --backend cuda \
33
+ --text "Bonjour, ceci est un test de synthèse vocale." --out speech.wav --log
34
+ ```
35
+
36
+ Select a backend supported by your build. Optional download or local import does not change the noncommercial restrictions.
Gradium-Phonon-GGUF/40m-fr/UPSTREAM.md ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - fr
5
+ pipeline_tag: text-to-speech
6
+ library_name: transformers
7
+ tags:
8
+ - text-to-speech
9
+ - tts
10
+ - streaming
11
+ - on-device
12
+ - phonon
13
+ ---
14
+
15
+ # phonon-40m French
16
+
17
+ **High-quality Text-to-Speech, on your device.**
18
+
19
+ phonon-40m is a text-to-speech model from the Phonon family.
20
+ It turns text into natural 24 kHz speech in French.
21
+ It streams audio while it is still generating, and it is small enough to run
22
+ in a browser tab, on a phone, or on a laptop CPU.
23
+
24
+ Phonon builds on [Pocket TTS](https://github.com/kyutai-labs/pocket-tts) and
25
+ the Mimi codec, developed by Kyutai.
26
+
27
+ [Try it in your browser](https://huggingface.co/spaces/gradium/phonon) · [All Phonon models](https://huggingface.co/collections/gradium/phonon) · [Runtime on GitHub](https://github.com/gradium-ai/xn-ptts) · [Python](https://pypi.org/project/ptts/) · [Browser](https://www.npmjs.com/package/phonon-tts) · [Discord](https://discord.gg/T85yt8kD33)
28
+
29
+
30
+ ## Model details
31
+
32
+ - **Model type:** text-to-speech. A flow-matching transformer predicts audio latents from the text one 80 ms frame at a time, and the Mimi codec's decoder turns them into audio.
33
+ - **Parameters:** 40M (excluding the audio tokenizer)
34
+ - **Weights file:** `model.q8.gguf`, 74.6 MB (8-bit quantized)
35
+ - **Languages:** French
36
+ - **Output:** mono, 24 kHz
37
+ - **License:** [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
38
+
39
+ ## The Phonon family
40
+
41
+ | Model | Parameters | q8 weights | Languages | License |
42
+ |---|---|---:|---|---|
43
+ | [phonon-31m-en](https://huggingface.co/gradium/phonon-31m-en) | 31m | 64.5 MB | English | [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
44
+ | [phonon-40m-en](https://huggingface.co/gradium/phonon-40m-en) | 40m | 74.6 MB | English | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
45
+ | [phonon-40m-fr](https://huggingface.co/gradium/phonon-40m-fr) | 40m | 74.6 MB | French | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
46
+ | [phonon-40m-de](https://huggingface.co/gradium/phonon-40m-de) | 40m | 74.6 MB | German | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
47
+ | [phonon-40m-es](https://huggingface.co/gradium/phonon-40m-es) | 40m | 74.6 MB | Spanish | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
48
+ | [phonon-40m-pt](https://huggingface.co/gradium/phonon-40m-pt) | 40m | 74.6 MB | Portuguese | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
49
+ | [phonon-40m-multilingual](https://huggingface.co/gradium/phonon-40m-multilingual) | 40m | 74.6 MB | All 5 languages | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
50
+
51
+ All of them run on the same runtime and use the same file layout, so switching models means changing the repo ID.
52
+
53
+ ## Quickstart
54
+
55
+ Every runtime names this model as `hf://gradium/phonon-40m-fr`, and takes `lang`, which selects how text is normalized (numbers, symbols, dates). This model speaks French, so use `fr`.
56
+
57
+ ### Command line
58
+
59
+ ```sh
60
+ uvx ptts --model hf://gradium/phonon-40m-fr --lang fr --quant q8 \
61
+ --voice Augustin "Bonjour de la part de Phonon." -o speech.wav
62
+ ```
63
+
64
+ `uvx` runs the Python package's command without installing it. The standalone `ptts` binary from [GitHub Releases](https://github.com/gradium-ai/xn-ptts/releases) or Homebrew (`brew install gradium-ai/tap/ptts`) takes the same flags.
65
+
66
+ ### Python
67
+
68
+ ```sh
69
+ pip install ptts
70
+ ```
71
+
72
+ ```python
73
+ import ptts
74
+
75
+ tts = ptts.TTS("hf://gradium/phonon-40m-fr", lang="fr", quant="q8")
76
+ tts.save("speech.wav", "Bonjour de la part de Phonon.", voice="Augustin")
77
+
78
+ # Or stream: chunks arrive while the rest is still being generated.
79
+ with tts.stream("La parole peut commencer tout de suite.", voice="Augustin") as audio:
80
+ for pcm in audio:
81
+ ... # float32 chunks at audio.sample_rate
82
+ ```
83
+
84
+ ### Transformers usage 🤗
85
+
86
+ Install 🤗 Transformers from source:
87
+
88
+ ```sh
89
+ pip install git+https://github.com/huggingface/transformers
90
+ ```
91
+
92
+ ```python
93
+ from huggingface_hub import hf_hub_download
94
+ from safetensors.torch import load_file
95
+ from transformers import AutoProcessor, GradiumPhononTTSForConditionalGeneration
96
+
97
+ model_id = "gradium/phonon-40m-fr"
98
+ processor = AutoProcessor.from_pretrained(model_id, device_map="auto")
99
+ model = GradiumPhononTTSForConditionalGeneration.from_pretrained(model_id, device_map="auto")
100
+
101
+ # Augustin (fr-fr); every voice and its ID: https://huggingface.co/gradium/phonon-voices
102
+ voice_path = hf_hub_download("gradium/phonon-voices", "voices/Tek4tJXiX6_yvXq7.safetensors")
103
+ voice = load_file(voice_path)["speaker_wavs"][0].T.float() # (num_frames, 512)
104
+
105
+ conversation = [
106
+ {"role": "user", "content": [{"type": "audio"}, {"type": "text", "text": "Bonjour de la part de Phonon."}]}
107
+ ]
108
+ inputs = processor.apply_chat_template(
109
+ conversation,
110
+ tokenize=True,
111
+ return_dict=True,
112
+ add_generation_prompt=True,
113
+ processor_kwargs={"audio_prompt_latents": [voice]},
114
+ ).to(model.device)
115
+
116
+ outputs = model.generate(**inputs)
117
+ audio = processor.decode(outputs.audio_latents, outputs.audio_latents_mask)
118
+ processor.save_audio(audio, "speech.wav")
119
+ ```
120
+
121
+ This repo's `default-voice.safetensors` loads the same way. Unlike the runtime, the tokenizer does not spell out numbers, amounts, symbols or addresses, and long text is split with `processor.split_text`: see the [Transformers docs](https://huggingface.co/docs/transformers/main/en/model_doc/gradium_phonon_tts).
122
+
123
+ ### Other platforms
124
+
125
+ | Platform | Guide |
126
+ |---|---|
127
+ | Python scripts and backends | [`ptts` on PyPI](https://pypi.org/project/ptts/) · [Python guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-pyo3/README.md) |
128
+ | Web apps, in the browser | [`phonon-tts` on npm](https://www.npmjs.com/package/phonon-tts) · [Browser guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-wasm/js/README.md) |
129
+ | iPhone, iPad and Mac apps (Core ML) | [Swift guide](https://github.com/gradium-ai/xn-ptts/blob/main/ios/PhononTTS/README.md) |
130
+ | Android apps | [Android guide](https://github.com/gradium-ai/xn-ptts/blob/main/android/README.md) · [Snapdragon NPU preview](https://github.com/gradium-ai/xn-ptts/blob/main/qnn/android/README.md) |
131
+ | Android system voice, for TalkBack and every app that uses `TextToSpeech` | [Android TTS engine](https://github.com/gradium-ai/xn-ptts/blob/main/android/tts-engine/README.md) |
132
+ | Server with an OpenAI-compatible API (Docker) | [Server guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-openai-server/README.md) |
133
+ | Home Assistant | [Home Assistant setup](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-openai-server/README.md#home-assistant) |
134
+ | Streaming over WebSocket | [WebSocket server](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-ws-server/README.md) |
135
+ | Rust | [`ptts` on crates.io](https://crates.io/crates/ptts) · [Rust guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts/README.md) |
136
+ | C and C++ | [`ptts.h`](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-ffi/include/ptts.h) |
137
+
138
+ ## Voices
139
+
140
+ Phonon comes with a catalog of ~100 voices available in the [gradium/phonon-voices](https://huggingface.co/gradium/phonon-voices) repo.
141
+ Instant voice cloning and voice design are available through the [Gradium studio](https://studio.gradium.ai).
142
+
143
+ ## Benchmarks
144
+
145
+ Phonon was compared with other open text-to-speech models on three measures, per language:
146
+
147
+ - **Elo**: human preference from blind pairwise listening tests (higher is better).
148
+ - **Hard set LLM WER**: word error rate on hard sentences full of structured data (numbers, dates, codes, units), scored with an LLM-assisted ASR comparison (lower is better).
149
+ - **Seed-TTS LLM WER**: the same metric on the Seed-TTS evaluation sentences (lower is better).
150
+
151
+ In every language, a Phonon model is first on all three measures.
152
+
153
+ **English (US)** (Elo from 468 raters, 8,290 votes)
154
+
155
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
156
+ |---|---:|---:|---:|
157
+ | **phonon-31m-en** | 2098 | **1.5%** | 0.51% |
158
+ | **phonon-40m-en** | **2117** | 2.3% | **0.45%** |
159
+ | **phonon-40m-multilingual** | 2097 | 2.0% | 0.48% |
160
+ | Kokoro | 2043 | 3.5% | **0.45%** |
161
+ | Magpie | 1939 | 28% | 0.46% |
162
+ | NeuTTS | 2034 | 8.7% | 0.62% |
163
+
164
+ **French** (Elo from 172 raters, 2,270 votes)
165
+
166
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
167
+ |---|---:|---:|---:|
168
+ | **phonon-40m-fr** | **2072** | **2.4%** | **1.3%** |
169
+ | **phonon-40m-multilingual** | 2016 | 2.7% | 1.5% |
170
+ | Kokoro | 1578 | 5.5% | 1.8% |
171
+ | Magpie | 1608 | 30% | 2.0% |
172
+ | NeuTTS | 1853 | 9.9% | 2.7% |
173
+
174
+ **German** (Elo from 168 raters, 2,220 votes)
175
+
176
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
177
+ |---|---:|---:|---:|
178
+ | **phonon-40m-de** | **2097** | **2.2%** | **0.83%** |
179
+ | **phonon-40m-multilingual** | 2046 | 2.9% | 0.90% |
180
+ | Magpie | 1640 | 29% | 1.6% |
181
+ | NeuTTS | 1768 | 9.3% | 2.6% |
182
+
183
+ **Spanish (Spain)** (Elo from 201 raters, 2,290 votes)
184
+
185
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
186
+ |---|---:|---:|---:|
187
+ | **phonon-40m-es** | **2103** | **2.1%** | **0.85%** |
188
+ | **phonon-40m-multilingual** | 2076 | 2.6% | 1.0% |
189
+ | Kokoro | 1629 | 3.8% | 0.93% |
190
+ | Magpie | 1870 | 25% | 0.92% |
191
+ | NeuTTS | 1778 | 16% | 5.1% |
192
+
193
+ **Portuguese (Brazil)** (Elo from 171 raters, 2,000 votes)
194
+
195
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
196
+ |---|---:|---:|---:|
197
+ | **phonon-40m-pt** | **2144** | **2.9%** | **1.1%** |
198
+ | **phonon-40m-multilingual** | 2048 | 3.2% | **1.1%** |
199
+ | Kokoro | 1633 | 4.1% | 1.3% |
200
+
201
+ ## Intended use
202
+
203
+ Phonon is made for applications that speak on the user's device: offline and private
204
+ assistants, screen readers and other accessibility tools, games, and interactive apps that
205
+ cannot wait for a cloud round trip. It also runs as a local server with an OpenAI-compatible
206
+ API and as a voice for Home Assistant.
207
+
208
+ ### Limitations
209
+
210
+ - The model speaks only the languages above. Text in other languages is read with the wrong
211
+ pronunciation.
212
+ - Text is normalized before synthesis (numbers, currency, dates, emails and so on), and that
213
+ step needs the right language. Choose `lang` to match the text.
214
+ - Very long inputs are split into sentences and spoken one after the other, so prosody does not
215
+ carry across the whole text.
216
+
217
+ ### Responsible use
218
+
219
+ Do not use Phonon to impersonate a real person, to deceive listeners about who is speaking, or
220
+ to clone a voice without the speaker's consent. Tell listeners when speech is synthetic where
221
+ that matters to them.
222
+
223
+ ## License
224
+
225
+ The weights, tokenizer and voices in this repository are released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/), which does not allow commercial use. The runtime is a separate project, licensed MIT OR Apache-2.0.
Gradium-Phonon-GGUF/40m-fr/default-voice.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8c97074fdb4044fc8da2873bdccd8b2a64beeedab859d241d5fc11c0c400aad
3
+ size 256136
Gradium-Phonon-GGUF/40m-fr/phonon-40m-fr-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:229aa1d140cf8c4d3ebc56a3b7bf70651a12bfc0e71d5ee7fe842e96d82fe939
3
+ size 95272672
Gradium-Phonon-GGUF/40m-multilingual/LICENSE ADDED
@@ -0,0 +1,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial 4.0 International Public
58
+ License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial 4.0 International Public License ("Public
63
+ License"). To the extent this Public License may be interpreted as a
64
+ contract, You are granted the Licensed Rights in consideration of Your
65
+ acceptance of these terms and conditions, and the Licensor grants You
66
+ such rights in consideration of benefits the Licensor receives from
67
+ making the Licensed Material available under these terms and
68
+ conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. Copyright and Similar Rights means copyright and/or similar rights
88
+ closely related to copyright including, without limitation,
89
+ performance, broadcast, sound recording, and Sui Generis Database
90
+ Rights, without regard to how the rights are labeled or
91
+ categorized. For purposes of this Public License, the rights
92
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
93
+ Rights.
94
+ d. Effective Technological Measures means those measures that, in the
95
+ absence of proper authority, may not be circumvented under laws
96
+ fulfilling obligations under Article 11 of the WIPO Copyright
97
+ Treaty adopted on December 20, 1996, and/or similar international
98
+ agreements.
99
+
100
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
101
+ any other exception or limitation to Copyright and Similar Rights
102
+ that applies to Your use of the Licensed Material.
103
+
104
+ f. Licensed Material means the artistic or literary work, database,
105
+ or other material to which the Licensor applied this Public
106
+ License.
107
+
108
+ g. Licensed Rights means the rights granted to You subject to the
109
+ terms and conditions of this Public License, which are limited to
110
+ all Copyright and Similar Rights that apply to Your use of the
111
+ Licensed Material and that the Licensor has authority to license.
112
+
113
+ h. Licensor means the individual(s) or entity(ies) granting rights
114
+ under this Public License.
115
+
116
+ i. NonCommercial means not primarily intended for or directed towards
117
+ commercial advantage or monetary compensation. For purposes of
118
+ this Public License, the exchange of the Licensed Material for
119
+ other material subject to Copyright and Similar Rights by digital
120
+ file-sharing or similar means is NonCommercial provided there is
121
+ no payment of monetary compensation in connection with the
122
+ exchange.
123
+
124
+ j. Share means to provide material to the public by any means or
125
+ process that requires permission under the Licensed Rights, such
126
+ as reproduction, public display, public performance, distribution,
127
+ dissemination, communication, or importation, and to make material
128
+ available to the public including in ways that members of the
129
+ public may access the material from a place and at a time
130
+ individually chosen by them.
131
+
132
+ k. Sui Generis Database Rights means rights other than copyright
133
+ resulting from Directive 96/9/EC of the European Parliament and of
134
+ the Council of 11 March 1996 on the legal protection of databases,
135
+ as amended and/or succeeded, as well as other essentially
136
+ equivalent rights anywhere in the world.
137
+
138
+ l. You means the individual or entity exercising the Licensed Rights
139
+ under this Public License. Your has a corresponding meaning.
140
+
141
+
142
+ Section 2 -- Scope.
143
+
144
+ a. License grant.
145
+
146
+ 1. Subject to the terms and conditions of this Public License,
147
+ the Licensor hereby grants You a worldwide, royalty-free,
148
+ non-sublicensable, non-exclusive, irrevocable license to
149
+ exercise the Licensed Rights in the Licensed Material to:
150
+
151
+ a. reproduce and Share the Licensed Material, in whole or
152
+ in part, for NonCommercial purposes only; and
153
+
154
+ b. produce, reproduce, and Share Adapted Material for
155
+ NonCommercial purposes only.
156
+
157
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
158
+ Exceptions and Limitations apply to Your use, this Public
159
+ License does not apply, and You do not need to comply with
160
+ its terms and conditions.
161
+
162
+ 3. Term. The term of this Public License is specified in Section
163
+ 6(a).
164
+
165
+ 4. Media and formats; technical modifications allowed. The
166
+ Licensor authorizes You to exercise the Licensed Rights in
167
+ all media and formats whether now known or hereafter created,
168
+ and to make technical modifications necessary to do so. The
169
+ Licensor waives and/or agrees not to assert any right or
170
+ authority to forbid You from making technical modifications
171
+ necessary to exercise the Licensed Rights, including
172
+ technical modifications necessary to circumvent Effective
173
+ Technological Measures. For purposes of this Public License,
174
+ simply making modifications authorized by this Section 2(a)
175
+ (4) never produces Adapted Material.
176
+
177
+ 5. Downstream recipients.
178
+
179
+ a. Offer from the Licensor -- Licensed Material. Every
180
+ recipient of the Licensed Material automatically
181
+ receives an offer from the Licensor to exercise the
182
+ Licensed Rights under the terms and conditions of this
183
+ Public License.
184
+
185
+ b. No downstream restrictions. You may not offer or impose
186
+ any additional or different terms or conditions on, or
187
+ apply any Effective Technological Measures to, the
188
+ Licensed Material if doing so restricts exercise of the
189
+ Licensed Rights by any recipient of the Licensed
190
+ Material.
191
+
192
+ 6. No endorsement. Nothing in this Public License constitutes or
193
+ may be construed as permission to assert or imply that You
194
+ are, or that Your use of the Licensed Material is, connected
195
+ with, or sponsored, endorsed, or granted official status by,
196
+ the Licensor or others designated to receive attribution as
197
+ provided in Section 3(a)(1)(A)(i).
198
+
199
+ b. Other rights.
200
+
201
+ 1. Moral rights, such as the right of integrity, are not
202
+ licensed under this Public License, nor are publicity,
203
+ privacy, and/or other similar personality rights; however, to
204
+ the extent possible, the Licensor waives and/or agrees not to
205
+ assert any such rights held by the Licensor to the limited
206
+ extent necessary to allow You to exercise the Licensed
207
+ Rights, but not otherwise.
208
+
209
+ 2. Patent and trademark rights are not licensed under this
210
+ Public License.
211
+
212
+ 3. To the extent possible, the Licensor waives any right to
213
+ collect royalties from You for the exercise of the Licensed
214
+ Rights, whether directly or through a collecting society
215
+ under any voluntary or waivable statutory or compulsory
216
+ licensing scheme. In all other cases the Licensor expressly
217
+ reserves any right to collect such royalties, including when
218
+ the Licensed Material is used other than for NonCommercial
219
+ purposes.
220
+
221
+
222
+ Section 3 -- License Conditions.
223
+
224
+ Your exercise of the Licensed Rights is expressly made subject to the
225
+ following conditions.
226
+
227
+ a. Attribution.
228
+
229
+ 1. If You Share the Licensed Material (including in modified
230
+ form), You must:
231
+
232
+ a. retain the following if it is supplied by the Licensor
233
+ with the Licensed Material:
234
+
235
+ i. identification of the creator(s) of the Licensed
236
+ Material and any others designated to receive
237
+ attribution, in any reasonable manner requested by
238
+ the Licensor (including by pseudonym if
239
+ designated);
240
+
241
+ ii. a copyright notice;
242
+
243
+ iii. a notice that refers to this Public License;
244
+
245
+ iv. a notice that refers to the disclaimer of
246
+ warranties;
247
+
248
+ v. a URI or hyperlink to the Licensed Material to the
249
+ extent reasonably practicable;
250
+
251
+ b. indicate if You modified the Licensed Material and
252
+ retain an indication of any previous modifications; and
253
+
254
+ c. indicate the Licensed Material is licensed under this
255
+ Public License, and include the text of, or the URI or
256
+ hyperlink to, this Public License.
257
+
258
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
259
+ reasonable manner based on the medium, means, and context in
260
+ which You Share the Licensed Material. For example, it may be
261
+ reasonable to satisfy the conditions by providing a URI or
262
+ hyperlink to a resource that includes the required
263
+ information.
264
+
265
+ 3. If requested by the Licensor, You must remove any of the
266
+ information required by Section 3(a)(1)(A) to the extent
267
+ reasonably practicable.
268
+
269
+ 4. If You Share Adapted Material You produce, the Adapter's
270
+ License You apply must not prevent recipients of the Adapted
271
+ Material from complying with this Public License.
272
+
273
+
274
+ Section 4 -- Sui Generis Database Rights.
275
+
276
+ Where the Licensed Rights include Sui Generis Database Rights that
277
+ apply to Your use of the Licensed Material:
278
+
279
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
280
+ to extract, reuse, reproduce, and Share all or a substantial
281
+ portion of the contents of the database for NonCommercial purposes
282
+ only;
283
+
284
+ b. if You include all or a substantial portion of the database
285
+ contents in a database in which You have Sui Generis Database
286
+ Rights, then the database in which You have Sui Generis Database
287
+ Rights (but not its individual contents) is Adapted Material; and
288
+
289
+ c. You must comply with the conditions in Section 3(a) if You Share
290
+ all or a substantial portion of the contents of the database.
291
+
292
+ For the avoidance of doubt, this Section 4 supplements and does not
293
+ replace Your obligations under this Public License where the Licensed
294
+ Rights include other Copyright and Similar Rights.
295
+
296
+
297
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
298
+
299
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
300
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
301
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
302
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
303
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
304
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
305
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
306
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
307
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
308
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
309
+
310
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
311
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
312
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
313
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
314
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
315
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
316
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
317
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
318
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
319
+
320
+ c. The disclaimer of warranties and limitation of liability provided
321
+ above shall be interpreted in a manner that, to the extent
322
+ possible, most closely approximates an absolute disclaimer and
323
+ waiver of all liability.
324
+
325
+
326
+ Section 6 -- Term and Termination.
327
+
328
+ a. This Public License applies for the term of the Copyright and
329
+ Similar Rights licensed here. However, if You fail to comply with
330
+ this Public License, then Your rights under this Public License
331
+ terminate automatically.
332
+
333
+ b. Where Your right to use the Licensed Material has terminated under
334
+ Section 6(a), it reinstates:
335
+
336
+ 1. automatically as of the date the violation is cured, provided
337
+ it is cured within 30 days of Your discovery of the
338
+ violation; or
339
+
340
+ 2. upon express reinstatement by the Licensor.
341
+
342
+ For the avoidance of doubt, this Section 6(b) does not affect any
343
+ right the Licensor may have to seek remedies for Your violations
344
+ of this Public License.
345
+
346
+ c. For the avoidance of doubt, the Licensor may also offer the
347
+ Licensed Material under separate terms or conditions or stop
348
+ distributing the Licensed Material at any time; however, doing so
349
+ will not terminate this Public License.
350
+
351
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
352
+ License.
353
+
354
+
355
+ Section 7 -- Other Terms and Conditions.
356
+
357
+ a. The Licensor shall not be bound by any additional or different
358
+ terms or conditions communicated by You unless expressly agreed.
359
+
360
+ b. Any arrangements, understandings, or agreements regarding the
361
+ Licensed Material not stated herein are separate from and
362
+ independent of the terms and conditions of this Public License.
363
+
364
+
365
+ Section 8 -- Interpretation.
366
+
367
+ a. For the avoidance of doubt, this Public License does not, and
368
+ shall not be interpreted to, reduce, limit, restrict, or impose
369
+ conditions on any use of the Licensed Material that could lawfully
370
+ be made without permission under this Public License.
371
+
372
+ b. To the extent possible, if any provision of this Public License is
373
+ deemed unenforceable, it shall be automatically reformed to the
374
+ minimum extent necessary to make it enforceable. If the provision
375
+ cannot be reformed, it shall be severed from this Public License
376
+ without affecting the enforceability of the remaining terms and
377
+ conditions.
378
+
379
+ c. No term or condition of this Public License will be waived and no
380
+ failure to comply consented to unless expressly agreed to by the
381
+ Licensor.
382
+
383
+ d. Nothing in this Public License constitutes or may be interpreted
384
+ as a limitation upon, or waiver of, any privileges and immunities
385
+ that apply to the Licensor or You, including from the legal
386
+ processes of any jurisdiction or authority.
387
+
388
+ =======================================================================
389
+
390
+ Creative Commons is not a party to its public
391
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
392
+ its public licenses to material it publishes and in those instances
393
+ will be considered the “Licensor.” The text of the Creative Commons
394
+ public licenses is dedicated to the public domain under the CC0 Public
395
+ Domain Dedication. Except for the limited purpose of indicating that
396
+ material is shared under a Creative Commons public license or as
397
+ otherwise permitted by the Creative Commons policies published at
398
+ creativecommons.org/policies, Creative Commons does not authorize the
399
+ use of the trademark "Creative Commons" or any other trademark or logo
400
+ of Creative Commons without its prior written consent including,
401
+ without limitation, in connection with any unauthorized modifications
402
+ to any of its public licenses or any other arrangements,
403
+ understandings, or agreements concerning use of licensed material. For
404
+ the avoidance of doubt, this paragraph does not form part of the
405
+ public licenses.
406
+
407
+ Creative Commons may be contacted at creativecommons.org.
408
+
Gradium-Phonon-GGUF/40m-multilingual/README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model: gradium/phonon-40m-multilingual
4
+ library_name: audio.cpp
5
+ pipeline_tag: text-to-speech
6
+ tags:
7
+ - gguf
8
+ - audio.cpp
9
+ ---
10
+
11
+ # Gradium Phonon Multilingual 40M — audio.cpp GGUF
12
+
13
+ Audio.cpp-compatible conversion of [Gradium's phonon-40m-multilingual](https://huggingface.co/gradium/phonon-40m-multilingual). Languages: English, French, German, Spanish and Portuguese. Output: mono, 24 kHz. The default voice is copied unchanged from upstream.
14
+
15
+ ## License — noncommercial use only
16
+
17
+ The model weights, embedded tokenizer and bundled default voice are licensed by Gradium under [Creative Commons Attribution-NonCommercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/). See [LICENSE](LICENSE) for the complete terms and disclaimer, and [UPSTREAM.md](UPSTREAM.md) for the original model card.
18
+
19
+ Noncommercial redistribution and use are permitted subject to the license conditions. Commercial use requires separate permission from the relevant rights holder. Converting or quantizing these assets does not remove that restriction; audio.cpp's software license does not replace the assets' license. These are community conversions, without any claim of Gradium endorsement. Preserve the attribution, license notices and conversion notice when redistributing.
20
+
21
+ ## Conversion and provenance
22
+
23
+ - Creator: Gradium. Source: https://huggingface.co/gradium/phonon-40m-multilingual
24
+ - Source revision: `1537ce46c64f42903e0d608b132ccb073dac46d2`.
25
+ - Converted using audio.cpp's existing Phonon Q8_0 recipe. Flow-transformer linear weights use Q8_0; Mimi stays F32, and flow-network, conditioner, input-projection and EOS weights stay BF16. The training-only `flow_lm.flow.w_s_t` prefix is excluded.
26
+ - `config.json` and `tokenizer.model` are embedded in `phonon-40m-multilingual-q8_0.gguf`, along with README and license notices. Keep `default-voice.safetensors` beside the GGUF.
27
+
28
+ ## Usage
29
+
30
+ ```bash
31
+ audiocpp_cli --family gradium_phonon --task tts \
32
+ --model models/Gradium-Phonon-GGUF/40m-multilingual --backend cuda \
33
+ --text "Hello, this is a multilingual speech test." --out speech.wav --log
34
+ ```
35
+
36
+ Select a backend supported by your build. Optional download or local import does not change the noncommercial restrictions.
Gradium-Phonon-GGUF/40m-multilingual/UPSTREAM.md ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ - fr
6
+ - de
7
+ - es
8
+ - pt
9
+ pipeline_tag: text-to-speech
10
+ library_name: transformers
11
+ tags:
12
+ - text-to-speech
13
+ - tts
14
+ - streaming
15
+ - on-device
16
+ - phonon
17
+ ---
18
+
19
+ # phonon-40m Multilingual
20
+
21
+ **High-quality Text-to-Speech, on your device.**
22
+
23
+ phonon-40m is a text-to-speech model from the Phonon family.
24
+ It turns text into natural 24 kHz speech in English, French, German, Spanish and Portuguese.
25
+ It streams audio while it is still generating, and it is small enough to run
26
+ in a browser tab, on a phone, or on a laptop CPU.
27
+
28
+ Phonon builds on [Pocket TTS](https://github.com/kyutai-labs/pocket-tts) and
29
+ the Mimi codec, developed by Kyutai.
30
+
31
+ [Try it in your browser](https://huggingface.co/spaces/gradium/phonon) · [All Phonon models](https://huggingface.co/collections/gradium/phonon) · [Runtime on GitHub](https://github.com/gradium-ai/xn-ptts) · [Python](https://pypi.org/project/ptts/) · [Browser](https://www.npmjs.com/package/phonon-tts) · [Discord](https://discord.gg/T85yt8kD33)
32
+
33
+
34
+ ## Model details
35
+
36
+ - **Model type:** text-to-speech. A flow-matching transformer predicts audio latents from the text one 80 ms frame at a time, and the Mimi codec's decoder turns them into audio.
37
+ - **Parameters:** 40M (excluding the audio tokenizer)
38
+ - **Weights file:** `model.q8.gguf`, 74.6 MB (8-bit quantized)
39
+ - **Languages:** English, French, German, Spanish, Portuguese
40
+ - **Output:** mono, 24 kHz
41
+ - **License:** [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
42
+
43
+ ## The Phonon family
44
+
45
+ | Model | Parameters | q8 weights | Languages | License |
46
+ |---|---|---:|---|---|
47
+ | [phonon-31m-en](https://huggingface.co/gradium/phonon-31m-en) | 31m | 64.5 MB | English | [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
48
+ | [phonon-40m-en](https://huggingface.co/gradium/phonon-40m-en) | 40m | 74.6 MB | English | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
49
+ | [phonon-40m-fr](https://huggingface.co/gradium/phonon-40m-fr) | 40m | 74.6 MB | French | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
50
+ | [phonon-40m-de](https://huggingface.co/gradium/phonon-40m-de) | 40m | 74.6 MB | German | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
51
+ | [phonon-40m-es](https://huggingface.co/gradium/phonon-40m-es) | 40m | 74.6 MB | Spanish | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
52
+ | [phonon-40m-pt](https://huggingface.co/gradium/phonon-40m-pt) | 40m | 74.6 MB | Portuguese | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
53
+ | [phonon-40m-multilingual](https://huggingface.co/gradium/phonon-40m-multilingual) | 40m | 74.6 MB | All 5 languages | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) |
54
+
55
+ All of them run on the same runtime and use the same file layout, so switching models means changing the repo ID.
56
+
57
+ ## Quickstart
58
+
59
+ Every runtime names this model as `hf://gradium/phonon-40m-multilingual`, and takes `lang`, which selects how text is normalized (numbers, symbols, dates). This model speaks English, French, German, Spanish and Portuguese: set `lang` to the language of the text (`en`, `fr`, `de`, `es` or `pt`).
60
+
61
+ ### Command line
62
+
63
+ ```sh
64
+ uvx ptts --model hf://gradium/phonon-40m-multilingual --lang en --quant q8 \
65
+ --voice Easton "Hello from Phonon." -o speech.wav
66
+ ```
67
+
68
+ `uvx` runs the Python package's command without installing it. The standalone `ptts` binary from [GitHub Releases](https://github.com/gradium-ai/xn-ptts/releases) or Homebrew (`brew install gradium-ai/tap/ptts`) takes the same flags.
69
+
70
+ ### Python
71
+
72
+ ```sh
73
+ pip install ptts
74
+ ```
75
+
76
+ ```python
77
+ import ptts
78
+
79
+ tts = ptts.TTS("hf://gradium/phonon-40m-multilingual", lang="en", quant="q8")
80
+ tts.save("speech.wav", "Hello from Phonon.", voice="Easton")
81
+
82
+ # Or stream: chunks arrive while the rest is still being generated.
83
+ with tts.stream("Speech can start playing right away.", voice="Easton") as audio:
84
+ for pcm in audio:
85
+ ... # float32 chunks at audio.sample_rate
86
+ ```
87
+
88
+ ### Transformers usage 🤗
89
+
90
+ Install 🤗 Transformers from source:
91
+
92
+ ```sh
93
+ pip install git+https://github.com/huggingface/transformers
94
+ ```
95
+
96
+ ```python
97
+ from huggingface_hub import hf_hub_download
98
+ from safetensors.torch import load_file
99
+ from transformers import AutoProcessor, GradiumPhononTTSForConditionalGeneration
100
+
101
+ model_id = "gradium/phonon-40m-multilingual"
102
+ processor = AutoProcessor.from_pretrained(model_id, device_map="auto")
103
+ model = GradiumPhononTTSForConditionalGeneration.from_pretrained(model_id, device_map="auto")
104
+
105
+ # Easton (en-us); every voice and its ID: https://huggingface.co/gradium/phonon-voices
106
+ voice_path = hf_hub_download("gradium/phonon-voices", "voices/LMDIYE0Oa377Qh6Z.safetensors")
107
+ voice = load_file(voice_path)["speaker_wavs"][0].T.float() # (num_frames, 512)
108
+
109
+ conversation = [
110
+ {"role": "user", "content": [{"type": "audio"}, {"type": "text", "text": "Hello from Phonon."}]}
111
+ ]
112
+ inputs = processor.apply_chat_template(
113
+ conversation,
114
+ tokenize=True,
115
+ return_dict=True,
116
+ add_generation_prompt=True,
117
+ processor_kwargs={"audio_prompt_latents": [voice]},
118
+ ).to(model.device)
119
+
120
+ outputs = model.generate(**inputs)
121
+ audio = processor.decode(outputs.audio_latents, outputs.audio_latents_mask)
122
+ processor.save_audio(audio, "speech.wav")
123
+ ```
124
+
125
+ This repo's `default-voice.safetensors` loads the same way. Unlike the runtime, the tokenizer does not spell out numbers, amounts, symbols or addresses, and long text is split with `processor.split_text`: see the [Transformers docs](https://huggingface.co/docs/transformers/main/en/model_doc/gradium_phonon_tts).
126
+
127
+ ### Other platforms
128
+
129
+ | Platform | Guide |
130
+ |---|---|
131
+ | Python scripts and backends | [`ptts` on PyPI](https://pypi.org/project/ptts/) · [Python guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-pyo3/README.md) |
132
+ | Web apps, in the browser | [`phonon-tts` on npm](https://www.npmjs.com/package/phonon-tts) · [Browser guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-wasm/js/README.md) |
133
+ | iPhone, iPad and Mac apps (Core ML) | [Swift guide](https://github.com/gradium-ai/xn-ptts/blob/main/ios/PhononTTS/README.md) |
134
+ | Android apps | [Android guide](https://github.com/gradium-ai/xn-ptts/blob/main/android/README.md) · [Snapdragon NPU preview](https://github.com/gradium-ai/xn-ptts/blob/main/qnn/android/README.md) |
135
+ | Android system voice, for TalkBack and every app that uses `TextToSpeech` | [Android TTS engine](https://github.com/gradium-ai/xn-ptts/blob/main/android/tts-engine/README.md) |
136
+ | Server with an OpenAI-compatible API (Docker) | [Server guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-openai-server/README.md) |
137
+ | Home Assistant | [Home Assistant setup](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-openai-server/README.md#home-assistant) |
138
+ | Streaming over WebSocket | [WebSocket server](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-ws-server/README.md) |
139
+ | Rust | [`ptts` on crates.io](https://crates.io/crates/ptts) · [Rust guide](https://github.com/gradium-ai/xn-ptts/blob/main/ptts/README.md) |
140
+ | C and C++ | [`ptts.h`](https://github.com/gradium-ai/xn-ptts/blob/main/ptts-ffi/include/ptts.h) |
141
+
142
+ ## Voices
143
+
144
+ Phonon comes with a catalog of ~100 voices available in the [gradium/phonon-voices](https://huggingface.co/gradium/phonon-voices) repo.
145
+ Instant voice cloning and voice design are available through the [Gradium studio](https://studio.gradium.ai).
146
+
147
+ ## Benchmarks
148
+
149
+ Phonon was compared with other open text-to-speech models on three measures, per language:
150
+
151
+ - **Elo**: human preference from blind pairwise listening tests (higher is better).
152
+ - **Hard set LLM WER**: word error rate on hard sentences full of structured data (numbers, dates, codes, units), scored with an LLM-assisted ASR comparison (lower is better).
153
+ - **Seed-TTS LLM WER**: the same metric on the Seed-TTS evaluation sentences (lower is better).
154
+
155
+ In every language, a Phonon model is first on all three measures.
156
+
157
+ **English (US)** (Elo from 468 raters, 8,290 votes)
158
+
159
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
160
+ |---|---:|---:|---:|
161
+ | **phonon-31m-en** | 2098 | **1.5%** | 0.51% |
162
+ | **phonon-40m-en** | **2117** | 2.3% | **0.45%** |
163
+ | **phonon-40m-multilingual** | 2097 | 2.0% | 0.48% |
164
+ | Kokoro | 2043 | 3.5% | **0.45%** |
165
+ | Magpie | 1939 | 28% | 0.46% |
166
+ | NeuTTS | 2034 | 8.7% | 0.62% |
167
+
168
+ **French** (Elo from 172 raters, 2,270 votes)
169
+
170
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
171
+ |---|---:|---:|---:|
172
+ | **phonon-40m-fr** | **2072** | **2.4%** | **1.3%** |
173
+ | **phonon-40m-multilingual** | 2016 | 2.7% | 1.5% |
174
+ | Kokoro | 1578 | 5.5% | 1.8% |
175
+ | Magpie | 1608 | 30% | 2.0% |
176
+ | NeuTTS | 1853 | 9.9% | 2.7% |
177
+
178
+ **German** (Elo from 168 raters, 2,220 votes)
179
+
180
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
181
+ |---|---:|---:|---:|
182
+ | **phonon-40m-de** | **2097** | **2.2%** | **0.83%** |
183
+ | **phonon-40m-multilingual** | 2046 | 2.9% | 0.90% |
184
+ | Magpie | 1640 | 29% | 1.6% |
185
+ | NeuTTS | 1768 | 9.3% | 2.6% |
186
+
187
+ **Spanish (Spain)** (Elo from 201 raters, 2,290 votes)
188
+
189
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
190
+ |---|---:|---:|---:|
191
+ | **phonon-40m-es** | **2103** | **2.1%** | **0.85%** |
192
+ | **phonon-40m-multilingual** | 2076 | 2.6% | 1.0% |
193
+ | Kokoro | 1629 | 3.8% | 0.93% |
194
+ | Magpie | 1870 | 25% | 0.92% |
195
+ | NeuTTS | 1778 | 16% | 5.1% |
196
+
197
+ **Portuguese (Brazil)** (Elo from 171 raters, 2,000 votes)
198
+
199
+ | Model | Elo | Hard set LLM WER | Seed-TTS LLM WER |
200
+ |---|---:|---:|---:|
201
+ | **phonon-40m-pt** | **2144** | **2.9%** | **1.1%** |
202
+ | **phonon-40m-multilingual** | 2048 | 3.2% | **1.1%** |
203
+ | Kokoro | 1633 | 4.1% | 1.3% |
204
+
205
+ ## Intended use
206
+
207
+ Phonon is made for applications that speak on the user's device: offline and private
208
+ assistants, screen readers and other accessibility tools, games, and interactive apps that
209
+ cannot wait for a cloud round trip. It also runs as a local server with an OpenAI-compatible
210
+ API and as a voice for Home Assistant.
211
+
212
+ ### Limitations
213
+
214
+ - The model speaks only the languages above. Text in other languages is read with the wrong
215
+ pronunciation.
216
+ - Text is normalized before synthesis (numbers, currency, dates, emails and so on), and that
217
+ step needs the right language. Choose `lang` to match the text.
218
+ - Very long inputs are split into sentences and spoken one after the other, so prosody does not
219
+ carry across the whole text.
220
+
221
+ ### Responsible use
222
+
223
+ Do not use Phonon to impersonate a real person, to deceive listeners about who is speaking, or
224
+ to clone a voice without the speaker's consent. Tell listeners when speech is synthetic where
225
+ that matters to them.
226
+
227
+ ## License
228
+
229
+ The weights, tokenizer and voices in this repository are released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/), which does not allow commercial use. The runtime is a separate project, licensed MIT OR Apache-2.0.
Gradium-Phonon-GGUF/40m-multilingual/default-voice.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc537478eaadc1a5257fcda2e3501ab81e14c111a5d95a5838f350db2afd0f1a
3
+ size 256136
Gradium-Phonon-GGUF/40m-multilingual/phonon-40m-multilingual-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b45487841095aade29d48b520d9564b651f08538fc7b32e6afa92bfb43ac26b
3
+ size 95272800
Gradium-Phonon-GGUF/README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Gradium Phonon 40M GGUF packages
2
+
3
+ Community conversions for audio.cpp. Both packages retain **CC BY-NC 4.0: noncommercial use only**. Their weights, tokenizer and bundled default voices are not covered by audio.cpp's software license. Each package includes its own README, LICENSE and original upstream model card with attribution, source revision and conversion changes.
4
+
5
+ | Package | Languages | License |
6
+ |---|---|---|
7
+ | [40M French](40m-fr/README.md) | French | CC BY-NC 4.0 |
8
+ | [40M Multilingual](40m-multilingual/README.md) | English, French, German, Spanish, Portuguese | CC BY-NC 4.0 |
9
+
10
+ Community conversions of [Gradium Phonon](https://huggingface.co/gradium), without a claim of endorsement. Commercial use requires separate permission. Optional downloading or local importing does not change the license restrictions.