espnet / owsm_ctc_v3.1_1B

huggingface.co
Total runs: 44
24-hour runs: 0
7-day runs: -6
30-day runs: 38
Model's Last Updated: September 20 2026
automatic-speech-recognition

Introduction of owsm_ctc_v3.1_1B

Model Details of owsm_ctc_v3.1_1B

OWSM-CTC (Peng et al., ACL 2024) is an encoder-only speech foundation model based on hierarchical multi-task self-conditioned CTC. It is trained on 180k hours of public audio data for multilingual speech recognition, any-to-any speech translation, and language identification, which follows the design of the project, Open Whisper-style Speech Model (OWSM) .

Due to time constraint, the model used in the paper was trained for 40 "epochs". The new model trained for 45 "epochs" (approximately three entire passes on the full data) is also added in this repo in order to match the setup of encoder-decoder OWSM. It can have better performance than the old one in many test sets.

Currently, the code for OWSM-CTC has not been merged into ESPnet main branch. Instead, it is available as follows:

To use the pre-trained model, you need to install espnet and espnet_model_zoo . The requirements are:

librosa
torch
espnet @ git+https://github.com/pyf98/espnet@owsm-ctc
espnet_model_zoo

We use FlashAttention during training, but we do not need it during inference. Please install it as follows:

pip install flash-attn --no-build-isolation
Example script for short-form ASR/ST
import soundfile as sf
import numpy as np
import librosa
import kaldiio
from espnet2.bin.s2t_inference_ctc import Speech2TextGreedySearch


s2t = Speech2TextGreedySearch.from_pretrained(
    "pyf98/owsm_ctc_v3.1_1B",
    device="cuda",
    generate_interctc_outputs=False,
    lang_sym='<eng>',
    task_sym='<asr>',
)

speech, rate = sf.read(
    "xxx.wav"
)
speech = librosa.util.fix_length(speech, size=(16000 * 30))

res = s2t(speech)[0]
print(res)
Example script for long-form ASR/ST
import soundfile as sf
import torch
from espnet2.bin.s2t_inference_ctc import Speech2TextGreedySearch


context_len_in_secs = 4   # left and right context when doing buffered inference
batch_size = 32   # depends on the GPU memory
s2t = Speech2TextGreedySearch.from_pretrained(
    "pyf98/owsm_ctc_v3.1_1B",
    device='cuda' if torch.cuda.is_available() else 'cpu',
    generate_interctc_outputs=False,
    lang_sym='<eng>',
    task_sym='<asr>',
)

speech, rate = sf.read(
    "xxx.wav"
)

text = s2t.decode_long_batched_buffered(
    speech,
    batch_size=batch_size,
    context_len_in_secs=context_len_in_secs,
    frames_per_sec=12.5,        # 80ms shift, model-dependent, don't change
)
print(text)
Example for CTC forced alignment using ctc-segmentation

It can be efficiently applied to audio of an arbitrary length. For model downloading, please refer to https://github.com/espnet/espnet?tab=readme-ov-file#ctc-segmentation-demo

import soundfile as sf
from espnet2.bin.s2t_ctc_align import CTCSegmentation


## Please download model first
aligner = CTCSegmentation(
    s2t_model_file="exp/s2t_train_s2t_multitask-ctc_ebf27_conv2d8_size1024_raw_bpe50000/valid.total_count.ave_5best.till45epoch.pth",
    fs=16000,
    ngpu=1,
    batch_size=16,    # batched parallel decoding; reduce it if your GPU memory is smaller
    kaldi_style_text=True,
    time_stamps="fixed",
    samples_to_frames_ratio=1280,   # 80ms time shift; don't change as it depends on the pre-trained model
    lang_sym="<eng>",
    task_sym="<asr>",
    context_len_in_secs=2,  # left and right context in buffered decoding
    frames_per_sec=12.5,    # 80ms time shift; don't change as it depends on the pre-trained model
)

speech, rate = sf.read(
    "example.wav"
)
print(f"speech duration: {len(speech) / rate : .2f} seconds")
text = '''
utt1 hello there
utt2 welcome to this repo
'''

segments = aligner(speech, text)
print(segments)

Runs of espnet owsm_ctc_v3.1_1B on huggingface.co

44
Total runs
0
24-hour runs
-2
3-day runs
-6
7-day runs
38
30-day runs

More Information About owsm_ctc_v3.1_1B huggingface.co Model

More owsm_ctc_v3.1_1B license Visit here:

https://choosealicense.com/licenses/cc-by-4.0

owsm_ctc_v3.1_1B huggingface.co

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

owsm_ctc_v3.1_1B huggingface.co Url

https://huggingface.co/espnet/owsm_ctc_v3.1_1B

espnet owsm_ctc_v3.1_1B online free

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

espnet owsm_ctc_v3.1_1B online free url in huggingface.co:

https://huggingface.co/espnet/owsm_ctc_v3.1_1B

owsm_ctc_v3.1_1B install

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

owsm_ctc_v3.1_1B install url in huggingface.co:

https://huggingface.co/espnet/owsm_ctc_v3.1_1B

Url of owsm_ctc_v3.1_1B

owsm_ctc_v3.1_1B huggingface.co Url

Provider of owsm_ctc_v3.1_1B huggingface.co

espnet
ORGANIZATIONS

Other API from espnet

huggingface.co

Total runs: 11.1K
Run Growth: -126
Growth Rate: -1.13%
Updated:October 11 2026
huggingface.co

Total runs: 3.5K
Run Growth: -1.2K
Growth Rate: -30.25%
Updated:September 18 2026
huggingface.co

Total runs: 249
Run Growth: 148
Growth Rate: 59.44%
Updated:January 22 2026
huggingface.co

Total runs: 180
Run Growth: 130
Growth Rate: 69.52%
Updated:September 20 2026
huggingface.co

Total runs: 129
Run Growth: 73
Growth Rate: 56.15%
Updated:October 11 2026
huggingface.co

Total runs: 94
Run Growth: 43
Growth Rate: 47.78%
Updated:June 17 2025
huggingface.co

Total runs: 24
Run Growth: 21
Growth Rate: 77.78%
Updated:October 11 2026
huggingface.co

Total runs: 19
Run Growth: 16
Growth Rate: 84.21%
Updated:May 03 2025
huggingface.co

Total runs: 14
Run Growth: 5
Growth Rate: 33.33%
Updated:August 26 2024