mispeech / dasheng-base

huggingface.co
Total runs: 9.2K
24-hour runs: -325
7-day runs: 3.8K
30-day runs: 1.5K
Model's Last Updated: March 19 2026
audio-classification

Introduction of dasheng-base

Model Details of dasheng-base

Dasheng: a large scale general-purpose audio encoder

Dasheng ( D eep A udio- S ignal H olistic E mbeddi ng s), or “大声” ("great sound"), is a general-purpose audio encoder trained on a large-scale self-supervised learning task. Dasheng is designed to capture rich audio information across various domains, including speech, music, and environmental sounds. The model is trained on 272,356 hours of diverse audio data with 1.2 billion parameters, and exhibits significant performance gains on the HEAR benchmark . Dasheng outperforms previous works on CREMA-D, LibriCount, Speech Commands, VoxLingua, and competes well in music and environmental sound classification tasks.

Original Repository: https://github.com/RicherMans/Dasheng

dasheng

Usage
Install
pip install git+https://github.com/jimbozhang/hf_transformers_custom_model_dasheng.git
Inference
>>> model_name = "mispeech/dasheng-base"

>>> from dasheng_model.feature_extraction_dasheng import DashengFeatureExtractor
>>> from dasheng_model.modeling_dasheng import DashengModel

>>> feature_extractor = DashengFeatureExtractor.from_pretrained(model_name)
>>> model = DashengModel.from_pretrained(model_name, outputdim=None)  # no linear output layer if `outputdim` is `None`

>>> import torchaudio
>>> audio, sampling_rate = torchaudio.load("resources/JeD5V5aaaoI_931_932.wav")
>>> assert sampling_rate == 16000
>>> audio.shape
torch.Size([1, 16000])   # mono audio of 1 second

>>> inputs = feature_extractor(audio, sampling_rate=sampling_rate, return_tensors="pt")
>>> inputs.input_values.shape
torch.Size([1, 64, 101])   # 64 mel-filterbanks, 101 frames

>>> import torch
>>> with torch.no_grad():
...     outputs = model(**inputs)

>>> outputs.hidden_states.shape
torch.Size([1, 25, 768])   # 25 T-F patches (patch size 64x4, no overlap), before mean-pooling

>>> outputs.logits.shape
torch.Size([1, 768])   # mean-pooled embedding (would be logits from a linear layer if `outputdim` was set)
Fine-tuning

Open In Colab

example_finetune_esc50.ipynb demonstrates how to train a linear head on the ESC-50 dataset with the Dasheng encoder frozen.

Citation

If you find Dasheng useful in your research, please consider citing the following paper:

@inproceedings{dinkel2023scaling,
  title={Scaling up masked audio encoder learning for general audio classification},
  author={Dinkel, Heinrich and Yan, Zhiyong and Wang, Yongqing and Zhang, Junbo and Wang, Yujun and Wang, Bin},
  booktitle={Interspeech 2024},
  year={2024}
}

Runs of mispeech dasheng-base on huggingface.co

9.2K
Total runs
-325
24-hour runs
934
3-day runs
3.8K
7-day runs
1.5K
30-day runs

More Information About dasheng-base huggingface.co Model

More dasheng-base license Visit here:

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

dasheng-base huggingface.co

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

dasheng-base huggingface.co Url

https://huggingface.co/mispeech/dasheng-base

mispeech dasheng-base online free

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

mispeech dasheng-base online free url in huggingface.co:

https://huggingface.co/mispeech/dasheng-base

dasheng-base install

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

dasheng-base install url in huggingface.co:

https://huggingface.co/mispeech/dasheng-base

Url of dasheng-base

dasheng-base huggingface.co Url

Provider of dasheng-base huggingface.co

mispeech
ORGANIZATIONS

Other API from mispeech

huggingface.co

Total runs: 17.0K
Run Growth: -8.4K
Growth Rate: -49.59%
Updated:March 30 2026
huggingface.co

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

Total runs: 2.8K
Run Growth: -2.1K
Growth Rate: -75.86%
Updated:March 30 2026
huggingface.co

Total runs: 994
Run Growth: -3.1K
Growth Rate: -311.47%
Updated:March 30 2026
huggingface.co

Total runs: 412
Run Growth: 3
Growth Rate: 0.74%
Updated:March 26 2026
huggingface.co

Total runs: 92
Run Growth: 51
Growth Rate: 56.04%
Updated:March 29 2025