All models

dac (base neural audio codec)

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

Audio and speech · 1,055 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 (25 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
76.6M
Operations
1,055
Framework
PyTorch
Recurrent
No
Name in source
dac:base-neural-audio-codec
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
m4069
Graph hash
c0329a640e080d725a2a502ae4c972fc888bc5f72f50cdf5a0b05c1fb52ff5bc
Skeleton hash
8bc5bdc73e25c7df3d245003b064ed1d34ea42550cb2d47877e52ba4732ce7f5
Architecture hash
6facba373b506f89d3bf9c5915f47d865000023ecc6f73de87ffeaf69039fdbc
Diagram SHA-256
e0c1b4222ab97dbd8ac9e6d294e807570845a7177ee1afdcda3498193264cd45
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

transformers.AutoModel.from_config()

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.