All models

sb_DAC_codec

A neural audio codec with an encoder, a residual vector quantizer and a decoder.

Audio and speech · 61 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 (9 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

Family
dac
Parameters
8K
Operations
61
Framework
PyTorch
Recurrent
No
Published
2023
Source
transformers 5.18.0
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
m9048
Graph hash
3b801182fd0b0c308b0a8de043c4aad5a2a93f5e5acd23bfd1e0a660dbd336dd
Skeleton hash
ff04e26dcca0bd2a41a6cefbd1b9ac1da35cc3da2fde49c1775e3558033bf0bc
Architecture hash
27eb28ab683b46b7d0c62461ec5c0cf5d9010660964da673881103baf70a155a
Diagram SHA-256
d9f05edc37dccfa225f003eb8bc266dba7dc25fbca49d658fe313ca40d7eafd9
TorchLens version
2.35.3
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

menagerie.classics.wave_d_reimpl:build_speech: build({})

What it is

About this model's family

DAC, the Descript Audio Codec, is a neural audio codec that compresses audio into discrete tokens and reconstructs the audio from them. It was proposed in the paper "Descript Audio Codec: High-Fidelity Audio Compression with Improved RVQGAN". The paper's abstract describes a universal neural audio compression algorithm that achieves about 90x compression of 44.1 KHz audio into tokens at 8kbps bandwidth. The authors say they get there by combining advances in high-fidelity audio generation with better vector quantization techniques from the image domain, along with improved adversarial and reconstruction losses. One model is used for all domains of audio, including speech, environment and music.

The model is structured into three stages. An encoder compresses the input audio, a residual vector quantizer (RVQ) quantizes the latent codes of the audio, and a decoder reconstructs the audio from its compressed form.

Key idea. The paper introduced a universal neural audio compression model that compresses 44.1 KHz audio about 90x into tokens at 8kbps bandwidth.

  • DAC
  • Descript Audio Codec
  • neural audio codec
  • audio compression
  • audio tokenizer
  • residual vector quantization
  • RVQ
  • audio tokens

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