All models

fastspeech2_conformer_with_hifigan (text to waveform)

FastSpeech 2 text-to-speech with conformer blocks in place of transformer blocks, from ESPnet.

Audio and speech · 891 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (10 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
84.2M
Operations
891
Framework
PyTorch
Recurrent
No
Name in source
fastspeech2_conformer_with_hifigan:text-to-waveform
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4859
Graph hash
79136f8dd237c080aed49ed32716416e4a1d8785768cda944789bffe1eeba336
Skeleton hash
13dd8d973fecc249bdc192d7362e02b95090558c729acd98cfbfeb8e15bb86a1
Architecture hash
01dd0dd3943fab357680291ef5eb0d866130506c6537de47552bf8534cb0f645
Diagram SHA-256
a1cc5c07bd65b67fe1090824745579723ed7d2a4534a8459f6b97e846e4974a2
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

transformers.AutoModelForTextToWaveform.from_config()

What it is

About this model's family

FastSpeech2Conformer is a non-autoregressive text-to-speech model: FastSpeech2's general structure with a Mel-spectrogram decoder, with the traditional transformer blocks replaced by conformer blocks as done in the ESPnet library. FastSpeech 2 trains directly on ground-truth targets instead of a teacher's simplified output and takes pitch, energy and duration as conditional inputs, which is how it tackles the one-to-many mapping in TTS. Instead of quantized pitch and energy, this implementation uses the token-averaged values introduced in FastPitch.

The original FastSpeech 2 paper reports a 3x training speed-up over FastSpeech. The acoustic model emits a spectrogram and a separate FastSpeech2ConformerHifiGan vocoder turns it into a waveform.

Key idea. Swapping the transformer blocks of FastSpeech 2's parallel text-to-spectrogram model for conformer blocks, following ESPnet.

  • FastSpeech2Conformer
  • FastSpeech 2
  • FastSpeech2
  • conformer TTS
  • ESPnet
  • text to speech
  • TTS
  • mel spectrogram
  • HiFi-GAN
  • FastSpeech2ConformerWithHifiGan
  • espnet/fastspeech2_conformer

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.