Downloads · 30 days
505
29% of all-time downloads
cstr/miocodec-v2-44k-GGUF
miocodec-v2-44k-GGUF is a audio-to-audio model from cstr. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
GGUF conversions of Aratako/MioCodec-25Hz-44.1kHz-v2 (MIT license, 133M params) for use with CrispASR.
Downloads · 30 days
505
29% of all-time downloads
All-time downloads
1.8K
Public
Repo size
536 MB
Likes
1
Public
Click a slice to open those files.
.gguf536 MB · 100%
From the Hugging Face model README
GGUF conversions of Aratako/MioCodec-25Hz-44.1kHz-v2 (MIT license, 133M params) for use with CrispASR.
MioCodec is a lightweight neural audio codec: encode 44.1 kHz audio to 25 Hz discrete tokens (12800 vocab, 341 bps), decode tokens + speaker embedding back to waveform.
| File | Size | Type | Notes |
|---|---|---|---|
miocodec-v2-44k-f16.gguf | 259 MB | F16 | Full precision decode weights |
miocodec-v2-44k-q8_0.gguf | 155 MB | Q8_0 | ~2x compression, cos=0.992 vs F32 |
miocodec-v2-44k-q4_k.gguf | 99 MB | Q4_K | ~4x compression, cos=0.914 vs F32 |
All GGUFs contain the decoder-only weights (FSQ quantizer + wave_prenet + wave_decoder + wave_post_net + SnakeBeta upsampler + ISTFTHead). The WavLM encoder is separate.
tokens(T) -> FSQ(T, 768) -> wave_prenet 6L Transformer(T, 512)
-> ConvTranspose1d 2x -> interpolate -> ResNet x2
-> wave_decoder 8L Transformer+AdaLN-Zero(T', 512) -> ResNet x2
-> SnakeBeta Upsampler 9x -> ISTFTHead(394) -> 44.1kHz waveform
x + exp(-beta) * sin^2(exp(alpha) * x) periodic activation| Stage | cos |
|---|---|
| fsq_decoded | 1.000000 |
| wave_prenet_out (6L Transformer) | 1.000000 |
| wave_decoder_out (8L AdaLN Transformer) | 1.000000 |
| wave_upsampler_out | 1.000000 |
| istft_mag_phase | 1.000000 |
| output_waveform (175518 samples) | 0.999998 |
# Diff harness (verify per-stage parity)
crispasr-diff miocodec miocodec-v2-44k-f16.gguf ref.gguf audio.wav
python models/convert-miocodec-to-gguf.py \
--model Aratako/MioCodec-25Hz-44.1kHz-v2 \
--output miocodec-v2-44k-f16.gguf --dtype f16
# Quantize
crispasr-quantize miocodec-v2-44k-f16.gguf miocodec-v2-44k-q8_0.gguf q8_0
crispasr-quantize miocodec-v2-44k-f16.gguf miocodec-v2-44k-q4_k.gguf q4_k
MIT (same as the original model).
Aratako.mit. This repository redistributes under the same terms; it grants no rights the upstream licence does not.