All models

speecht5 (base speech text TTS)

One shared encoder-decoder for speech and text, wrapped by modal-specific pre- and post-nets.

Audio and speech · 910 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 (33 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
141.8M
Operations
910
Framework
PyTorch
Recurrent
No
Name in source
speecht5:base-speech-text-tts
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
m10133
Graph hash
20b0e456696ad7142fdb7d16b216069a0bd07fa7e1700ec45cfd455e4679702f
Skeleton hash
3ab4049e3c1ae85478d849bad5b8823f7a8a53ee5c60028586fff7ece4d6ed21
Architecture hash
dd5a221806fa52fac09110ae1578fb48f7e9b3fca39409364a908f5a3915a6ea
Diagram SHA-256
43cfaeba82c42675b402d16bbebee2200107cc28bec7a064381d56ae3e37e249
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

What it is

SpeechT5 brings the T5 idea, one encoder-decoder for every task, to spoken language: a single shared network handles speech and text in both directions. The framework is a shared encoder-decoder network wrapped by six modal-specific pre-nets and post-nets for speech and text. The pre-nets turn raw speech or text into the shared representation, the encoder-decoder does the sequence-to-sequence work, and the post-nets render the result as speech or text.

To pull the two modalities into one semantic space, pre-training uses cross-modal vector quantization that randomly mixes speech and text states with latent units at the encoder-decoder interface. The paper evaluates it across speech recognition, synthesis, translation, voice conversion, enhancement and speaker identification. The traced member is the shared encoder-decoder backbone on its own, fed hidden states directly, so the modal pre-nets and post-nets are not in the graph.

Key idea. A unified-modal encoder-decoder pre-trained on unlabeled speech and text, with modal-specific pre/post-nets around one shared network and cross-modal vector quantization to align the two modalities.

  • SpeechT5
  • speech T5
  • unified-modal encoder-decoder
  • speech recognition
  • text-to-speech
  • speech synthesis
  • voice conversion
  • spoken language processing

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