ASLP-lab / OSUM-Pangu

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: March 17 2026
audio-to-audio

Introduction of OSUM-Pangu

Model Details of OSUM-Pangu

OSUM-Pangu: An Open-Source Multidimension Speech Understanding Foundation Model Built upon OpenPangu on Ascend NPUs

Yujie Liao, Xuelong Geng, Hongfei Xue, Shuiyuan Wang, Lei Xie

Code | Paper

Recent advancements in Speech Large Language Models have significantly enhanced multi-dimensional speech understanding. However, the majority of high-performance frameworks are predominantly optimized for GPU centric ecosystems and proprietary backbones, creating a significant gap for deployment on non-CUDA computing infrastructures. In this paper, we present OSUM-Pangu, a fully open-source speech understanding foundation model developed on a completely non-CUDA software and hardware stack. By integrating an audio encoder with the openPangu-7B LLM backbone, we successfully implement the entire training and inference pipeline on the Ascend NPU platform. To facilitate efficient task alignment under non-CUDA resource constraints, we adopt a practical training process that sequentially bridges speech perception and user intent recognition. Experimental results demonstrate that OSUM-Pangu achieves task accuracy comparable to mainstream GPU-based models while maintaining robust natural language interaction capabilities. Our work provides a reproducible, non-CUDA baseline for the open-source speech community, promoting the independent evolution of multimodal intelligence.


Architecture

The overall architecture of OSUM-Pangu is shown below:

The model mainly consists of three components:

1. Speech Encoder

Whisper-medium
Responsible for extracting speech representations.

2. Adapter

Transforms acoustic features into tokens compatible with the LLM input space.

3. Intent-aware LLM

openPangu-Embedded-7B-V1.1

Responsible for:

  • Parsing natural language instructions
  • Identifying user intent
  • Determining which speech task to execute

Training Strategy

We adopt a a three-stage training proces, illustrated below:

Stage 1: Speech Understanding Alignment

Goal: Equip the model with multi-task speech understanding capability.

Characteristics:

  • Only speech-related modules are trained
  • Establish strong acoustic representation ability

Stage 2: Intent Understanding

Goal: Enable the model to understand natural language user instructions.

Examples:

Please transcribe this audio.
Analyze the speaker's emotion.
Identify what event happens in the audio.

The model learns:

  • Instruction semantic understanding
  • Task mapping capability

Stage 3: Joint Instruction Tuning

In the final stage, joint training allows the model to:

  • Automatically parse user instructions
  • Identify task types
  • Execute the corresponding speech understanding tasks

Without requiring fixed templates, such as:

What is the emotion of this speech?
Can you transcribe this audio?
What event happens in the audio?

The model can correctly understand and execute all of them.


Results
Dataset Configuration

Our experiments follow the task definitions of the OSUM framework. To maintain the linguistic reasoning capability of the backbone, we incorporate 2M entries from Alpaca-CoT for text-based interactions, with queries synthesized using CosyVoice 2. To evaluate the model's robustness in real-world scenarios, we utilize an Intent-Instruction Set (IIS) containing over 80k training samples and 4k test prompts, covering diverse colloquial user queries.


Multi-task Speech Understanding Performance

OSUM-Pangu demonstrates competitive performance across diverse tasks compared to GPU-based baselines Qwen2-Audio and OSUM, proving the effectiveness of the NPU-based pipeline.

Task Model Public Test Set Metric Public Result
ASR Qwen2-Audio WER/CER (%) 8.84 / 8.40
3.0 / 3.0 / 2.9
1.6 / 3.6
OSUM WenetSpeech(n/m)
AISHELL-2(m/i/a)
LibriSpeech (c/o)
6.46 / 5.34
2.81 / 2.75 / 2.73
2.19 / 5.53
OSUM-Pangu 7.40 / 10.49
3.01 / 2.98 / 2.95
3.51 / 8.36
VED Qwen2-Audio VocalSound ACC (%) 93.3
OSUM 82.58
OSUM-Pangu 73.04
SER Qwen2-Audio MELD-test
MER2023
ACC (%) 55.3 / --
OSUM 53.38 / 86.43
OSUM-Pangu 36.40 / 89.19
SGC Qwen2-Audio Kaggle-CommonVoice test ACC (%) 97.25
OSUM 99.41
OSUM-Pangu 97.48
SAP Qwen2-Audio Kaggle-CommonVoice test ACC (%) 35.53
OSUM 76.52
OSUM-Pangu 83.31

Instruction Following Performance (IFR)

Instruction Following Rate (IFR) measures the ability of the model to parse natural language instructions and execute the corresponding tasks.

The metric is defined as:

I F R = ( N c o r r e c t N t o t a l ) × 100 % IFR = \left( \frac{N_{correct}}{N_{total}} \right) \times 100\%

where:

  • $N_{correct}$ represents the number of correctly executed instructions
  • $N_{total}$ represents the total number of evaluation samples Compared with mainstream open-source models, OSUM-Pangu achieves significantly better performance:
Model IFR (%)
Qwen2Audio-Instruct 71.3
OSUM-Pangu (Ours) 90.2

