Instructions to use VoxRT/linnet-en-35m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LinnetTTS
How to use VoxRT/linnet-en-35m with LinnetTTS:
# pip install linnet-tts soundfile import linnet_tts, soundfile as sf from huggingface_hub import hf_hub_download model = linnet_tts.Model( hf_hub_download("VoxRT/linnet-en-35m", "linnet-en-35m.fp16.safetensors"), hf_hub_download("VoxRT/linnet-en-35m", "tokenizer.model"), ) voice = model.load_voice(hf_hub_download("VoxRT/linnet-en-35m", "voices/linnet-en-f1.npy")) audio = model.synthesize("Hello there.", voice, temp=0.3, cfg=2.0, seed=0) sf.write("hello.wav", audio, model.sample_rate) # float32, 24 kHz # streaming: one chunk per 80 ms step session = model.session(voice, seed=0) session.prime("Streaming gives the first chunk of audio after one step.") for chunk in session: ... - Notebooks
- Google Colab
- Kaggle
Model card: examples with players
Browse files
README.md
CHANGED
|
@@ -33,6 +33,20 @@ use of the unmodified weights with the built-in voices inside your own products,
|
|
| 33 |
custom voices, modification of the weights, model training and general-purpose text-to-speech services to separate written licenses
|
| 34 |
from VoxRT (help@voxrt.com). The license text governs; this summary does not. The model card follows.
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
# Model card: `linnet-en-35m`
|
| 37 |
|
| 38 |
## Summary
|
|
|
|
| 33 |
custom voices, modification of the weights, model training and general-purpose text-to-speech services to separate written licenses
|
| 34 |
from VoxRT (help@voxrt.com). The license text governs; this summary does not. The model card follows.
|
| 35 |
|
| 36 |
+
## Examples
|
| 37 |
+
|
| 38 |
+
Default parameters (`temp` 0.3, `cfg` 2.0, `seed` 0), fp16 weights, Rust runtime. The model has no text normalisation: simple digit
|
| 39 |
+
forms are usually read correctly, dense raw text (currency amounts, percentages, slash or ISO dates, phone numbers) should be converted
|
| 40 |
+
to words before synthesis.
|
| 41 |
+
|
| 42 |
+
| voice | text | audio |
|
| 43 |
+
|---|---|---|
|
| 44 |
+
| `linnet-en-f1` | Good morning, and welcome back. The meeting starts at nine, and the coffee is already on the table. | <audio controls src="https://huggingface.co/VoxRT/linnet-en-35m/resolve/main/examples/linnet-en-f1_plain.wav"></audio> |
|
| 45 |
+
| `linnet-en-f1` | There are 24 students in room 12, and the class starts at 9:30. | <audio controls src="https://huggingface.co/VoxRT/linnet-en-35m/resolve/main/examples/linnet-en-f1_numbers.wav"></audio> |
|
| 46 |
+
| `linnet-en-m1` | Good morning, and welcome back. The meeting starts at nine, and the coffee is already on the table. | <audio controls src="https://huggingface.co/VoxRT/linnet-en-35m/resolve/main/examples/linnet-en-m1_plain.wav"></audio> |
|
| 47 |
+
| `linnet-en-m1` | There are 24 students in room 12, and the class starts at 9:30. | <audio controls src="https://huggingface.co/VoxRT/linnet-en-35m/resolve/main/examples/linnet-en-m1_numbers.wav"></audio> |
|
| 48 |
+
|
| 49 |
+
|
| 50 |
# Model card: `linnet-en-35m`
|
| 51 |
|
| 52 |
## Summary
|