/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
indicodec-lite · dense
Базовая модель
IndiCodec
Опубликована
27 ноя 2026

IndiCodec-Lite

Обработка аудиоАудио → аудио3 профессии

Компактный речевой кодек для сжатия и восстановления английской и индийской речи при битрейте 1,09 кбит/с, в том числе на CPU и телефонах.

28скачиваний за 30 дней1лайквеса обновлены28 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

IndiCodec-Lite — облегчённый дистиллированный речевой кодек, разработанный как компактная версия IndiCodec. Модель содержит 58 млн параметров и предназначена для сжатия и восстановления речи при битрейте 1,09 кбит/с. Она использует два потока токенов: содержательный с частотой 25 Гц и акустический с частотой 50 Гц. Входной звук приводится к 16 кГц, восстановленный звук выдаётся с частотой 24 кГц.

Кодек рассчитан на английскую речь и индийские языки, включая хинди, бенгальский, гуджарати, каннада, малаялам, маратхи, одия, пенджаби, тамильский и телугу. Он работает на CPU и телефонах, поддерживает PyTorch и ONNX Runtime и совместим с пространством токенов IndiCodec v1.0, поэтому подходит для подготовки аудиотокенов для речевых языковых моделей и TTS. Модель лицензирована по Apache 2.0, допускающей коммерческое использование.

IndiCodec-Lite сохраняет качество речи при низком битрейте и показывает хорошие результаты по разборчивости на английском и индийских языках. Это кодек только для речи: он не предназначен для музыки и не поддерживает потоковую обработку, поскольку кодировщики и декодер анализируют весь аудиофрагмент. По сравнению с IndiCodec v1.0 показатели ошибок распознавания несколько выше.

Сценарии применения

  • сжатие и восстановление речи при низком битрейте
  • кодирование аудио для речевой языковой модели
  • подготовка токенов речи для обучения TTS
  • обработка речевых аудиофайлов на CPU или телефоне

Ограничения

Модель предназначена только для речи, не для музыки, и не поддерживает потоковую обработку. По сравнению с IndiCodec v1.0 у неё немного выше WER и CER.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

IndiCodec-Lite

A distilled, lightweight version of IndiCodec: the same 1.09 kbps speech codec and the same tokens in 58 M parameters (75 MB in INT8), small enough for CPUs and phones.

Key features

  • Same tokens as IndiCodec v1.0. Content stream (25 Hz) + acoustic stream (50 Hz), the same FSQ grids. A speech LM or TTS trained on IndiCodec tokens decodes with IndiCodec-Lite, and the other way round.
  • 11x smaller: 58 M parameters vs 624 M. 75 MB as INT8 ONNX, 232 MB in fp32.
  • Runs without a GPU: PyTorch on GPU or CPU, or ONNX Runtime (numpy + onnxruntime, no PyTorch). On ARM (phones, Apple silicon) the INT8 files run at 0.064 x real time on 4 CPU threads.
  • Keeps IndiCodec's lead on words: more words kept than Mimi, SNAC and NeuCodec at about 1 kbps, in English and in Indian languages (ahead of SNAC and NeuCodec in each of the 10 languages tested).
  • 16 kHz in, 24 kHz out. Any input sample rate is resampled.
  • Commercial use allowed: Apache 2.0.

Model details

Content stream25 Hz, FSQ 8 × 3 levels = 6,561 ids, 317 bps
Acoustic stream50 Hz, FSQ 6 × 6 levels = 46,656 ids, 775 bps
Bitrate1.09 kbps
Parameters58 M: content encoder 21.8 M, acoustic encoder 14.8 M, decoder 21.2 M
Filesmodel.safetensors (fp32, PyTorch); onnx/ INT8 set (75 MB) and fp32 set (233 MB)
LicenceApache 2.0

All three networks were distilled from IndiCodec v1.0 against its frozen quantizers: the content encoder (a 6 x 384 Conformer initialised from w2v-BERT 2.0) to reproduce its content ids, with noise added to the input; the acoustic encoder (a CNN) to reproduce its acoustic features; and the decoder (8 x 384 transformer, ISTFT head) to reproduce its audio from the same ids.

Quality

Speech codecs at about 1 kbps, on speakers not seen in training. Every codec is scored on the same clips with the same scorers as the IndiCodec card.

PESQ-WB (higher is better):

