Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
Whisper Large v3 for Speech Flow (Fluency) Classification
Model Description
This model includes the implementation of speech fluency classification described in Vox-Profile: A Speech Foundation Model Benchmark for Characterizing Diverse Speaker and Speech Traits (
https://arxiv.org/pdf/2505.14648
)
The model first predicts the speech with 3-second window size and 1-second step size in
["fluent", "disfluent"]
If the disfluent speech is detected, we predict the disfluent types in:
# Load librariesimport torch
import torch.nn.functional as F
from src.model.fluency.whisper_fluency import WhisperWrapper
# Find device
device = torch.device("cuda") if torch.cuda.is_available() else"cpu"# Load model from Huggingface
model = WhisperWrapper.from_pretrained("tiantiaf/whisper-large-v3-speech-flow").to(device)
model.eval()
fluency_outputs, disfluency_type_outputs = model(input_audio, length=input_audio_length)
fluency_prob = F.softmax(fluency_outputs, dim=1).detach().cpu().numpy().astype(float).tolist()
disfluency_type_prob = nn.Sigmoid()(disfluency_type_outputs)
# we can set a higher threshold in practice
disfluency_type_predictions = (disfluency_type_prob > 0.7).int().detach().cpu().numpy().tolist()
disfluency_type_prob = disfluency_type_prob.cpu().numpy().astype(float).tolist()
Now let's gather the predictions for the utterance
utterance_fluency_list = list()
utterance_disfluency_list = list()
for audio_idx inrange(audio_segment):
disfluency_type = list()
if fluency_prob[audio_idx][0] > 0.5:
utterance_fluency_list.append("fluent")
else:
# If the prediction is disfluent, then which disfluency type
utterance_fluency_list.append("disfluent")
predictions = disfluency_type_predictions[audio_idx]
for label_idx inrange(len(predictions)):
if predictions[label_idx] == 1:
disfluency_type.append(disfluency_type_labels[label_idx])
utterance_disfluency_list.append(disfluency_type)
# Now print how fluent is the utteranceprint(utterance_fluency_list)
print(utterance_disfluency_list)
If you have any questions, please contact: Tiantian Feng (
[email protected]
)
Kindly cite our paper if you are using our model or find it useful in your work
@article{feng2025vox,
title={Vox-Profile: A Speech Foundation Model Benchmark for Characterizing Diverse Speaker and Speech Traits},
author={Feng, Tiantian and Lee, Jihwan and Xu, Anfeng and Lee, Yoonjeong and Lertpetchpun, Thanathai and Shi, Xuan and Wang, Helin and Thebaud, Thomas and Moro-Velazquez, Laureano and Byrd, Dani and others},
journal={arXiv preprint arXiv:2505.14648},
year={2025}
}
Runs of tiantiaf whisper-large-v3-speech-flow on huggingface.co
41
Total runs
0
24-hour runs
0
3-day runs
-14
7-day runs
-14
30-day runs
More Information About whisper-large-v3-speech-flow huggingface.co Model
More whisper-large-v3-speech-flow license Visit here:
whisper-large-v3-speech-flow huggingface.co is an AI model on huggingface.co that provides whisper-large-v3-speech-flow's model effect (), which can be used instantly with this tiantiaf whisper-large-v3-speech-flow model. huggingface.co supports a free trial of the whisper-large-v3-speech-flow model, and also provides paid use of the whisper-large-v3-speech-flow. Support call whisper-large-v3-speech-flow model through api, including Node.js, Python, http.
whisper-large-v3-speech-flow huggingface.co is an online trial and call api platform, which integrates whisper-large-v3-speech-flow's modeling effects, including api services, and provides a free online trial of whisper-large-v3-speech-flow, you can try whisper-large-v3-speech-flow online for free by clicking the link below.
tiantiaf whisper-large-v3-speech-flow online free url in huggingface.co:
whisper-large-v3-speech-flow is an open source model from GitHub that offers a free installation service, and any user can find whisper-large-v3-speech-flow on GitHub to install. At the same time, huggingface.co provides the effect of whisper-large-v3-speech-flow install, users can directly use whisper-large-v3-speech-flow installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
whisper-large-v3-speech-flow install url in huggingface.co: