All models

speech-seq2seq (seamless_m4t_v2)

Multilingual speech and text translation model with a two-pass text-then-unit architecture.

Audio and speech · 2,895 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

This diagram has 2,895 operations (130 KB) and is drawn when you ask.

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
1.5B
Operations
2,895
Framework
PyTorch
Recurrent
No
Published
2023
Name in source
seamless_m4t_v2:speech-seq2seq
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
m9111
Graph hash
3b00c44102772698fb9bf2f31331e58ddf394694cb54f4dbd74937f8bae77cf7
Skeleton hash
b5383088a4c5f2a424b4809eb374636ca6f5b04c0e3d3812d8d61983a2c5a16e
Architecture hash
3f754fb9be7a0c257143b777afc6900efed2530832d1fe0e45888ba327fee4e6
Diagram SHA-256
84281f0c5c41711aee897ab07a2d9a59a1e9df6766c34d4035f589325ca65e64
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

About this model's family

SeamlessM4T-v2 is a collection of translation models built so that people from different language communities can communicate through speech and text. It comes from the Seamless Communication team at Meta AI. One model covers speech-to-speech, speech-to-text, text-to-speech and text-to-text translation, and each task also has its own dedicated sub-model. The speech-to-text and text-to-speech sub-models perform their task without the additional components.

The architecture chains two sequence-to-sequence models: the first translates the input into text, and the second generates speech "unit tokens" from that text. For speech output a vocoder inspired by HiFi-GAN sits on top of the second model. Compared with the first version, the text-to-unit model is non-autoregressive and computes its units in a single forward pass. The speech encoder uses a chunked attention mask, so each position attends only within its own chunk and a fixed number of previous chunks.

Key idea. SeamlessM4T v2 updates the UnitY2 framework with a non-autoregressive text-to-unit model and provides the foundation for SeamlessExpressive and SeamlessStreaming.

  • seamless m4t v2
  • seamlessm4t-v2
  • speech translation
  • speech-to-text translation
  • text-to-speech translation
  • multilingual translation
  • automatic speech recognition
  • unit tokens
  • meta ai

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