All models

seamless_m4t (base speech translation)

Single multilingual model translating between speech and text for up to 100 languages.

Audio and speech · 2,848 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,848 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,848
Framework
PyTorch
Recurrent
No
Published
2023
Name in source
seamless_m4t:base-speech-translation
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
m9107
Graph hash
d9dd51ba22bd62fadfc80911f837ba2356146f469fc36c5573f0593595a04a9f
Skeleton hash
84d947a54ffba8295f97d182fee086c7e9cce6142b0c93e25113345df7910799
Architecture hash
fd5d20e1ddf42401036feaf895d5be83c728c0a856c3c482b9e2ac7c543bd5f7
Diagram SHA-256
e4580c0307384b85a97aec431732b2eebeee0bce338546b1ceece57b50722b4d
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 is a set of translation models designed to let people from different linguistic communities communicate through speech and text. A single model supports speech-to-speech, speech-to-text, text-to-speech and text-to-text translation as well as automatic speech recognition for up to 100 languages. The speech-to-text and text-to-speech models on this page are dedicated sub-models that perform one task without the additional components of the full model, which reduces the memory footprint.

The architecture chains two sequence-to-sequence models: the first translates the input into text in the target language, and the second generates speech tokens, known as unit tokens, from that text. For speech output, a vocoder inspired by the HiFi-GAN architecture turns the unit tokens into audio. The paper reports a 20% BLEU improvement over the previous best system in direct speech-to-text translation on FLEURS.

Key idea. SeamlessM4T supports speech-to-speech, speech-to-text, text-to-speech and text-to-text translation plus automatic speech recognition for up to 100 languages in one model.

  • seamlessm4t
  • seamless m4t
  • speech translation
  • speech-to-text translation
  • text-to-speech
  • multilingual translation
  • speech recognition
  • meta ai seamless communication

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