Instructions to use Reza2kn/gooya-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Reza2kn/gooya-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Reza2kn/gooya-v1", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Reza2kn/gooya-v1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Reza2kn/gooya-v1", trust_remote_code=True, device_map="auto")Quick Links
Gooya V1 β Persian TTS
Persian text-to-speech: LoRA fine-tune of Gooya 0.1 (MOSS-TTS-Nano-100M) trained on the 102K approved corpus with v7 Negara G2P phonemes, then reinforced for long-form speech on 2,707 clips β₯6s to remove mid-word breathing.
Training
- Stage 1 (base): Gooya 0.1 + 3-epoch LoRA on 102,084 approved clips (v7 phonemes, 30 voices)
- val_loss 4.767 β 4.708 β 4.698
- Stage 2 (long-form): continue from Stage-1, 3-epoch LoRA on 2,707 clips β₯6s
- val_loss 4.892 β 4.888 β 4.887 (long-clip eval)
- Fixes the "short-burst + mid-word breath" artifact that comes from training on short clips only
- LoRA r16/Ξ±32 on 48
transformer.h.*linears (1.97% of params), bf16 - Data:
Reza2kn/homorich-negara-gemini-tts-approved(audio + grapheme + v7 phonemes)
Inference
Phonemize Persian β char-spaced phonemes (v7 G2P) β voice-clone synthesis.
Use cool audio sampling (audio_temperatureβ0.6, audio_top_pβ0.9) β the default 1.7 is too hot
and causes tremor. For long text, single-pass works up to ~12-16s after the long-form reinforcement.
Gate C / matrix
gate_c/β held-out short clips (pre-reinforcement)matrix/β full A/B: 2 G2P (v7/homo) Γ 2 TTS (gooya01/v1), v7Γv1 winslong_reinforced.wav(root) β long-form demo: full 12s sentence in one pass, no mid-word breaths
- Downloads last month
- 75
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Reza2kn/gooya-v1", trust_remote_code=True)