SAVRN
Search Contact SAVRN

Open-weight model · Audio text to text

MOSS-Transcribe-Diarize-HF

by Ita Zaporozhets itazap/MOSS-Transcribe-Diarize-HF

MOSS-Transcribe-Diarize 0.9B is an end-to-end audio understanding model for long-form multi-speaker transcription, diarization, timestamps, and acoustic event awareness.

Parameters909M
Context131,072
Weights3.6 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads1.3k

Runs On

What it takes to serve MOSS-Transcribe-Diarize-HF (909M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 1.8 GB 2.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.9 GB 1.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.5 GB 0.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Ita Zaporozhets, published under apache-2.0, revision fd8b043f8701.

MOSS-Transcribe-Diarize 0.9B is an end-to-end audio understanding model for long-form multi-speaker transcription, diarization, timestamps, and acoustic event awareness. It supports transcription and diarization across 50+ languages, single-pass inference on audio recordings up to 90 minutes long, and custom hotword prompting for domain-specific terms. Given an audio or video file, the model generates a compact speaker-aware transcript in one pass, including timestamps and anonymous speaker labels such as [S01], [S02], and beyond. 2026-07-22: The subtitle Web UI now supports both Simplified Chinese and English. 2026-07-14: MOSS-Transcribe-Diarize won first place in the 2nd MLC-SLM Challenge…

Read Ita Zaporozhets's full model card

MOSS-Transcribe-Diarize 0.9B

MOSS-Transcribe-Diarize 0.9B is an end-to-end audio understanding model for long-form multi-speaker transcription, diarization, timestamps, and acoustic event awareness.

It supports transcription and diarization across 50+ languages, single-pass inference on audio recordings up to 90 minutes long, and custom hotword prompting for domain-specific terms.

Given an audio or video file, the model generates a compact speaker-aware transcript in one pass, including timestamps and anonymous speaker labels such as [S01], [S02], and beyond.

News

  • 2026-07-22: The subtitle Web UI now supports both Simplified Chinese and English.
  • 2026-07-14: MOSS-Transcribe-Diarize won first place in the2nd MLC-SLM Challenge at INTERSPEECH 2026, spanning 14 languages (English, French, German, Italian, Portuguese, Spanish, Japanese, Korean, Russian, Thai, Vietnamese, Tagalog, Urdu, Turkish).
  • 2026-07-09: Released MOSS-Transcribe-Diarize 0.9B.

Contents

  • Introduction
  • Model Architecture
  • Evaluation
  • Quickstart
  • Environment Setup
  • Python Usage
  • Serve with vLLM and SGLang
  • Subtitle Web App
  • Output Format
  • More Information
  • License
  • Citation

Introduction

MOSS-Transcribe-Diarize 0.9B turns real-world long-form audio into structured, speaker-aware transcripts in one pass. Instead of stitching together separate ASR and diarization systems, it jointly performs speech transcription and speaker diarization, producing time-aligned text with consistent speaker labels.

The model is built for meetings, calls, podcasts, interviews, lectures, videos, and other long or messy multi-speaker recordings. It can also emit acoustic event annotations, giving downstream systems a richer view of what happened, who spoke, and when.

Core capabilities:

  • Long-form transcription: Converts long audio or video recordings into timestamped text.
  • Speaker-aware diarization: Assigns anonymous speaker labels such as [S01] and [S02] without a separate diarization pipeline.
  • Promptable generation: Supports custom transcription instructions, hotwords, and acoustic event annotations.

Model Architecture

This Hugging Face repository includes the custom Transformers remote code required to load the model with trust_remote_code=True.

Evaluation

We evaluate MOSS-Transcribe-Diarize using three objective metrics: Character Error Rate (CER), concatenated minimum-permutation Character Error Rate (cpCER), and Delta-cp. Lower is better for all metrics. A dash (-) indicates that the result is unavailable.

Model AISHELL‑4 Alimeeting Podcast Movies
CER↓cpCER↓Δcp↓ CER↓cpCER↓Δcp↓ CER↓cpCER↓Δcp↓ CER↓cpCER↓Δcp↓
Doubao 18.1827.869.68 25.2537.5712.31 7.9310.542.61 9.9430.8820.94
ElevenLabs 19.5837.9518.36 25.7036.6910.99 8.5011.342.85 11.4917.856.37
GPT-4o --- --- --- 14.3723.679.31
Gemini 2.5 Pro 42.7053.4210.72 27.4341.6414.21 7.3810.232.85 15.4624.158.69
Gemini 3 Pro 22.7527.434.68 26.7532.846.09 --- 8.6214.736.11
VIBEVOICE ASR 21.4024.993.59 27.4029.331.93 27.9448.3020.36 14.5942.5427.94
MOSS Transcribe Diarize 0.9B 14.8415.830.99 24.8622.17-2.69 5.977.371.40 6.3612.766.40
MOSS Transcribe Diarize Pro 13.7814.020.24 18.2213.94-4.27 4.466.972.51 5.8611.785.92

Quickstart

Environment Setup

Use a clean Python environment. The model uses custom Transformers code, so load the model and processor with trust_remote_code=True.

conda create -n moss-transcribe-diarize python=3.12 -y
conda activate moss-transcribe-diarize

git clone https://github.com/OpenMOSS/MOSS-Transcribe-Diarize.git
cd MOSS-Transcribe-Diarize

pip install --index-url https://download.pytorch.org/whl/cu128 torch torchaudio
pip install -e .

The GitHub package provides helper utilities such as audio/video loading, transcription message construction, transcript parsing, CLI inference, and the subtitle web app. The model weights and remote-code model files are loaded from this Hugging Face repository.

Python Usage

import torch
from transformers import AutoModelForCausalLM, AutoProcessor

from moss_transcribe_diarize import parse_transcript
from moss_transcribe_diarize.inference_utils import (
    build_transcription_messages,
    generate_transcription,
    resolve_device,
)

model_id = "OpenMOSS-Team/MOSS-Transcribe-Diarize"
audio_path = "audio.wav"

device = resolve_device("auto")
dtype = torch.bfloat16 if device.type == "cuda" else torch.float32

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    dtype="auto",
    attn_implementation="sdpa",  # or "flash_attention_2" with the flash-attn package installed
).to(dtype=dtype).to(device).eval()

