/ Модель

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

Лицензия
Apache 2.0
Базовая модель
MOSS-Audio-Tokenizer-v2
Библиотека
loom-py-rt
Опубликована
27 сен 2026

moss-audio-tokenizer-v2-loom

Генерация аудиоТекст → аудио3 профессии

Декодер MOSS восстанавливает 48 кГц стереозвук из дискретных аудиотокенов и поставляется в формате GGUF для loom.cpp.

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

Бенчмарки

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

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

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

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

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

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

MOSS-Audio-Tokenizer v2 (decoder) — декодер OpenMOSS для восстановления стереозвука из дискретных аудиокодовых токенов. Репозиторий loom-ai-org содержит неизменённые веса исходной модели, экспортированные в формат GGUF для loom.cpp; для работы используется библиотека loom-py-rt. Модель декодирует до 32 кодов на кадр с частотой 12,5 кадра в секунду и выдаёт двухканальный звук с частотой 48 кГц. Это аудиокодек, а не языковая модель: у него нет словаря или языковой привязки.

Декодер предназначен для восстановления аудио из кодов MOSS и может использоваться как часть локального синтеза речи с совместимой моделью, например MOSS-TTS. Сам по себе он не принимает текст, не кодирует звук и не поддерживает клонирование голоса. Декодирование выполняется целым клипом за один вызов; максимум — 4096 кадров, или около 5,5 минуты. На двухъядерном процессоре обработка 30 секунд аудио занимает примерно две минуты. Лицензия — Apache-2.0.

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

  • восстановление стереоречи из токенов MOSS
  • декодирование аудиокодовых последовательностей в WAV
  • локальный синтез речи в связке с совместимой моделью MOSS-TTS

Ограничения

Это только декодирующая часть кодека: модель не кодирует входное аудио и сама по себе не выполняет клонирование голоса. Клип декодируется за один вызов, ограничен 4096 кадрами; на двухъядерном CPU обработка 30 секунд занимает около двух минут.

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

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

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

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

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

Открыть на Hugging Face

MOSS-Audio-Tokenizer v2 (decoder)

OpenMOSS's 48 kHz stereo audio tokenizer, decode half, exported for loom.cpp. Family 11: codec tokens in, interleaved stereo out -- and the family's first leaf with no convolution at all.

This is a loom.cpp export: a single self-describing GGUF that carries its own graph topologies, tokenizer (if any) and driver script, produced by loom-exporter.

Original model

Exported from OpenMOSS-Team/MOSS-Audio-Tokenizer-v2. Weights are unmodified; this repo packages the same parameters into loom.cpp's GGUF format.

License

apache-2.0, inherited from the base model above.

Language(s)

(none tagged upstream)

a codec, not a language model: it carries no vocabulary and no language.

Usage

Run it with loom-py -- loom-py-rt on PyPI:

pip install -U "loom-py-rt[hub]>=1.0.0"
import loom

model = loom.Model.from_pretrained("loom-ai-org/moss-audio-tokenizer-v2-loom")

# The geometry a caller needs, declared by the file rather than looked up in a paper:
n_codebooks = model.hparam("codec.n_codebooks")       # code streams per frame
codebook_size = model.hparam("codec.codebook_size")   # valid id range per stream
frame_rate = model.hparam("codec.frame_rate", "f32")  # codes per second
print(n_codebooks, codebook_size, frame_rate, model.contract["sample_rate"])

# Codes are FRAME-MAJOR: all `n_codebooks` codes for frame 0, then frame 1, and so on. This file
# is the DECODE half -- real codes come from the matching encoder, or an AR model that emits them.
frames = round(frame_rate)                            # one second of audio
codes = [[0] * n_codebooks for _ in range(frames)]
audio = model.codes2speech.infer(codes)
print(len(audio), "samples at", audio.sample_rate, "Hz =", round(audio.duration, 3), "s")
audio.save("out.wav")

# A flat list works too, and is what a driver that emitted the codes hands over. One that is not a
# whole number of frames is refused rather than reinterpreted at a different width.
audio = model.codes2speech.infer([0] * (frames * n_codebooks))

Streaming

# Live: push codes as they arrive and get their audio back; the pieces joined are what one `infer` over
# every frame pushed returns.
stream = model.codes2speech.stream()
pieces = [stream.push(codes[i:i + 4]) for i in range(0, len(codes), 4)]
pieces.append(stream.finish())
print(sum(len(piece) for piece in pieces), "samples")

The audio is interleaved stereo: audio.channels is 2, audio.samples runs L R L R ..., audio.duration accounts for it, audio.save() writes a two-channel WAV and numpy.asarray(audio) is [frames, 2].

Rows narrower than 32 decode as a prefix of the codebooks: the rest of each row is filled with the id the file declares as absent. That is how moss-tts-local-transformer-v1.5-loom's 12 codebooks decode:

print(model.hparam("codec.absent_code"), audio.channels)
audio = model.codes2speech.infer([[0] * 12 for _ in range(frames)])   # 12 of 32

The layer underneath

The call above is the high-level door: one per task, named for the modality pair it maps between, with the windowing, sampling and assembly this model needs already applied. Under it, model.infer(...) passes your arguments straight to the driver this GGUF embeds -- which is where you go for a knob the door does not name.

model.driver_source prints that driver, including a header comment documenting every argument it accepts for this model, and is the authority on it. See loom-py for the API and loom.cpp for what the engine does between the two.

Known limitations

This is the DECODE half only, like every codec in this collection: encode is audio-in/codes-out, a different contract, and no model that decodes through this codec calls it. It is also what voice cloning with MOSS-TTS would need, so cloning is not available through these two repos.

infer decodes a clip in ONE call, never in overlapping chunks, because no chunking is exact here; codes2speech.stream() is, the other way: each of the six transformer stages carries a ring KV cache of its own from one push to the next (loom.cpp ADR-103). The decoder is six causal transformer stacks (12.5 Hz up to 400 Hz) with windowed attention, and 92 layers of windows reach further back than any chunk could carry: a chunked decode with 8 s of overlap is still 48% away from the model's own answer. The attention is computed in blocks, so memory grows linearly with the clip rather than quadratically. The ceiling is 4096 frames, 5.5 minutes, which is upstream's own generation budget. Verified against upstream's decode at 1.2e-06 relative RMS on 30 s of speech.

Feed it frame-major rows of up to 32 codes at 12.5 frames per second; one frame is 3840 samples per channel at 48 kHz. On a 2-core CPU a 30 s clip takes about two minutes.

Files

  • moss-audio-tokenizer-v2.gguf -- the model, exported with loom-exporter.

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

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

GPU в ailist

Универсальный рантайм · loom-py-rt

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

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
4116f6c

0 моделей