Flexibility vs Accuracy

We evaluate whether natural language instructions (NL) degrade performance compared to fixed instructions (FI).

Results show that the model maintains strong flexibility while preserving task accuracy.

Task Test FI NL $\Delta$
ASR test-net/librispeech-clean 7.36/3.64 7.40/3.51 +0.04/-0.13
SER Test emotion 67.39 67.41 +0.02
SGC Test gender 97.04 96.02 -1.02
SRWT Test align 22.39 17.52 -4.87
SSR Test style 62.79 58.05 -4.74
VED Test event 77.74 73.04 -4.70
SAP Test age 71.75 72.86 +0.11

Conclusion:

Only minor performance drops appear in relatively niche tasks such as:

  • Style recognition
  • Event detection

Core tasks such as:

  • ASR
  • SER
  • SAP

remain almost unchanged, validating the effectiveness of the three-stage training process.


Speech-to-Text Chat (STTC) Capability

We further evaluate the model in conversational reasoning scenarios.

OSUM-Pangu outperforms GLM-4-Voice on the TriviaQA and WebQ benchmarks.

Model LLaMA Q TriviaQA Web Q
ChatGPT-4o 71.7 69.7 51.6
GLM-4-Voice 50.7 26.5 15.9
DeepTalk 59.7 27.5 23.1
OSUM-EChat 55.3 33.7 30.4
OSUM-Pangu 44.6 28.9 29.5

How to Use the OSUM-Pangu Framework for Training and Inference
Environment Setup

Before starting, please ensure that your device supports NPU and the Python environment is properly configured.

We recommend running the code on a Linux system.

If Conda is not installed, please refer to: https://blog.csdn.net/qq_41636123/article/details/130266232

# Create a new conda environment
conda create -n osum_pangu python=3.10
conda activate osum_pangu

# Clone the repository
git clone https://github.com/ASLP-lab/OSUM-Pangu.git
cd OSUM-Pangu

# Install dependencies
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
Model Download
from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="ASLP-lab/OSUM-Pangu",
    local_dir="path",
    local_dir_use_symlinks=False,
    endpoint="https://hf-mirror.com"
)
Inference

This project provides batch inference scripts for all tasks under in :OSUM-Pangu/infer_code:

python infer_ASR.py
Training

To ensure a smooth training process, please follow the steps below.

1. Data Preparation

Data can be prepared in three formats:

raw、shard、combine

Recommended: shard format

After preparing the dataset, write the generated data index into the following configuration file:

OSUM-Pangu/conf/data_s2t_tmp.yaml
2. Start Training

Run the main training script:

OSUM-Pangu/train.sh

Runs of ASLP-lab OSUM-Pangu on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About OSUM-Pangu huggingface.co Model

More OSUM-Pangu license Visit here:

https://choosealicense.com/licenses/apache-2.0

OSUM-Pangu huggingface.co

OSUM-Pangu huggingface.co is an AI model on huggingface.co that provides OSUM-Pangu's model effect (), which can be used instantly with this ASLP-lab OSUM-Pangu model. huggingface.co supports a free trial of the OSUM-Pangu model, and also provides paid use of the OSUM-Pangu. Support call OSUM-Pangu model through api, including Node.js, Python, http.

ASLP-lab OSUM-Pangu online free

OSUM-Pangu huggingface.co is an online trial and call api platform, which integrates OSUM-Pangu's modeling effects, including api services, and provides a free online trial of OSUM-Pangu, you can try OSUM-Pangu online for free by clicking the link below.

ASLP-lab OSUM-Pangu online free url in huggingface.co:

https://huggingface.co/ASLP-lab/OSUM-Pangu

OSUM-Pangu install

OSUM-Pangu is an open source model from GitHub that offers a free installation service, and any user can find OSUM-Pangu on GitHub to install. At the same time, huggingface.co provides the effect of OSUM-Pangu install, users can directly use OSUM-Pangu installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

OSUM-Pangu install url in huggingface.co:

https://huggingface.co/ASLP-lab/OSUM-Pangu

Url of OSUM-Pangu

OSUM-Pangu huggingface.co Url

Provider of OSUM-Pangu huggingface.co

ASLP-lab
ORGANIZATIONS

Other API from ASLP-lab

huggingface.co

Total runs: 1.5K
Run Growth: -68
Growth Rate: -4.43%
Updated:November 09 2025
huggingface.co

Total runs: 491
Run Growth: 125
Growth Rate: 25.46%
Updated:May 14 2026
huggingface.co

Total runs: 140
Run Growth: 68
Growth Rate: 48.57%
Updated:October 11 2025
huggingface.co

Total runs: 67
Run Growth: 32
Growth Rate: 47.76%
Updated:December 09 2025
huggingface.co

Total runs: 34
Run Growth: 16
Growth Rate: 47.06%
Updated:October 16 2025
huggingface.co

Total runs: 32
Run Growth: -18
Growth Rate: -56.25%
Updated:June 16 2026
huggingface.co

Total runs: 26
Run Growth: 14
Growth Rate: 53.85%
Updated:November 03 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 14 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 11 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 03 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 09 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 03 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 12 2025