processor = AutoProcessor.from_pretrained(
    model_id,
    trust_remote_code=True,
)

messages = build_transcription_messages(audio_path)
result = generate_transcription(
    model,
    processor,
    messages,
    max_new_tokens=2048,
    do_sample=False,
    device=device,
    dtype=dtype,
)

print(result["text"])

for segment in parse_transcript(result["text"]):
    print(segment.start, segment.end, segment.speaker, segment.text)

The message flow follows the common Qwen multimodal pattern:

  1. processor.apply_chat_template(messages, tokenize=False) renders text with audio placeholders.
  2. The helper utilities load audio waveforms from the same messages.
  3. processor(text=text, audio=audios) computes Whisper input features and expands audio placeholders.
  4. model.generate(...) produces timestamped transcription and diarization text.

Custom Prompt and Hotwords

The default prompt is optimized for timestamped transcription and speaker diarization:

请将音频转写为文本,每一段需以起始时间戳和说话人编号([S01]、[S02]、[S03]…)开头,正文为对应的语音内容,并在段末标注结束时间戳,以清晰标明该段语音范围。

To add hotwords, append a short hint to the default prompt:

请将音频转写为文本,每一段需以起始时间戳和说话人编号([S01]、[S02]、[S03]…)开头,正文为对应的语音内容,并在段末标注结束时间戳,以清晰标明该段语音范围。热词提示:热词1, 热词2, 热词3

More prompt recipes are available in the GitHub repository: https://github.com/OpenMOSS/MOSS-Transcribe-Diarize/blob/main/examples/prompts.md

Serve with SGLang and VLLM

The recommended way to serve MOSS-Transcribe-Diarize is SGLang Omni through the OpenAI-compatible /v1/audio/transcriptions endpoint. If you are using a CUDA 12 environment, SGLang is currently not supported; use vLLM instead. Install sglang-omni by following the installation guide, then download the model:

