microsoft / speecht5_asr

huggingface.co
Total runs: 89.5K
24-hour runs: -506
7-day runs: -24.9K
30-day runs: -100
Model's Last Updated: March 23 2023
automatic-speech-recognition

Introduction of speecht5_asr

Model Details of speecht5_asr

SpeechT5 (ASR task)

SpeechT5 model fine-tuned for automatic speech recognition (speech-to-text) on LibriSpeech.

This model was introduced in SpeechT5: Unified-Modal Encoder-Decoder Pre-Training for Spoken Language Processing by Junyi Ao, Rui Wang, Long Zhou, Chengyi Wang, Shuo Ren, Yu Wu, Shujie Liu, Tom Ko, Qing Li, Yu Zhang, Zhihua Wei, Yao Qian, Jinyu Li, Furu Wei.

SpeechT5 was first released in this repository , original weights . The license used is MIT .

Disclaimer: The team releasing SpeechT5 did not write a model card for this model so this model card has been written by the Hugging Face team.

Model Description

Motivated by the success of T5 (Text-To-Text Transfer Transformer) in pre-trained natural language processing models, we propose a unified-modal SpeechT5 framework that explores the encoder-decoder pre-training for self-supervised speech/text representation learning. The SpeechT5 framework consists of a shared encoder-decoder network and six modal-specific (speech/text) pre/post-nets. After preprocessing the input speech/text through the pre-nets, the shared encoder-decoder network models the sequence-to-sequence transformation, and then the post-nets generate the output in the speech/text modality based on the output of the decoder.

Leveraging large-scale unlabeled speech and text data, we pre-train SpeechT5 to learn a unified-modal representation, hoping to improve the modeling capability for both speech and text. To align the textual and speech information into this unified semantic space, we propose a cross-modal vector quantization approach that randomly mixes up speech/text states with latent units as the interface between encoder and decoder.

Extensive evaluations show the superiority of the proposed SpeechT5 framework on a wide variety of spoken language processing tasks, including automatic speech recognition, speech synthesis, speech translation, voice conversion, speech enhancement, and speaker identification.

Intended Uses & Limitations

You can use this model for automatic speech recognition. See the model hub to look for fine-tuned versions on a task that interests you.

Currently, both the feature extractor and model support PyTorch.

Citation

BibTeX:

@inproceedings{ao-etal-2022-speecht5,
    title = {{S}peech{T}5: Unified-Modal Encoder-Decoder Pre-Training for Spoken Language Processing},
    author = {Ao, Junyi and Wang, Rui and Zhou, Long and Wang, Chengyi and Ren, Shuo and Wu, Yu and Liu, Shujie and Ko, Tom and Li, Qing and Zhang, Yu and Wei, Zhihua and Qian, Yao and Li, Jinyu and Wei, Furu},
    booktitle = {Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
    month = {May},
    year = {2022},
    pages={5723--5738},
}
How to Get Started With the Model

Use the code below to convert a mono 16 kHz speech waveform to text.

from transformers import SpeechT5Processor, SpeechT5ForSpeechToText
from datasets import load_dataset

dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
dataset = dataset.sort("id")
sampling_rate = dataset.features["audio"].sampling_rate
example_speech = dataset[0]["audio"]["array"]

processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_asr")
model = SpeechT5ForSpeechToText.from_pretrained("microsoft/speecht5_asr")

inputs = processor(audio=example_speech, sampling_rate=sampling_rate, return_tensors="pt")

predicted_ids = model.generate(**inputs, max_length=100)

transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
print(transcription[0])

Runs of microsoft speecht5_asr on huggingface.co

89.5K
Total runs
-506
24-hour runs
-8.7K
3-day runs
-24.9K
7-day runs
-100
30-day runs

More Information About speecht5_asr huggingface.co Model

More speecht5_asr license Visit here:

https://choosealicense.com/licenses/mit

speecht5_asr huggingface.co

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

microsoft speecht5_asr online free

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

microsoft speecht5_asr online free url in huggingface.co:

https://huggingface.co/microsoft/speecht5_asr

speecht5_asr install

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

speecht5_asr install url in huggingface.co:

https://huggingface.co/microsoft/speecht5_asr

Url of speecht5_asr

speecht5_asr huggingface.co Url

Provider of speecht5_asr huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:February 03 2022
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:November 25 2025
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:April 08 2024
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:December 08 2025
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:February 14 2024
huggingface.co

Total runs: 155.9K
Run Growth: -218.7K
Growth Rate: -140.33%
Updated:September 26 2022
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:November 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:February 29 2024
huggingface.co

Total runs: 101.3K
Run Growth: 95
Growth Rate: 0.09%
Updated:February 03 2023
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:August 28 2025
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:November 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:December 03 2025
huggingface.co

Total runs: 55.7K
Run Growth: -1.8K
Growth Rate: -3.23%
Updated:December 23 2021
huggingface.co

Total runs: 41.2K
Run Growth: -90.1K
Growth Rate: -218.80%
Updated:May 12 2026
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:April 23 2026
huggingface.co

Total runs: 27.4K
Run Growth: -4.9K
Growth Rate: -18.00%
Updated:April 24 2023