Test setIndiCodec-Lite1.09 kbpsIndiCodec v1.01.09 kbpsMimi, 8 codebooks1.10 kbpsSNAC 24 kHz0.98 kbpsNeuCodec0.80 kbps
LibriTTS-R test (English)2.352.412.322.292.19
CMU-Arctic (English)2.272.302.282.172.06
Seed-TTS eval (English)1.971.992.071.821.81
FLEURS, 10 Indian languages1.871.901.841.691.69

Intelligibility and voice (higher is better):

IndiCodec-LiteIndiCodec v1.0MimiSNACNeuCodec
ESTOI, CMU-Arctic (English)0.8500.8550.8480.8350.824
ESTOI, Seed-TTS eval (English)0.7820.7860.7940.7620.758
ESTOI, FLEURS, 10 Indian languages0.6400.6400.6130.5950.591
Speaker similarity, Seed-TTS eval (English)0.9610.9640.9640.9460.957

Words after a round trip (lower is better):

IndiCodec-LiteIndiCodec v1.0MimiSNACNeuCodec
English WER, Seed-TTS eval3.1 %2.5 %3.6 %4.9 %3.5 %
English WER, CMU-Arctic2.4 %2.3 %3.2 %3.8 %2.8 %
Indian-language CER, FLEURS, 10 languages6.9 %6.3 %14.3 %13.3 %8.9 %
Tokens per second75751008250

English WER uses Whisper large-v3; Indian-language CER uses the IndicConformer 600M ASR. Speaker similarity is the cosine between WavLM-base-plus-sv x-vectors of each decode and its own original. IndiCodec-Lite rows are the fp32 weights; the INT8 files on ARM score within 0.004 PESQ of them.

Use

PyTorch (GPU or CPU), same environment as IndiCodec:

hf download prakharkhatri/IndiCodec-Lite --local-dir IndiCodec-Lite && cd IndiCodec-Lite
pip install torch==2.6.0 torchaudio==2.6.0 safetensors soundfile scipy transformers==4.51.* vector-quantize-pytorch==1.17.8 torchtune==0.5.0 torchao==0.9.0 local-attention einops librosa
pip install --no-deps "git+https://github.com/neuphonic/neucodec@ed3e6cd"
import soundfile as sf
from indicodec_lite import IndiCodecLite

codec = IndiCodecLite.load("model.safetensors")
wav, sr = sf.read("speech.wav")

content, acoustic = codec.encode(wav, sr)    # token arrays
audio = codec.decode(content, acoustic)      # 24 kHz

ONNX Runtime (CPUs and phones, no PyTorch):

pip install numpy scipy soundfile safetensors "onnxruntime>=1.18"
from indicodec_lite import IndiCodecLiteONNX

codec = IndiCodecLiteONNX.load(".")          # precision="auto": INT8 on ARM, fp32 on x86
content, acoustic = codec.encode(wav, sr)
audio = codec.decode(content, acoustic)

On x86 CPUs, auto picks the fp32 files: onnxruntime's INT8 kernels can saturate on x86 CPUs without VNNI and change the ids. On GPUs, use the PyTorch weights, or onnxruntime-gpu with providers=["CUDAExecutionProvider"] and precision="fp32".

The Lite encoders write the same token space as IndiCodec v1.0 but not identical ids (about a third of the frames match exactly; the rest are neighbouring values). Ids from either codec decode with the other; for training a model, encode the whole corpus with one of them.

Training data

English: Emilia-YODAS (English part only), LibriTTS, LibriTTS-R and VCTK. Indian languages: Rasa, IndicVoices-R and IndicVoices from AI4Bharat. Noise for augmentation: MUSAN and RIRS_NOISES. All CC BY 4.0, except RIRS_NOISES (Apache 2.0). No audio is included in this release.

Limits

  • Speech only; not for music.
  • Not streaming: the encoders and the decoder attend over the whole clip.
  • Words: about +0.6 points English WER and +0.5 points Indian-language CER over IndiCodec v1.0 (tables above).

Licence

Apache 2.0. Distilled from IndiCodec v1.0 (Apache 2.0), which is built on NeuCodec (Apache 2.0); the decoder classes load from neucodec. The content encoder was initialised from w2v-BERT 2.0 (MIT; licence text in indicodec_lite/w2v_bert/LICENSE).

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Обработка «аудио → аудио» пока не поддерживается рантаймом.

Ревизия весов
6603043

0 моделей