hf download OpenMOSS-Team/MOSS-Transcribe-Diarize

Serve the model:

sgl-omni serve \
  --model-path OpenMOSS-Team/MOSS-Transcribe-Diarize \
  --port 8000 \
  --max-running-requests 16 \
  --cuda-graph-max-bs 16 \
  --mem-fraction-static 0.80

Use response_format=verbose_json when you need parsed speaker segments. json returns the raw transcript text only.

curl -X POST http://localhost:8000/v1/audio/transcriptions \
  -F model=OpenMOSS-Team/MOSS-Transcribe-Diarize \
  -F [email protected] \
  -F response_format=verbose_json

For longer multi-speaker audio, raise max_new_tokens so the decoder can finish the full diarized transcript:

curl -X POST http://localhost:8000/v1/audio/transcriptions \
  -F model=OpenMOSS-Team/MOSS-Transcribe-Diarize \
  -F [email protected] \
  -F response_format=verbose_json \
  -F max_new_tokens=65536

MOSS-Transcribe-Diarize also supports vLLM serving through the OpenAI-compatible transcription API. Use a pinned vLLM nightly build that includes the MOSS-Transcribe-Diarize model registration. Choose one of the following commands: for CUDA 12 environments, use cu129; for CUDA 13 environments, use cu130.

uv pip install -U vllm \
  --torch-backend=auto \
  --extra-index-url https://wheels.vllm.ai/68b4a1d582818e67adc903bf1b8fc5a5447da2fa/cu129

or:

uv pip install -U vllm \
  --torch-backend=auto \
  --extra-index-url https://wheels.vllm.ai/68b4a1d582818e67adc903bf1b8fc5a5447da2fa/cu130
vllm serve OpenMOSS-Team/MOSS-Transcribe-Diarize --trust-remote-code
curl http://localhost:8000/v1/audio/transcriptions \
  -F model="OpenMOSS-Team/MOSS-Transcribe-Diarize" \
  -F file=@"audio.wav" \
  -F response_format="json" \
  -F temperature="0"

Subtitle Web App

The source package includes a local subtitle workflow for upload, review, subtitle export, and optional FFmpeg burn-in:

mtd-subtitle-web \
  --model OpenMOSS-Team/MOSS-Transcribe-Diarize \
  --host 127.0.0.1 \
  --port 7860

Open http://127.0.0.1:7860, upload an audio/video file, review the parsed subtitle segments, then download JSON/SRT/ASS or burn an MP4 if ffmpeg and ffprobe are available on PATH.

For batch processing:

mtd-subtitle /path/to/input.mp4 \
  --model OpenMOSS-Team/MOSS-Transcribe-Diarize \
  --out-dir runs/example \
  --render

Output Format

The canonical output format is:

[start_time][Sxx]transcribed speech[end_time]

Example:

[0.48][S01]Welcome everyone[1.66][12.26][S02]The new transcription pipeline is ready for evaluation[13.81][14.36][S01]Great, include the diarization results in the report[18.76]

In this format:

  • start_time and end_time are timestamps in seconds.
  • [S01], [S02], and similar labels are anonymous model-generated speaker labels.
  • Speaker labels are relative labels within the input audio and should not be interpreted as real speaker identities.

More Information

License

MOSS-Transcribe-Diarize 0.9B is licensed under the Apache License 2.0.

Citation

If you use MOSS-Transcribe-Diarize 0.9B, please cite the technical report:

