
speech-seq2seq (moonshine)
Audio and speech821 ops27.1M params
Encoder-decoder speech recognizer using RoPE for padding-free, real-time transcription.
Audio and speech · 821 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
Moonshine is an encoder-decoder speech recognition model built for real-time transcription and for recognizing voice commands. Its distinguishing choice is positional: instead of absolute position embeddings it uses Rotary Position Embedding (RoPE), so speech of varying lengths can be handled without padding. Skipping the padding makes inference cheaper, which is the point: the model is aimed at resource-constrained devices.
The traced members are the MoonshineForConditionalGeneration build, the class whose generate method turns audio features into text tokens. The original checkpoints are published under the Useful Sensors organization.
Key idea. An encoder-decoder speech recognizer that swaps absolute position embeddings for RoPE so variable-length audio runs without padding, for real-time use on constrained devices.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.