kiiic commited on
Commit
af30c9a
·
verified ·
1 Parent(s): 3dfd141

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/arc.png filter=lfs diff=lfs merge=lfs -text
37
+ assets/general_audio_bar.png filter=lfs diff=lfs merge=lfs -text
38
+ assets/moss-audio-2.png filter=lfs diff=lfs merge=lfs -text
39
+ assets/moss-audio-image.png filter=lfs diff=lfs merge=lfs -text
40
+ assets/moss-audio-logo.png filter=lfs diff=lfs merge=lfs -text
41
+ assets/speech_caption_radar.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,631 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ - zh
6
+ tags:
7
+ - audio
8
+ - speech
9
+ - music
10
+ - understanding
11
+ - multimodal
12
+ - reasoning
13
+ - chain-of-thought
14
+ pipeline_tag: text-generation
15
+ ---
16
+
17
+ # MOSS-Audio
18
+
19
+
20
+ <p align="center">
21
+ <img src="./assets/moss-audio-logo.png" width="55%" />
22
+ </p>
23
+
24
+
25
+
26
+ <div align="center">
27
+ <a href="https://huggingface.co/collections/OpenMOSS-Team/moss-audio"><img src="https://img.shields.io/badge/Huggingface-Models-orange?logo=huggingface&amp"></a>
28
+ <img src="https://img.shields.io/badge/Blog-Coming_Soon-blue?logo=internet-explorer&amp">
29
+ <img src="https://img.shields.io/badge/Arxiv-Coming_Soon-red?logo=Arxiv&amp">
30
+
31
+ <a href="https://x.com/Open_MOSS"><img src="https://img.shields.io/badge/Twitter-Follow-black?logo=x&amp"></a>
32
+ <a href="https://discord.gg/Xf3aXddCjc"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&amp"></a>
33
+ <a href="./assets/wechat.jpg"><img src="https://img.shields.io/badge/WeChat-Join-07C160?logo=wechat&amp;logoColor=white" alt="WeChat"></a>
34
+ </div>
35
+
36
+ <p align="center">
37
+ <a href="./README.md">English</a> | <a href="./README_zh.md">简体中文</a>
38
+ </p>
39
+
40
+
41
+
42
+
43
+ MOSS-Audio is an open-source **audio understanding model** from [MOSI.AI](https://mosi.cn/#hero), the [OpenMOSS team](https://www.open-moss.com/), and [Shanghai Innovation Institute](https://www.sii.edu.cn/). It performs unified modeling over complex real-world audio, supporting **speech understanding, environmental sound understanding, music understanding, audio captioning, time-aware QA, and complex reasoning**. In this release, we provide **four models**: **MOSS-Audio-4B-Instruct**, **MOSS-Audio-4B-Thinking**, **MOSS-Audio-8B-Instruct**, and **MOSS-Audio-8B-Thinking**. The Instruct variants are optimized for direct instruction following, while the Thinking variants provide stronger chain-of-thought reasoning capabilities.
44
+
45
+
46
+ ## News
47
+ * 2026.4.13: 🎉🎉🎉 We have released [MOSS-Audio](https://huggingface.co/collections/OpenMOSS-Team/moss-audio). Blog and paper coming soon!
48
+
49
+
50
+ ## Contents
51
+
52
+ - [Introduction](#introduction)
53
+ - [Model Architecture](#model-architecture)
54
+ - [DeepStack Cross-Layer Feature Injection](#deepstack-cross-layer-feature-injection)
55
+ - [Time-Aware Representation](#time-aware-representation)
56
+ - [Released Models](#released-models)
57
+ - [Evaluation](#evaluation)
58
+ - [Quickstart](#quickstart)
59
+ - [Environment Setup](#environment-setup)
60
+ - [Basic Usage](#basic-usage)
61
+ - [Gradio App](#gradio-app)
62
+ - [SGLang Serving](#sglang-serving)
63
+ - [More Information](#more-information)
64
+ - [Citation](#citation)
65
+
66
+
67
+ ## Introduction
68
+
69
+ <p align="center">
70
+ <img src="./assets/moss-audio-image.png" width="95%" />
71
+ </p>
72
+
73
+
74
+
75
+ Understanding audio requires more than simply transcribing words — it demands the ability to perceive acoustic cues, recognize speakers and emotions, interpret environmental sounds, reason over temporal context, and handle complex multi-step inference. **MOSS-Audio** is built to unify these capabilities within a single model.
76
+
77
+ - **Speech & Content Understanding**: Accurately recognizes and transcribes spoken content from audio inputs, producing clean and well-structured text outputs. Supports both word-level and sentence-level timestamp alignment.
78
+ - **Speaker, Emotion & Event Analysis**: Identifies speaker characteristics, analyzes emotional states based on tone, timbre, and context, and detects key acoustic events within the audio.
79
+ - **Scene & Sound Cue Extraction**: Extracts meaningful cues from background sounds, environmental noise, music, and non-speech signals to infer scene context and atmosphere.
80
+ - **Music Understanding**: Analyzes musical style, emotional progression, instrumentation, and salient acoustic features in music segments.
81
+ - **Audio Question Answering & Summarization**: Answers questions and generates summaries about speech, podcasts, meetings, interviews, and environmental recordings, helping users efficiently extract key information.
82
+ - **Time-Aware QA**: Supports time-aware questions, including word-level and sentence-level timestamp ASR.
83
+ - **Complex Reasoning**: Performs multi-hop reasoning over audio content, powered by chain-of-thought training and reinforcement learning.
84
+
85
+ ## Model Architecture
86
+
87
+ <p align="center">
88
+ <img src="./assets/arc.png" width="95%" />
89
+ </p>
90
+
91
+ MOSS-Audio follows a modular design comprising three components: an audio encoder, a modality adapter, and a large language model. Raw audio is first encoded by **MOSS-Audio-Encoder** into continuous temporal representations at **12.5 Hz**, which are then projected into the language model's embedding space through the adapter and finally consumed by the LLM for auto-regressive text generation.
92
+
93
+ Rather than relying on off-the-shelf audio frontends, we train a dedicated encoder from scratch to obtain more robust speech representations, tighter temporal alignment, and better extensibility across acoustic domains.
94
+
95
+
96
+ ### DeepStack Cross-Layer Feature Injection
97
+
98
+ Using only the encoder's top-layer features tends to lose low-level prosody, transient events, and local time-frequency structure. To address this, we design a **DeepStack**-inspired cross-layer injection module between the encoder and the language model: in addition to the encoder's final-layer output, features from earlier and intermediate layers are selected, independently projected, and injected into the language model's early layers, preserving multi-granularity information from low-level acoustic details to high-level semantic abstractions.
99
+
100
+ This design is especially well-suited for audio understanding tasks, as it helps retain rhythm, timbre, transients, and background structure — information that a single high-level representation cannot fully capture.
101
+
102
+ ### Time-Aware Representation
103
+
104
+ Time is a critical dimension in audio understanding. To enhance explicit temporal awareness, we adopt a **time-marker insertion** strategy during pretraining: explicit time tokens are inserted between audio frame representations at fixed time intervals to indicate temporal positions. This design enables the model to learn "what happened when" within a unified text generation framework, naturally supporting timestamp ASR, event localization, time-based QA, and long-audio retrospection.
105
+
106
+
107
+ ## Released Models
108
+
109
+
110
+ | Model | Audio Encoder | LLM Backbone | Total Size | Hugging Face |
111
+ |---|---|---|---:|---|
112
+ | **MOSS-Audio-4B-Instruct** | MOSS-Audio-Encoder | Qwen3-4B | ~4.6B | [![Hugging Face](https://img.shields.io/badge/Huggingface-Model-orange?logo=huggingface)](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-4B-Instruct)
113
+ | **MOSS-Audio-4B-Thinking** | MOSS-Audio-Encoder | Qwen3-4B | ~4.6B | [![Hugging Face](https://img.shields.io/badge/Huggingface-Model-orange?logo=huggingface)](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-4B-Thinking)
114
+ | **MOSS-Audio-8B-Instruct** | MOSS-Audio-Encoder | Qwen3-8B | ~8.6B | [![Hugging Face](https://img.shields.io/badge/Huggingface-Model-orange?logo=huggingface)](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-8B-Instruct)
115
+ | **MOSS-Audio-8B-Thinking** | MOSS-Audio-Encoder | Qwen3-8B | ~8.6B | [![Hugging Face](https://img.shields.io/badge/Huggingface-Model-orange?logo=huggingface)](https://huggingface.co/OpenMOSS-Team/MOSS-Audio-8B-Thinking)
116
+
117
+ > More model families, sizes, and variants will be released in the future. Stay tuned!
118
+
119
+
120
+ ## Evaluation
121
+
122
+ We evaluate MOSS-Audio on a comprehensive set of audio understanding benchmarks. Key results:
123
+
124
+ - **General Audio Understanding**: MOSS-Audio-8B-Thinking achieves an average accuracy of **70.80**, outperforming all of the open-source models.
125
+ - **Speech Captioning**: MOSS-Audio-Instruct variants lead across **11 out of 13** fine-grained speech description dimensions, with **MOSS-Audio-8B-Instruct** achieving the best overall average score (**3.7252**).
126
+ - **ASR**: On a diverse ASR benchmark suite spanning 12 evaluation dimensions, MOSS-Audio achieves the **lowest overall CER (11.30)**, with particular strength in health-condition, code-switching, dialect, singing, and non-speech scenarios.
127
+ - **Timestamp ASR**: MOSS-Audio-8B-Instruct achieves **35.77 AAS** on AISHELL-1 and **131.61 AAS** on LibriSpeech, dramatically outperforming Qwen3-Omni (833.66) and Gemini-3.1-Pro (708.24) in timestamp asr accuracy.
128
+
129
+ ### General Audio Understanding (Accuracy↑)
130
+
131
+ <p align="center">
132
+ <img src="./assets/general_audio_bar.svg" width="75%" />
133
+ </p>
134
+
135
+ <table>
136
+ <thead>
137
+ <tr>
138
+ <th>Model</th>
139
+ <th>Model Size</th>
140
+ <th>MMAU</th>
141
+ <th>MMAU-Pro</th>
142
+ <th>MMAR</th>
143
+ <th>MMSU</th>
144
+ <th>Avg</th>
145
+ </tr>
146
+ </thead>
147
+ <tbody>
148
+ <tr><td colspan="7"><em><strong>Open Source (small)</strong></em></td></tr>
149
+ <tr>
150
+ <td>Kimi-Audio</td><td>7B</td><td>72.41</td><td>56.58</td><td>60.82</td><td>54.74</td><td>61.14</td>
151
+ </tr>
152
+ <tr>
153
+ <td>Qwen2.5-Omni</td><td>7B</td><td>65.60</td><td>52.20</td><td>56.70</td><td>61.32</td><td>58.96</td>
154
+ </tr>
155
+ <tr>
156
+ <td>Audio Flamingo 3</td><td>7B</td><td>61.23</td><td>51.70</td><td>57.96</td><td>60.04</td><td>57.73</td>
157
+ </tr>
158
+ <tr>
159
+ <td>MiMo-Audio-7B</td><td>7B</td><td>74.90</td><td>53.35</td><td>61.70</td><td>61.94</td><td>62.97</td>
160
+ </tr>
161
+ <tr>
162
+ <td>MiniCPM-o-4.5</td><td>9B</td><td>70.97</td><td>39.65</td><td>55.75</td><td>60.96</td><td>56.83</td>
163
+ </tr>
164
+ <tr>
165
+ <td><strong>MOSS-Audio-4B-Instruct</strong></td><td><strong>4B</strong></td><td>75.79</td><td>58.16</td><td>59.68</td><td>59.68</td><td>64.04</td>
166
+ </tr>
167
+ <tr>
168
+ <td><strong>MOSS-Audio-4B-Thinking</strong></td><td><strong>4B</strong></td><td><strong>77.64</strong></td><td>60.75</td><td>63.91</td><td>71.20</td><td>68.37</td>
169
+ </tr>
170
+ <tr>
171
+ <td><strong>MOSS-Audio-8B-Instruct</strong></td><td><strong>8B</strong></td><td>77.03</td><td>57.48</td><td>64.42</td><td>66.36</td><td>66.32</td>
172
+ </tr>
173
+ <tr>
174
+ <td><strong>MOSS-Audio-8B-Thinking</strong></td><td><strong>8B</strong></td><td>77.13</td><td><strong>64.29</strong></td><td><strong>65.73</strong></td><td><strong>76.06</strong></td><td><strong>70.80</strong></td>
175
+ </tr>
176
+ <tr><td colspan="7"><em><strong>Open Source (large)</strong></em></td></tr>
177
+ <tr>
178
+ <td>Qwen3-Omni-30B-A3B-Instruct</td><td>30B</td><td>75.00</td><td><strong>61.22</strong></td><td>66.40</td><td>69.00</td><td>67.91</td>
179
+ </tr>
180
+ <tr>
181
+ <td>Step-Audio-R1.1</td><td>33B</td><td>72.18</td><td>60.80</td><td>68.75</td><td>64.18</td><td>66.48</td>
182
+ </tr>
183
+ <tr>
184
+ <td>Step-Audio-R1</td><td>33B</td><td><strong>78.67</strong></td><td>59.68</td><td><strong>69.15</strong></td><td><strong>75.18</strong></td><td><strong>70.67</strong></td>
185
+ </tr>
186
+ <tr><td colspan="7"><em><strong>Closed Source</strong></em></td></tr>
187
+ <tr>
188
+ <td>GPT4o-Audio</td><td>-</td><td>65.66</td><td>52.30</td><td>59.78</td><td>58.76</td><td>59.13</td>
189
+ </tr>
190
+ <tr>
191
+ <td>Gemini-3-Pro</td><td>-</td><td>80.15</td><td>68.28</td><td>81.73</td><td>81.28</td><td>77.86</td>
192
+ </tr>
193
+ <tr>
194
+ <td>Gemini-3.1-Pro</td><td>-</td><td><strong>81.10</strong></td><td><strong>73.47</strong></td><td><strong>83.70</strong></td><td><strong>81.30</strong></td><td><strong>79.89</strong></td>
195
+ </tr>
196
+ </tbody>
197
+ </table>
198
+
199
+ ### Speech Captioning (LLM-as-a-Judge Score↑)
200
+
201
+ <p align="center">
202
+ <img src="./assets/speech_caption_radar.png" width="70%" />
203
+ </p>
204
+
205
+ <details>
206
+ <summary><strong>Speech Captioning (click to expand)</strong></summary>
207
+
208
+
209
+ | Model | gender | age | accent | pitch | volume | speed | texture | clarity | fluency | emotion | tone | personality | summary | Avg |
210
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
211
+ | Qwen3-Omni-30B-A3B-Instruct | 4.436 | 3.936 | 4.356 | 3.590 | 3.682 | 3.614 | 3.093 | 3.521 | 3.531 | 3.328 | 3.224 | 3.292 | 3.179 | 3.5986 |
212
+ | Qwen3-Omni-30B-A3B-Thinking | 4.419 | **4.026** | 4.327 | 3.610 | 3.577 | 3.610 | 3.179 | 3.403 | 3.526 | 3.232 | 3.154 | 3.197 | 3.107 | 3.5667 |
213
+ | Gemini-3-Pro | 4.191 | 3.835 | 4.181 | 3.392 | 3.254 | 3.320 | 2.998 | 3.347 | 3.524 | 3.055 | 2.997 | 3.023 | 2.775 | 3.3763 |
214
+ | Gemini-3.1-Pro| 4.436 | 3.936 | 4.356 | 3.590 | 3.682 | 3.614 | 3.093 | 3.521 | 3.531 | **3.328** | 3.224 | 3.292 | 3.179 | 3.5986 |
215
+ | MOSS-Audio-4B-Instruct | **4.697** | 3.980 | 4.497 | 3.628 | **3.722** | 3.564 | **3.407** | 3.841 | 3.744 | 3.311 | **3.282** | **3.305** | 3.259 | 3.7105 |
216
+ | MOSS-Audio-8B-Instruct | 4.683 | 3.979 | **4.572** | **3.682** | 3.709 | **3.638** | 3.403 | **3.869** | **3.747** | 3.314 | 3.253 | 3.272 | **3.307** | **3.7252** |
217
+
218
+ </details>
219
+
220
+ ### ASR
221
+
222
+ | Model | Overall | Health Condition | Dialect | Singing | Non-Speech Vocalizations | Code-Switching | Acoustic Environment (Clean) | Acoustic Environment (Noisy) | Acoustic Characteristics: Whisper | Acoustic Characteristics: Far-Field / Near-Field | Multi-Speaker | Age | Semantic Content |
223
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
224
+ | Paraformer-Large | 15.77 | 22.18 | 43.45 | 32.34 | 4.95 | 12.65 | 3.11 | 4.67 | 5.02 | 17.46 | 20.33 | 14.96 | 7.14 |
225
+ | GLM-ASR-Nano | 17.29 | 24.49 | 22.39 | 51.95 | 4.65 | 11.88 | 3.68 | 5.02 | 4.94 | 27.51 | 28.02 | 17.19 | 7.32 |
226
+ | Fun-ASR-Nano | 12.04 | 21.99 | 7.80 | 19.35 | 4.76 | 11.23 | 2.98 | 3.46 | 3.78 | 18.38 | 19.82 | **14.95** | 6.08 |
227
+ | SenseVoice-Small | 14.50 | 24.04 | 8.89 | 23.79 | 4.92 | 13.90 | 4.13 | 4.93 | 5.57 | 26.66 | 24.06 | 17.63 | 7.55 |
228
+ | Kimi-Audio-7B-Instruct | 14.12 | 21.11 | 29.34 | 21.76 | 4.68 | 16.38 | **2.20** | **2.15** | 2.66 | 21.02 | 20.61 | 16.74 | 6.12 |
229
+ | Qwen2.5-Omni-3B | 15.26 | 24.65 | 33.87 | 24.24 | 5.54 | 11.66 | 2.76 | 3.56 | 4.32 | 22.15 | 22.91 | 15.17 | 7.24 |
230
+ | Qwen2.5-Omni-7B | 15.05 | 23.85 | 31.91 | 22.69 | 4.56 | 12.97 | 2.52 | 3.16 | 3.64 | 25.38 | 21.01 | 16.13 | 6.78 |
231
+ | Qwen3-Omni-30B-A3B-Instruct | 11.39 | 20.73 | 15.63 | 16.01 | 4.73 | 11.30 | 2.23 | 2.47 | **1.90** | **17.08** | **18.15** | **11.46** | **5.74** |
232
+ | **MOSS-Audio-4B-Instruct** | 11.58 | 21.11 | 11.84 | 10.79 | **4.01** | **10.11** | 3.11 | 3.72 | 3.29 | 18.48 | 20.33 | 15.09 | 8.15 |
233
+ | **MOSS-Audio-8B-Instruct** | **11.30** | **19.18** | **8.76** | **9.81** | 4.31 | 10.18 | 2.70 | 3.20 | 2.75 | 24.04 | 24.36 | 15.26 | 7.69 |
234
+
235
+ <details>
236
+ <summary><strong>Detailed ASR Results (click to expand)</strong></summary>
237
+
238
+ <table>
239
+ <tr>
240
+ <th rowspan="2">Model</th>
241
+ <th colspan="3">Acoustic Environment (Clean)</th>
242
+ <th colspan="1">Acoustic Environment (Noisy)</th>
243
+ <th colspan="1">Acoustic Characteristics: Whisper</th>
244
+ <th colspan="1">Acoustic Characteristics: Far-Field / Near-Field</th>
245
+ <th colspan="1">Multi-Speaker</th>
246
+ <th colspan="2">Age</th>
247
+ <th colspan="2">Health Condition</th>
248
+ <th colspan="2">Semantic Content</th>
249
+ <th colspan="3">Code-Switching</th>
250
+ <th colspan="2">Dialect</th>
251
+ <th colspan="2">Singing</th>
252
+ <th colspan="1">Non-Speech Vocalizations</th>
253
+ </tr>
254
+ <tr>
255
+ <th>AISHELL-1<br><em>test</em></th>
256
+ <th>AISHELL-2<br><em>Android | IOS | Mic</em></th>
257
+ <th>THCHS-30<br><em>test</em></th>
258
+ <th>MAGICDATA-READ<br><em>test</em></th>
259
+ <th>AISHELL6-Whisper<br><em>normal | whisper</em></th>
260
+ <th>AliMeeting<br><em>Test_Ali_far | Test_Ali_near</em></th>
261
+ <th>AISHELL-4<br><em>test</em></th>
262
+ <th>SeniorTalk<br><em>sentence</em></th>
263
+ <th>ChildMandarin<br><em>test</em></th>
264
+ <th>AISHELL-6A<br><em>mild | moderate | severe | StutteringSpeech</em></th>
265
+ <th>AISHELL_6B<br><em>LRDWWS | Uncontrol</em></th>
266
+ <th>WenetSpeech<br><em>test-meeting</em></th>
267
+ <th>Fleurs<br><em>cmn_hans_cn</em></th>
268
+ <th>CS-Dialogue<br><em>test</em></th>
269
+ <th>TALCS<br><em>test</em></th>
270
+ <th>ASCEND<br><em>test</em></th>
271
+ <th>KeSpeech<br><em>test</em></th>
272
+ <th>WSYue-ASR-eval<br><em>short</em></th>
273
+ <th>MIR-1K<br><em>test</em></th>
274
+ <th>openc-pop<br><em>test</em></th>
275
+ <th>MNV_17</th>
276
+ </tr>
277
+ <tr>
278
+ <td>Paraformer-Large</td>
279
+ <td>1.98</td>
280
+ <td>3.28 | 3.21 | 3.00</td>
281
+ <td>4.07</td>
282
+ <td>4.67</td>
283
+ <td>1.11 | 8.92</td>
284
+ <td><strong>25.64</strong> | 9.27</td>
285
+ <td>20.33</td>
286
+ <td>17.31</td>
287
+ <td>12.60</td>
288
+ <td>6.98 | 9.30 | 13.34 | 10.74</td>
289
+ <td>47.59 | 45.08</td>
290
+ <td>7.88</td>
291
+ <td>6.40</td>
292
+ <td>10.64</td>
293
+ <td>10.77</td>
294
+ <td>16.55</td>
295
+ <td>11.48</td>
296
+ <td>75.42</td>
297
+ <td>57.70</td>
298
+ <td>6.98</td>
299
+ <td>4.95</td>
300
+ </tr>
301
+ <tr>
302
+ <td>GLM-ASR-Nano</td>
303
+ <td>2.89</td>
304
+ <td>3.75 | 3.73 | 3.78</td>
305
+ <td>4.23</td>
306
+ <td>5.02</td>
307
+ <td>0.83 | 9.06</td>
308
+ <td>40.27 | 14.76</td>
309
+ <td>28.02</td>
310
+ <td>20.33</td>
311
+ <td>14.06</td>
312
+ <td>8.74 | 12.11 | 14.38 | 12.29</td>
313
+ <td>50.34 | 49.09</td>
314
+ <td>9.70</td>
315
+ <td>4.94</td>
316
+ <td>11.06</td>
317
+ <td>11.07</td>
318
+ <td>13.50</td>
319
+ <td>9.72</td>
320
+ <td>35.07</td>
321
+ <td>95.87</td>
322
+ <td>8.03</td>
323
+ <td>4.65</td>
324
+ </tr>
325
+ <tr>
326
+ <td>Fun-ASR-Nano</td>
327
+ <td>2.16</td>
328
+ <td>3.04 | 2.99 | 3.07</td>
329
+ <td>3.65</td>
330
+ <td>3.46</td>
331
+ <td>0.81 | 6.76</td>
332
+ <td>27.21 | 9.55</td>
333
+ <td>19.82</td>
334
+ <td>16.96</td>
335
+ <td>12.94</td>
336
+ <td>6.60 | <strong>8.81</strong> | 12.98 | 10.30</td>
337
+ <td>47.42 | 45.84</td>
338
+ <td>7.39</td>
339
+ <td><strong>4.76</strong></td>
340
+ <td>10.47</td>
341
+ <td><strong>8.09</strong></td>
342
+ <td>15.13</td>
343
+ <td>7.43</td>
344
+ <td>8.17</td>
345
+ <td>35.85</td>
346
+ <td>2.84</td>
347
+ <td>4.76</td>
348
+ </tr>
349
+ <tr>
350
+ <td>SenseVoice-Small</td>
351
+ <td>3.23</td>
352
+ <td>4.16 | 4.02 | 3.96</td>
353
+ <td>5.26</td>
354
+ <td>4.93</td>
355
+ <td>1.25 | 9.88</td>
356
+ <td>37.01 | 16.31</td>
357
+ <td>24.06</td>
358
+ <td>21.07</td>
359
+ <td>14.18</td>
360
+ <td>7.62 | 9.85 | 14.39 | 11.47</td>
361
+ <td>52.92 | 47.97</td>
362
+ <td>8.35</td>
363
+ <td>6.75</td>
364
+ <td>12.81</td>
365
+ <td>10.52</td>
366
+ <td>18.38</td>
367
+ <td>10.45</td>
368
+ <td><strong>7.34</strong></td>
369
+ <td>39.51</td>
370
+ <td>8.07</td>
371
+ <td>4.92</td>
372
+ </tr>
373
+ <tr>
374
+ <td>Kimi-Audio-7B-Instruct</td>
375
+ <td><strong>0.79</strong></td>
376
+ <td>2.91 | 3.03 | 2.88</td>
377
+ <td><strong>1.39</strong></td>
378
+ <td><strong>2.15</strong></td>
379
+ <td>0.69 | 4.63</td>
380
+ <td>28.22 | 13.82</td>
381
+ <td>20.61</td>
382
+ <td>19.70</td>
383
+ <td>13.79</td>
384
+ <td>7.00 | 9.34 | 12.56 | 10.75</td>
385
+ <td>44.44 | 42.57</td>
386
+ <td>7.15</td>
387
+ <td>5.10</td>
388
+ <td>14.56</td>
389
+ <td>12.74</td>
390
+ <td>21.83</td>
391
+ <td><strong>5.51</strong></td>
392
+ <td>53.17</td>
393
+ <td>38.35</td>
394
+ <td>5.17</td>
395
+ <td>4.68</td>
396
+ </tr>
397
+ <tr>
398
+ <td>Qwen2.5-Omni-3B</td>
399
+ <td>1.51</td>
400
+ <td>3.10 | 2.94 | 2.93</td>
401
+ <td>3.32</td>
402
+ <td>3.56</td>
403
+ <td>0.82 | 7.82</td>
404
+ <td>32.14 | 12.16</td>
405
+ <td>22.91</td>
406
+ <td>17.38</td>
407
+ <td>12.96</td>
408
+ <td>6.87 | 10.55 | 14.57 | 11.33</td>
409
+ <td>54.54 | 50.03</td>
410
+ <td>9.04</td>
411
+ <td>5.45</td>
412
+ <td>10.78</td>
413
+ <td>10.94</td>
414
+ <td>13.25</td>
415
+ <td>7.67</td>
416
+ <td>60.06</td>
417
+ <td>45.00</td>
418
+ <td>3.47</td>
419
+ <td>5.54</td>
420
+ </tr>
421
+ <tr>
422
+ <td>Qwen2.5-Omni-7B</td>
423
+ <td>1.16</td>
424
+ <td>2.88 | 2.77 | 2.73</td>
425
+ <td>3.06</td>
426
+ <td>3.16</td>
427
+ <td>0.71 | 6.57</td>
428
+ <td>32.03 | 18.73</td>
429
+ <td>21.01</td>
430
+ <td>19.96</td>
431
+ <td>12.29</td>
432
+ <td>7.27 | 10.94 | 12.92 | 10.53</td>
433
+ <td>51.99 | 49.45</td>
434
+ <td>8.43</td>
435
+ <td>5.13</td>
436
+ <td>14.02</td>
437
+ <td>10.46</td>
438
+ <td>14.42</td>
439
+ <td>6.40</td>
440
+ <td>57.43</td>
441
+ <td>42.62</td>
442
+ <td>2.75</td>
443
+ <td>4.56</td>
444
+ </tr>
445
+ <tr>
446
+ <td>Qwen3-Omni-30B-A3B-Instruct</td>
447
+ <td>0.95</td>
448
+ <td><strong>2.70</strong> | <strong>2.72</strong> | <strong>2.57</strong></td>
449
+ <td>2.21</td>
450
+ <td>2.47</td>
451
+ <td><strong>0.59</strong> | <strong>3.22</strong></td>
452
+ <td>25.72 | <strong>8.44</strong></td>
453
+ <td><strong>18.15</strong></td>
454
+ <td><strong>14.13</strong></td>
455
+ <td><strong>8.79</strong></td>
456
+ <td>6.20 | 8.88 | 11.59 | 10.25</td>
457
+ <td>45.80 | 41.65</td>
458
+ <td><strong>6.64</strong></td>
459
+ <td>4.84</td>
460
+ <td>12.94</td>
461
+ <td>8.33</td>
462
+ <td><strong>12.64</strong></td>
463
+ <td>5.87</td>
464
+ <td>25.39</td>
465
+ <td>30.81</td>
466
+ <td><strong>1.21</strong></td>
467
+ <td>4.73</td>
468
+ </tr>
469
+ <tr>
470
+ <td><strong>MOSS-Audio-4B-Instruct</strong></td>
471
+ <td>2.26</td>
472
+ <td>3.22 | 3.20 | 3.33</td>
473
+ <td>3.53</td>
474
+ <td>3.72</td>
475
+ <td>0.73 | 5.86</td>
476
+ <td>27.27 | 9.68</td>
477
+ <td>20.33</td>
478
+ <td>16.93</td>
479
+ <td>13.25</td>
480
+ <td>6.36 | 9.77 | 12.68 | 10.28</td>
481
+ <td>43.35 | 44.25</td>
482
+ <td>8.17</td>
483
+ <td>8.13</td>
484
+ <td>9.14</td>
485
+ <td>8.37</td>
486
+ <td>12.83</td>
487
+ <td>14.65</td>
488
+ <td>9.04</td>
489
+ <td>18.47</td>
490
+ <td>3.10</td>
491
+ <td><strong>4.01</strong></td>
492
+ </tr>
493
+ <tr>
494
+ <td><strong>MOSS-Audio-8B-Instruct</strong></td>
495
+ <td>1.82</td>
496
+ <td>2.97 | 2.95 | 2.91</td>
497
+ <td>2.82</td>
498
+ <td>3.20</td>
499
+ <td>0.69 | 4.80</td>
500
+ <td>36.82 | 11.25</td>
501
+ <td>24.36</td>
502
+ <td>17.42</td>
503
+ <td>13.10</td>
504
+ <td><strong>5.84</strong> | 8.94 | <strong>11.52</strong> | <strong>9.72</strong></td>
505
+ <td><strong>39.76</strong> | <strong>39.27</strong></td>
506
+ <td>7.86</td>
507
+ <td>7.52</td>
508
+ <td><strong>9.07</strong></td>
509
+ <td>8.22</td>
510
+ <td>13.26</td>
511
+ <td>9.18</td>
512
+ <td>8.33</td>
513
+ <td><strong>17.24</strong></td>
514
+ <td>2.39</td>
515
+ <td>4.31</td>
516
+ </tr>
517
+ </table>
518
+
519
+ </details>
520
+
521
+
522
+ ### Timestamp ASR (AAS↓)
523
+
524
+ | Model | AISHELL-1(zh) | LibriSpeech(en) |
525
+ |---|---:|---:|
526
+ | Qwen3-Omni-30B-A3B-Instruct | 833.66 | 646.95 |
527
+ | Gemini-3.1-Pro| 708.24 | 871.19 |
528
+ | MOSS-Audio-4B-Instruct | 76.96 | 358.13 |
529
+ | **MOSS-Audio-8B-Instruct** | **35.77** | **131.61** |
530
+
531
+
532
+ ## Quickstart
533
+
534
+ ### Environment Setup
535
+
536
+ We recommend Python 3.12 with a clean Conda environment. The commands below are enough for local inference.
537
+
538
+ #### Recommended setup
539
+
540
+ ```bash
541
+ git clone https://github.com/OpenMOSS/MOSS-Audio.git
542
+ cd MOSS-Audio
543
+
544
+ conda create -n moss-audio python=3.12 -y
545
+ conda activate moss-audio
546
+
547
+ conda install -c conda-forge "ffmpeg=7" -y
548
+ pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[torch-runtime]"
549
+ ```
550
+
551
+ #### Optional: FlashAttention 2
552
+
553
+ If your GPU supports FlashAttention 2, you can replace the last install command with:
554
+
555
+ ```bash
556
+ pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[torch-runtime,flash-attn]"
557
+ ```
558
+
559
+
560
+ ### Basic Usage
561
+
562
+ Download the model first:
563
+
564
+ ```bash
565
+ huggingface-cli download OpenMOSS-Team/MOSS-Audio --local-dir ./weights/MOSS-Audio
566
+ huggingface-cli download OpenMOSS-Team/MOSS-Audio-Instruct --local-dir ./weights/MOSS-Audio-Instruct
567
+ ```
568
+
569
+ Then edit `MODEL_PATH` / `AUDIO_PATH` in `infer.py` as needed, and run:
570
+
571
+ ```bash
572
+ python infer.py
573
+ ```
574
+
575
+ The default prompt in `infer.py` is `Describe this audio.` You can directly edit that line if you want to try transcription, audio QA, or speech captioning.
576
+
577
+ ### Gradio App
578
+
579
+ Start the Gradio demo with:
580
+
581
+ ```bash
582
+ python app.py
583
+ ```
584
+
585
+
586
+
587
+ ### SGLang Serving
588
+
589
+ If you want to serve MOSS-Audio with SGLang, see the full guide in `moss_audio_usage_guide.md`.
590
+
591
+ The shortest setup is:
592
+
593
+ ```bash
594
+ git clone -b moss-audio https://github.com/OpenMOSS/sglang.git
595
+ cd sglang
596
+ pip install -e "python[all]"
597
+ pip install nvidia-cudnn-cu12==9.16.0.29
598
+ cd ..
599
+ sglang serve --model-path ./weights/MOSS-Audio --trust-remote-code
600
+ ```
601
+
602
+ If you use the default `torch==2.9.1+cu128` runtime, installing `nvidia-cudnn-cu12==9.16.0.29` is recommended before starting `sglang serve`.
603
+
604
+
605
+ <a id="more-information"></a>
606
+
607
+ ## More Information
608
+ - **MOSI.AI**: [https://mosi.cn](https://mosi.cn)
609
+ - **OpenMOSS**: [https://www.open-moss.com](https://www.open-moss.com)
610
+
611
+
612
+ ## LICENSE
613
+
614
+ Models in MOSS-Audio are licensed under the Apache License 2.0.
615
+
616
+
617
+ ## Citation
618
+
619
+ ```bibtex
620
+ @misc{mossaudio2026,
621
+ title={MOSS-Audio Technical Report},
622
+ author={OpenMOSS Team},
623
+ year={2026},
624
+ howpublished={\url{https://github.com/OpenMOSS/MOSS-Audio}},
625
+ note={GitHub repository}
626
+ }
627
+ ```
628
+
629
+ ## Star History
630
+
631
+ [![Star History Chart](https://api.star-history.com/svg?repos=OpenMOSS/MOSS-Audio&type=date&legend=top-left)](https://www.star-history.com/#OpenMOSS/MOSS-Audio&type=date&legend=top-left)
assets/OpenMOSS_Logo.png ADDED
assets/arc.png ADDED

Git LFS Details

  • SHA256: 54ae0abb8514ccc886823d5564a7584e73a417ae5e208f9679895d5b1a198a0e
  • Pointer size: 131 Bytes
  • Size of remote file: 978 kB
assets/general_audio_bar.png ADDED

Git LFS Details

  • SHA256: fd5d00ad3ee498962197febea521aa92a9d0e92e2bc0281ea4074043cb8e7e23
  • Pointer size: 131 Bytes
  • Size of remote file: 168 kB
assets/general_audio_bar.svg ADDED
assets/mosi-logo.png ADDED
assets/moss-audio-2.png ADDED

Git LFS Details

  • SHA256: 786ed71d165cc2e5fdb034d6f0ca38c00d52a4b481d6f0ba570b9881bfc41977
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
assets/moss-audio-architecture.svg ADDED
assets/moss-audio-image.png ADDED

Git LFS Details

  • SHA256: 8277c7b1586c7adab911b493cd294d017f9f2e5ea7489556b0a5d16ca391f59a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.49 MB
assets/moss-audio-logo.png ADDED

Git LFS Details

  • SHA256: 1866d9a783acadea47aba654f2d82096aac2cf743ee41d0f236853ba35ca2c13
  • Pointer size: 131 Bytes
  • Size of remote file: 574 kB
assets/speech_caption_radar.png ADDED

Git LFS Details

  • SHA256: 8ec2a3c2a955416d142312d2c0d2669f02cd1d1ac4000c54dd890687a6bd7808
  • Pointer size: 131 Bytes
  • Size of remote file: 407 kB
assets/speech_caption_radar.svg ADDED
assets/wechat.jpg ADDED