@misc{moss_transcribe_diarize_2026,
  title={MOSS Transcribe Diarize Technical Report},
  author={{MOSI.AI}},
  year={2026},
  eprint={2601.01554},
  archivePrefix={arXiv},
  primaryClass={cs.SD},
  url={https://arxiv.org/abs/2601.01554}
}

Configuration

Architecture
MossTranscribeDiarizeForConditionalGeneration
Context length (tokens)
131,072
Layers
28
Hidden size
1,024
Feed-forward size
3,072
Attention heads
16
Key/value heads
8
Head dimension
128
Vocabulary size
151,936
Model type
moss_transcribe_diarize

Identity and Version

Repository
itazap/MOSS-Transcribe-Diarize-HF
Publisher
Ita Zaporozhets
Task
Audio text to text
Modality
Other
Library
transformers
Parameters
909M parameters
Languages
en, zh
Revision
fd8b043f8701734bda125ac7b43badb3feaf3e6c
First published
2026-09-07
Last updated
2026-09-18

Files and Weights

21 files, 3.7 GB in total. The weights are 2 files totalling 3.6 GB in safetensors.

Weights2 files · 3.6 GB
Configuration11 files · 101.9 KB
Tokenizer4 files · 15.9 MB
Documentation1 file · 14.0 KB
Other2 files · 65.6 KB
Repository1 file · 226 B
Every file
FileTypeSizeSHA-256
model-00000-of-00001.safetensorsWeights1.8 GB 9a0ceb4ab733
model.safetensorsWeights1.8 GB 2caea232f4ac
.eval_results/open_asr_leaderboard.yamlConfiguration1.9 KB
added_tokens.jsonConfiguration707 B
config.jsonConfiguration3.4 KB
configuration_moss_transcribe_diarize.pyConfiguration2.7 KB
generation_config.jsonConfiguration148 B
model.safetensors.index.jsonConfiguration65.4 KB
modeling_moss_transcribe_diarize.pyConfiguration15.1 KB
preprocessor_config.jsonConfiguration315 B
processing_moss_transcribe_diarize.pyConfiguration11.0 KB
processor_config.jsonConfiguration629 B
special_tokens_map.jsonConfiguration613 B
README.mdDocumentation14.0 KB
Model_Architecture.pngOther59.9 KB
chat_template.jinjaOther5.7 KB
.gitattributesRepository226 B
merges.txtTokenizer1.7 MB
tokenizer.jsonTokenizer11.4 MB eb21895752d2
tokenizer_config.jsonTokenizer584 B
vocab.jsonTokenizer2.8 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
3.6 GB
Download from Ita Zaporozhets

Released by Ita Zaporozhets through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2601.01554

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
hf-audio/open-asr-leaderboard Task ami_werMetric ami_werComparison conditions not established 8.4 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task earnings22_werMetric earnings22_werComparison conditions not established 9.01 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task gigaspeech_werMetric gigaspeech_werComparison conditions not established 7.68 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task librispeech_clean_werMetric librispeech_clean_werComparison conditions not established 1.64 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task librispeech_other_werMetric librispeech_other_werComparison conditions not established 4.15 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task mean_werMetric mean_werComparison conditions not established 5.17 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task rtfxMetric rtfxComparison conditions not established 294.02 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task spgispeech_werMetric spgispeech_werComparison conditions not established 1.7 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25
hf-audio/open-asr-leaderboard Task voxpopuli_werMetric voxpopuli_werComparison conditions not established 3.58 open-asr-leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-25

Memory Requirements

PrecisionWeights in memory
As published3.6 GB
16-bit1.8 GB
8-bit0.9 GB
4-bit0.5 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About MOSS-Transcribe-Diarize-HF

How much GPU memory does MOSS-Transcribe-Diarize-HF need?

About 2.2 GB at 16-bit and 0.5 GB at 4-bit: the weights (909M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run MOSS-Transcribe-Diarize-HF on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use MOSS-Transcribe-Diarize-HF commercially?

Yes. MOSS-Transcribe-Diarize-HF is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is MOSS-Transcribe-Diarize-HF's context length?

131,072 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Audio text to text

Qwen2-Audio-7B-Instruct

Qwen

Qwen2-Audio is the new series of Qwen large audio-language models. Qwen2-Audio is capable of accepting various audio signal inputs and performing audio analysis or direct textual responses with regard to speech instructions. We introduce two distinct audio interaction modes: We release Qwen2-Audio-7B and Qwen2-Audio-7B-Instruct, which are pretrained model and chat model respectively. For more details, please refer to our Blog, GitHub, and Report. The code of Qwen2-Audio has been in the latest Hugging face transformers and we advise you to build from source with command pip install git+https://github.com/huggingface/transformers, or you might encounter the following error: In the following…

Open weights apache-2.0 8.4B parameters 8,192 tokens transformers