Configuration Parsing Warning:Invalid JSON for config file config.json
π·πΈ sr-cv-vits
Serbian Text-to-Speech model based on VITS architecture.
π Model Overview
sr-cv-vits is a high-quality single-speaker Serbian TTS model trained using the VITS architecture and the Coqui TTS framework.
The model generates natural-sounding speech in Serbian (Cyrillic script).
- π£οΈ Language: Serbian (Δirilica)
- π© Speaker: Female (single-speaker)
- π§ Architecture: VITS
- βοΈ Framework: Coqui TTS
- π€ Text processing:
multilingual_cleaners - π Dataset formatter:
common_voice - π Sampling rate: 22050 Hz
π§ Audio Samples
Below are example outputs generated by the model:
βΆοΈ Sample 1
βΆοΈ Sample 2
π Place
test1.wavandtest2.wavin the root of the repository.
π Training Details
- Epochs: 1000
- Dataset size: ~8 hours of speech
- Speaker: Female (volunteer)
- Script: Cyrillic only
- Numbers: Not supported (removed from dataset)
π Dataset
The model is trained on a dataset formatted using the common_voice formatter.
The dataset contains approximately 8 hours of curated Serbian speech data.
β οΈ Note: Numerical expressions were excluded during training.
βοΈ Usage
This model can be used via Coqui TTS.
π Python Example
from TTS.api import TTS
# Load model from Hugging Face
tts = TTS(model_name="daremc86/sr-cv-vits")
# Generate speech
tts.tts_to_file(
text="ΠΠ΄ΡΠ°Π²ΠΎ, ΠΊΠ°ΠΊΠΎ ΡΠΈ?",
file_path="output.wav"
)
π¦ Installation
Install Coqui TTS:
pip install coqui-tts
π Example Text
ΠΠ΄ΡΠ°Π²ΠΎ, ΠΊΠ°ΠΊΠΎ ΡΠΈ?
ΠΠ²ΠΎ ΡΠ΅ ΠΏΡΠΈΠΌΠ΅Ρ ΡΠΈΠ½ΡΠ΅Π·Π΅ Π³ΠΎΠ²ΠΎΡΠ°.
β οΈ Limitations
β Does not support numbers (e.g. "123")
π€ Works best with Cyrillic script only
π May struggle with:
- long or complex sentences
- uncommon words
- punctuation-heavy text
π License
This model is released under the CC-BY-4.0 License.
π€ Author
Darko MiloΕ‘eviΔ π§ daremc86@gmail.com
π€ Acknowledgements
This model is based on the VITS architecture and trained using the Coqui TTS framework.
π Future Improvements
- Support for numbers
- Latin script support
- Larger dataset
- Multi-speaker version
π§© Notes
For best results:
- Use clean, well-structured sentences
- Avoid numbers and special symbols
- Prefer standard Serbian grammar and punctuation
- Downloads last month
- 142