mispeech / midashenglm-7b

huggingface.co
Total runs: 37.3K
24-hour runs: 0
7-day runs: -2.9K
30-day runs: 8.3K
Model's Last Updated: September 29 2025
audio-text-to-text

Introduction of midashenglm-7b

Model Details of midashenglm-7b

MiDashengLM

Efficient audio understanding with general audio captions

version version version version version
🔥 Key Highlights

State-of-the-Art Performance

  • Outperforms Qwen2.5-Omni-7B, Kimi-Audio-Instruct-7B on multiple key audio understanding tasks .

High Efficiency

  • 3.2× throughput speedup at comparable batch sizes compared to Qwen2.5-Omni-7B.
  • 20x throughput speedup by increasing furhter batchsizes. We tested up to a batch size=512 for 30s audio input on 80GB GPUs. Baselines only support batch size = 8.
  • Time-to-first-token (TTFT) speedup of up to 4x compared to Qwen2.5-Omni-7B.

Caption-based Alignment

  • Trained with general audio captions (instead of ASR transcripts) to achieve holistic audio understanding.

Full Transparency

  • Public-source training data and reproducible pipeline.
  • Apache License 2.0 for both research and commercial use .
Acknowledgment and Model Foundation

Although MiDashengLM demonstrates superior audio understanding performance and efficiency compared to Qwen2.5-Omni models, we acknowledge Qwen2.5-Omni as a remarkable and respected foundational work in the field. Our model specifically uses Qwen2.5-Omni-7B Thinker as the decoder starting point during training, building upon its robust architecture and weight initialization.

The audio encoder is built upon Dasheng , an open-source audio encoder for general audio understanding with state-of-the-art performance. Dasheng serves as the core foundation enabling MiDashengLM's exceptional performance .

Framework

MiDashengLM integrates the powerful Dasheng audio encoder with the Qwen2.5-Omni-7B Thinker decoder through a unique caption-based alignment strategy. Unlike conventional ASR-driven approaches, our model leverages general audio captions to capture comprehensive audio representations encompassing speech, environmental sounds, and musical elements in a unified textual format. This design enables holistic audio understanding while maintaining exceptional computational efficiency.

Why Captions Instead of ASR?

ASR Limitations:

  • Discards huge amount of non-speech audio (music/environmental sounds).
  • Misses paralinguistic info (speaker emotion, acoustic properties).
  • Monotonic alignment provides trivial learning signal.

Caption Advantages:

  • Utilizes all audio content.
  • Captures global audio context.
  • Non-monotonic alignment provides a hard learning signal.
Novel Open Source Dataset for Training: ACAVCaps

ACAVCaps is a meticulously curated 38,662-hour collection of general audio captions derived from the open-source ACAV100M audio repository . While leveraging ACAV100M's extensive raw audio materials, we completely re-engineered the annotation process to create a dataset for holistic audio understanding. We devide the dataset into six categories:

Category Example Caption
Pure Speech "A female voice narrates historical competition with synthetic modulation"
Pure Sound "Outdoor scene with wind, birds, duck quacking and background noise"
Mixed Music "Crowd cheering with electronic synthesizer-driven soundscape"
Mixed Music "The audio features a crowd cheering and clapping alongside electronic music with a synthesizer-driven, dark, and energetic soundscape."
Mixed Speech "A Russian voice demonstrates a synthesizer’s capabilities over an experimental electronic backdrop, explaining its sound design and value in a gritty, vocal-fry tone."
Mixed Sound "A man speaks in English about entering a city and village, accompanied by the sounds of a running vehicle."

The figure below illustrates our data curation pipeline for ACAVCaps:

Each caption is generated through a three-step process:

  1. Multi-expert analysis (speech, vocal, music, acoustics)
  2. LLM reasoning synthesizing metadata with DeepSeek-R1
  3. Filtering for audio-text consistency with GLAP

We will release the ACAVCaps dataset after the ICASSP 2026 review process.

Usage
Load Model
from transformers import AutoModelForCausalLM, AutoProcessor

model_id = "mispeech/midashenglm-7b"

model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
Construct Prompt
user_prompt = "Caption the audio."  # You may try any other prompt 

messages = [
    {
        "role": "system",
        "content": [
            {"type": "text", "text": "You are a helpful language and speech assistant."}
        ],
    },
    {
        "role": "user",
        "content": [
            {"type": "text", "text": user_prompt},
            {
                "type": "audio",
                "path": "/path/to/example.wav",
                # or "url": "https://example.com/example.wav"
                # or "audio": np.random.randn(16000)
            },
        ],
    },
]
Generate Output
import torch
with torch.no_grad():
    model_inputs = processor.apply_chat_template(
        messages,
        tokenize=True,
        add_generation_prompt=True,
        add_special_tokens=True,
        return_dict=True,
    )
    generation = model.generate(**model_inputs)
    output = processor.batch_decode(generation, skip_special_tokens=True)  # ["An engine is idling."]
Results

MiDashengLM delivers solid performance across diverse audio understanding tasks.

Audio Captioning Results
Domain Dataset MiDashengLM Qwen2.5-Omni-7B Kimi-Audio-Instruct
Music MusicCaps 59.71 43.71 35.43
Music Songdescriber 45.39 45.31 44.63
Sound AudioCaps 62.18 60.79 49.00
Sound ClothoV2 49.20 47.55 48.01
Sound AutoACD 66.52 55.93 44.76

