microsoft / wavlm-base-plus-sd

huggingface.co
Total runs: 60.4K
24-hour runs: 0
7-day runs: 188
30-day runs: -9.8K
Model's Last Updated: 2022年3月25日

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

60.4K
Total runs
0
24-hour runs
109
3-day runs
188
7-day runs
-9.8K
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: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:2022年2月3日
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:2025年11月25日
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:2024年4月8日
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:2025年12月8日
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:2024年2月14日
huggingface.co

Total runs: 130.3K
Run Growth: 91.4K
Growth Rate: 70.18%
Updated:2026年5月12日
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:2023年11月8日
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:2024年2月29日
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:2025年8月28日
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:2025年11月25日
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:2025年12月3日
huggingface.co

Total runs: 36.7K
Run Growth: -15.5K
Growth Rate: -42.26%
Updated:2021年12月23日
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:2026年4月23日
huggingface.co

Total runs: 15.5K
Run Growth: -5.4K
Growth Rate: -36.18%
Updated:2023年2月3日