FastSpeech क्या है? तेज़ TTS के लिए फोनिम अवधि नियंत्रित करना
FastSpeech फोनिम अवधि से मेल स्पेक्ट्रोग्राम समानांतर बनाता है। यह शिक्षक मॉडल, Length Regulator, FastSpeech 2 की लय संबंधी शर्तें और प्रकाशित गति आँकड़ों का संदर्भ समझाता है।
FastSpeech क्या है? तेज़ TTS के लिए फोनिम अवधि नियंत्रित करना
FastSpeech एक non-autoregressive TTS मॉडल है, जो पाठ की phoneme representation से mel spectrogram parallel बनाता है। यह पिछले acoustic frame की प्रतीक्षा किए बिना कई frames का अनुमान लगाता है। फिर भी phoneme duration और waveform vocoder पूरे pipeline के महत्वपूर्ण हिस्से हैं।
Length Regulator की भूमिका
मूल FastSpeech text frontend से phonemes लेता है और autoregressive teacher model के attention alignment से उनकी अवधि निकालता है। Length Regulator हर phoneme representation को उसकी अवधि के अनुसार दोहराकर mel frames जितनी लंबाई बनाता है। Feed-forward Transformer इसके बाद सभी frames parallel अनुमानित करता है।
समझाने के लिए: A, B, C की अवधि 2, 3, 1 frame हो तो विस्तार A,A,B,B,B,C होगा। यह वास्तविक मॉडल आउटपुट नहीं है। गलत अवधि बोलने की गति, सीमाएँ और prosody बदलती है।
| चरण | काम | जाँच |
|---|---|---|
| Text frontend | सामान्यीकृत पाठ को phoneme में बदलना | भाषा, लिपि, उच्चारण नियम, शब्दकोश |
| Duration | Teacher alignment से प्रति phoneme frame अनुमान | Alignment की त्रुटियाँ आगे तो नहीं जातीं |
| Length Regulator | Representation को frame संख्या तक बढ़ाना | गति नियंत्रण अपेक्षित है या नहीं |
| Acoustic model | Mel frames को parallel अनुमानित करना | Vocoder input settings से मेल |
| Vocoder | Mel को waveform में बदलना | अतिरिक्त latency, memory और गुणवत्ता |
मूल शोध ने LJSpeech पर अपने autoregressive Transformer TTS comparator की तुलना में mel generation 270× और पूरी synthesis 38× तेज़ बताई। ये परिणाम उसी डेटा, hardware, implementation और baseline के हैं; सामान्य गारंटी नहीं। शोध ने कठिन मामलों में कम शब्द छूटने/दोहराने और 0.5×–1.5× गति नियंत्रण भी बताया।
FastSpeech और FastSpeech 2
FastSpeech का teacher-student training शिक्षक alignment और सरल mel target पर निर्भर है; तैयारी जटिल हो सकती है और pitch/energy विविधता खो सकती है। FastSpeech 2 वास्तविक mel target पर सीधे train करता है और duration, pitch, energy को conditions बनाता है। इसके पेपर में duration के लिए forced alignment है। FastSpeech 2s अलग अगला मॉडल है जो पाठ से waveform parallel बनाने का प्रयास करता है।
Version जाँचें: FastSpeech और FastSpeech 2 की conditions तथा data तैयारी अलग हैं। Community implementation में मूल पेपर से अलग Post-Net हो सकता है। README/config पढ़ें और frontend, lexicon, aligner, mel settings तथा vocoder तय करें।
चयन और सत्यापन
पूरे pipeline को मापें। नाम, अंक, विराम-चिह्न और लंबी पंक्तियाँ आजमाएँ; उच्चारण, छूटे/दोहराए शब्द, prosody, artifacts और समझने की क्षमता सुनें। डेटा को speaker या recording के अनुसार बाँटें। लक्ष्य hardware पर latency और memory मापें। Vocoder के लिए mel bins, sample rate, normalization और training configuration मिलाएँ।
क्रमिक frame देने वाले Tacotron तथा vocoder बन सकने वाले WaveNet से तुलना करें।
स्रोत
Ren et al., [FastSpeech](https://arxiv.org/abs/1905.09263), NeurIPS 2019.
Ren et al., [FastSpeech 2](https://arxiv.org/abs/2006.04558), ICLR 2021.
Microsoft Research, [FastSpeech 2 परिचय](https://www.microsoft.com/en-us/research/articles/fastspeech-2-fast-and-high-quality-end-to-end-text-to-speech/).
[FastSpeech project](https://speechresearch.github.io/fastspeech/) और [FastSpeech 2 project](https://speechresearch.github.io/fastspeech2/).