microsoft / wavlm-base-plus-sd

huggingface.co
Total runs: 134.8K
24-hour runs: 0
7-day runs: -26.4K
30-day runs: 21.3K
Model's Last Updated: March 25 2022

Introduction of wavlm-base-plus-sd

Model Details of wavlm-base-plus-sd

WavLM-Base-Plus for Speaker Diarization

Microsoft's WavLM

The model was pretrained on 16kHz sampled speech audio with utterance and speaker contrastive loss. When using the model, make sure that your speech input is also sampled at 16kHz.

The model was pre-trained on:

Paper: WavLM: Large-Scale Self-Supervised Pre-Training for Full Stack Speech Processing

Authors: Sanyuan Chen, Chengyi Wang, Zhengyang Chen, Yu Wu, Shujie Liu, Zhuo Chen, Jinyu Li, Naoyuki Kanda, Takuya Yoshioka, Xiong Xiao, Jian Wu, Long Zhou, Shuo Ren, Yanmin Qian, Yao Qian, Jian Wu, Michael Zeng, Furu Wei

Abstract Self-supervised learning (SSL) achieves great success in speech recognition, while limited exploration has been attempted for other speech processing tasks. As speech signal contains multi-faceted information including speaker identity, paralinguistics, spoken content, etc., learning universal representations for all speech tasks is challenging. In this paper, we propose a new pre-trained model, WavLM, to solve full-stack downstream speech tasks. WavLM is built based on the HuBERT framework, with an emphasis on both spoken content modeling and speaker identity preservation. We first equip the Transformer structure with gated relative position bias to improve its capability on recognition tasks. For better speaker discrimination, we propose an utterance mixing training strategy, where additional overlapped utterances are created unsupervisely and incorporated during model training. Lastly, we scale up the training dataset from 60k hours to 94k hours. WavLM Large achieves state-of-the-art performance on the SUPERB benchmark, and brings significant improvements for various speech processing tasks on their representative benchmarks.

The original model can be found under https://github.com/microsoft/unilm/tree/master/wavlm .

Fine-tuning details

The model is fine-tuned on the LibriMix dataset using just a linear layer for mapping the network outputs.

Usage

Speaker Diarization
from transformers import Wav2Vec2FeatureExtractor, WavLMForAudioFrameClassification
from datasets import load_dataset
import torch

dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained('microsoft/wavlm-base-plus-sd')
model = WavLMForAudioFrameClassification.from_pretrained('microsoft/wavlm-base-plus-sd')

# audio file is decoded on the fly
inputs = feature_extractor(dataset[0]["audio"]["array"], return_tensors="pt")
logits = model(**inputs).logits
probabilities = torch.sigmoid(logits[0])

# labels is a one-hot array of shape (num_frames, num_speakers)
labels = (probabilities > 0.5).long()

License

The official license can be found here

design

Runs of microsoft wavlm-base-plus-sd on huggingface.co

134.8K
Total runs
0
24-hour runs
-6.8K
3-day runs
-26.4K
7-day runs
21.3K
30-day runs

More Information About wavlm-base-plus-sd huggingface.co Model

wavlm-base-plus-sd huggingface.co

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

wavlm-base-plus-sd huggingface.co Url

https://huggingface.co/microsoft/wavlm-base-plus-sd

microsoft wavlm-base-plus-sd online free

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

microsoft wavlm-base-plus-sd online free url in huggingface.co:

https://huggingface.co/microsoft/wavlm-base-plus-sd

wavlm-base-plus-sd install

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

wavlm-base-plus-sd install url in huggingface.co:

https://huggingface.co/microsoft/wavlm-base-plus-sd

Url of wavlm-base-plus-sd

wavlm-base-plus-sd huggingface.co Url

Provider of wavlm-base-plus-sd huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 622.7K
Run Growth: -1.0M
Growth Rate: -153.26%
Updated:December 08 2025
huggingface.co

Total runs: 574.6K
Run Growth: 213.5K
Growth Rate: 37.09%
Updated:February 03 2022
huggingface.co

Total runs: 537.9K
Run Growth: 432.8K
Growth Rate: 81.51%
Updated:April 08 2024
huggingface.co

Total runs: 493.3K
Run Growth: -256.3K
Growth Rate: -52.90%
Updated:November 25 2025
huggingface.co

Total runs: 311.8K
Run Growth: 8.1K
Growth Rate: 2.65%
Updated:February 14 2024
huggingface.co

Total runs: 184.4K
Run Growth: -3.1K
Growth Rate: -1.65%
Updated:November 08 2023
huggingface.co

Total runs: 129.9K
Run Growth: -150.9K
Growth Rate: -114.85%
Updated:February 03 2023
huggingface.co

Total runs: 120.5K
Run Growth: -213.6K
Growth Rate: -172.71%
Updated:September 26 2022
huggingface.co

Total runs: 109.5K
Run Growth: -39.3K
Growth Rate: -36.02%
Updated:February 29 2024
huggingface.co

Total runs: 84.9K
Run Growth: -39.8K
Growth Rate: -47.29%
Updated:August 28 2025
huggingface.co

Total runs: 72.2K
Run Growth: -30.7K
Growth Rate: -42.63%
Updated:December 03 2025
huggingface.co

Total runs: 69.5K
Run Growth: -18.5K
Growth Rate: -23.62%
Updated:November 25 2025
huggingface.co

Total runs: 52.5K
Run Growth: 15.3K
Growth Rate: 32.26%
Updated:October 09 2025
huggingface.co

Total runs: 46.7K
Run Growth: -11.0K
Growth Rate: -26.03%
Updated:December 23 2021
huggingface.co

Total runs: 31.0K
Run Growth: -8.1K
Growth Rate: -26.25%
Updated:October 11 2025