Metrics: FENSE (higher is better).

Audio and Paralinguistic Classification
Dataset Metric MiDashengLM Qwen2.5-Omni-7B Kimi-Audio-Instruct
VoxCeleb1 ACC↑ 92.36 59.71 82.72
VoxLingua107 ACC↑ 93.41 51.03 73.65
VoxCeleb-Gender ACC↑ 96.12 99.82 99.69
VGGSound ACC↑ 52.11 0.97 2.20
Cochlscene ACC↑ 74.06 23.88 18.34
NSynth ACC↑ 80.52 60.45 38.09
FMA ACC↑ 63.73 66.77 27.91
FSDKaggle2018 ACC↑ 75.25 31.38 24.75
AudioSet mAP↑ 8.86 6.48 3.47
FSD50K mAP↑ 37.58 23.87 27.23
ASR Performance
Dataset Language MiDashengLM Qwen2.5-Omni-7B Kimi-Audio-Instruct
LibriSpeech test-clean English 3.7 1.7 1.3
LibriSpeech test-other English 6.2 3.4 2.4
People's Speech English 27.8 28.6 22.3
AISHELL2 Mic Chinese 3.2 2.5 2.7
AISHELL2 iOS Chinese 2.9 2.6 2.6
AISHELL2 Android Chinese 3.1 2.7 2.6
GigaSpeech2 Indonesian 20.8 21.2 >100
GigaSpeech2 Thai 36.9 53.8 >100
GigaSpeech2 Viet 18.1 18.6 >100

Metrics: WER/CER (lower is better).

Question Answering Results
Dataset Subset Metric MiDashengLM Qwen2.5-Omni-7B Kimi-Audio-Instruct
MuChoMusic ACC↑ 71.35 64.79 67.40
MMAU Sound ACC↑ 68.47 67.87 74.17
MMAU Music ACC↑ 66.77 69.16 61.08
MMAU Speech ACC↑ 63.66 59.76 57.66
MMAU Average ACC↑ 66.30 65.60 64.30
MusicQA FENSE↑ 62.35 60.60 40.00
AudioCaps-QA FENSE↑ 54.31 53.28 47.34

Metrics: Higher is better.

Reproduction Instructions

To reproduce our results, please refer to https://github.com/xiaomi-research/dasheng-lm#reproduction-instructions

Efficiency

MiDashengLM demonstrates superior inference efficiency compared to Qwen2.5-Omni-7B, achieving 3.2× speedup at comparable batch sizes and an overall potential speedup of 20.2× with larger batches.

Batch Size MiDashengLM (samples/s) Qwen2.5-Omni-7B (samples/s) Speedup
1 0.45 0.36 1.25x
4 1.40 0.91 1.53x
8 2.72 1.15 2.36x
16 5.18 OOM -
32 9.78 OOM -
64 17.07 OOM -
128 22.73 OOM -
200 25.15 OOM -

Tested on 80GB GPU with 30s audio, 100-token output.

Citation

MiDashengLM is under the Apache License 2.0, and we encourage its use in both research and business applications .

If you find MiDashengLM useful in your research, please consider citing our work:

@misc{midashenglm7b,
    title = {MiDashengLM: Efficient Audio Understanding with General Audio Captions},
    author = {Xiaomi MiLM Plus Horizon Team},
    year = {2025},
}

Runs of mispeech midashenglm-7b on huggingface.co

37.3K
Total runs
0
24-hour runs
-2.4K
3-day runs
-2.9K
7-day runs
8.3K
30-day runs

More Information About midashenglm-7b huggingface.co Model

More midashenglm-7b license Visit here:

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

midashenglm-7b huggingface.co

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

midashenglm-7b huggingface.co Url

https://huggingface.co/mispeech/midashenglm-7b

mispeech midashenglm-7b online free

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

mispeech midashenglm-7b online free url in huggingface.co:

https://huggingface.co/mispeech/midashenglm-7b

midashenglm-7b install

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

midashenglm-7b install url in huggingface.co:

https://huggingface.co/mispeech/midashenglm-7b

Url of midashenglm-7b

midashenglm-7b huggingface.co Url

Provider of midashenglm-7b huggingface.co

mispeech
ORGANIZATIONS

Other API from mispeech

huggingface.co

Total runs: 19.6K
Run Growth: -4.3K
Growth Rate: -21.36%
Updated:March 30 2026
huggingface.co

Total runs: 5.5K
Run Growth: -1.7K
Growth Rate: -31.02%
Updated:March 19 2026
huggingface.co

Total runs: 3.4K
Run Growth: -5.0K
Growth Rate: -146.45%
Updated:March 30 2026
huggingface.co

Total runs: 2.7K
Run Growth: -2.6K
Growth Rate: -97.36%
Updated:March 30 2026
huggingface.co

Total runs: 845
Run Growth: -3.3K
Growth Rate: -389.59%
Updated:March 30 2026
huggingface.co

Total runs: 363
Run Growth: -69
Growth Rate: -19.06%
Updated:March 26 2026
huggingface.co

Total runs: 62
Run Growth: -46
Growth Rate: -74.19%
Updated:March 29 2025