AI SeedbankHelp preserve open and free AI for humanity's future

← All models

hubertsiuzdak_snac_24khz

hubertsiuzdak · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: mit tags:

  • audio

SNAC 🍿

Multi-Scale Neural Audio Codec (SNAC) compressess audio into discrete codes at a low bitrate.

👉 This model was primarily trained on speech data, and its recommended use case is speech synthesis. See below for other pretrained models.

🔗 GitHub repository: https://github.com/hubertsiuzdak/snac/

Overview

SNAC encodes audio into hierarchical tokens similarly to SoundStream, EnCodec, and DAC. However, SNAC introduces a simple change where coarse tokens are sampled less frequently, covering a broader time span.

This model compresses 24 kHz audio into discrete codes at a 0.98 kbps bitrate. It uses 3 RVQ levels with token rates of 12, 23, and 47 Hz.

Pretrained models

Currently, all models support only single audio channel (mono).

Model Bitrate Sample Rate Params Recommended use case
hubertsiuzdak/snac_24khz (this model) 0.98 kbps 24 kHz 19.8 M 🗣️ Speech
hubertsiuzdak/snac_32khz 1.9 kbps 32 kHz 54.5 M 🎸 Music / Sound Effects
hubertsiuzdak/snac_44khz 2.6 kbps 44 kHz 54.5 M 🎸 Music / Sound Effects

Usage

Install it using:

pip install snac

To encode (and decode) audio with SNAC in Python, use the following code:

import torch
from snac import SNAC

model = SNAC.from_pretrained("hubertsiuzdak/snac_24khz").eval().cuda()
audio = torch.randn(1, 1, 24000).cuda()  # B, 1, T

with torch.inference_mode():
    codes = model.encode(audio)
    audio_hat = model.decode(codes)

You can also encode and reconstruct in a single call:

with torch.inference_mode():
    audio_hat, codes = model(audio)

⚠️ Note that codes is a list of token sequences of variable lengths, each corresponding to a different temporal resolution.

>>> [code.shape[1] for code in codes]
[12, 24, 48]

Acknowledgements

Module definitions are adapted from the Descript Audio Codec.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:98857dc5995dc6c5cb0fae40073047fa5f62e53b&dn=hubertsiuzdak_snac_24khz

Open magnet in torrent client · infohash 98857dc5995dc6c5cb0fae40073047fa5f62e53b

Files & hashes

PathSizesha1sha256
README.md2.3 KB (2,368 B)e60cacc16cf9f636917cb976cf3c91dc2cea144b0e4c64e8609f4576211f5e94cef60701e0459081e6da7ddf1e923fc766d88be1
config.json300 B (300 B)a9e7ef62bf7e1eb94d2713721029837aacab3b55e119b9366d4f5e73c6ca5f31137c4ff361578bbb132953a5203afe037c4012be
pytorch_model.bin75.8 MB (79,488,254 B)8591fcab462aea81f97c0c6f9ff1a996061fdfd14b8164cc6606bfa627f1a784734c1e539891518f1191ed9194fe1e3b9b4bff40

Cite this release

Canonical URL
https://aiseedbank.org/models/hubertsiuzdak_snac_24khz/
Slug
hubertsiuzdak_snac_24khz
Infohash
98857dc5995dc6c5cb0fae40073047fa5f62e53b
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: hubertsiuzdak_snac_24khz.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryhubertsiuzdak/snac_24khz
Revision (pinned)d73ad176a12188fcf4f360ba3bf2c2fbbe8f58ec
Fetched at2026-09-04T00:34:31Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T00:34:34Z

mit75.8 MB (79,490,922 bytes)transformerspytorchaudioendpoints_compatible