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.
Detailed audio captioning model
that generates rich, temporal descriptions of speech audio — including voice characteristics, emotional states, recording quality, speaker demographics, and delivery style.
Recording quality
: background noise, clarity, studio vs. field
Temporal aspects
: how delivery and emotion change over time
Quick Start
from transformers import WhisperProcessor, WhisperForConditionalGeneration
import torchaudio
import torch
# Load model
processor = WhisperProcessor.from_pretrained("laion/BUD-E-Whisper_V1.2")
model = WhisperForConditionalGeneration.from_pretrained("laion/BUD-E-Whisper_V1.2")
model.generation_config.forced_decoder_ids = None
model.eval().to("cuda")
# Load audio (resample to 16kHz mono)
wav, sr = torchaudio.load("audio.wav")
if wav.shape[0] > 1:
wav = wav.mean(dim=0, keepdim=True)
if sr != 16000:
wav = torchaudio.functional.resample(wav, sr, 16000)
audio = wav.squeeze(0).numpy()
# Generate caption
inputs = processor.feature_extractor(audio, sampling_rate=16000, return_tensors="pt").to("cuda")
with torch.no_grad():
generated_ids = model.generate(**inputs, max_length=448)
caption = processor.tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(caption)
CLI Inference
python inference.py audio.wav
python inference.py audio.mp3 --device cpu
Example Output
Input
: A 5-second clip of a male speaker reading a sentence.
Output
:
This recording features a clearly masculine adult male speaker delivering a narration with a strong sense of interest and concentration, occasionally exhibiting a hint of contemplation. The overall emotional valence remains neutral, with a slightly calm arousal level throughout. The speaker's demeanor is balanced, displaying a moderate degree of vulnerability alongside a subtle confidence. The vocal delivery is consistently natural and spontaneous, characterized by a neutral pitch and volume, and a smooth, clear timbre with minimal breathiness.
BUD-E-Whisper_V1.2 huggingface.co is an AI model on huggingface.co that provides BUD-E-Whisper_V1.2's model effect (), which can be used instantly with this laion BUD-E-Whisper_V1.2 model. huggingface.co supports a free trial of the BUD-E-Whisper_V1.2 model, and also provides paid use of the BUD-E-Whisper_V1.2. Support call BUD-E-Whisper_V1.2 model through api, including Node.js, Python, http.
BUD-E-Whisper_V1.2 huggingface.co is an online trial and call api platform, which integrates BUD-E-Whisper_V1.2's modeling effects, including api services, and provides a free online trial of BUD-E-Whisper_V1.2, you can try BUD-E-Whisper_V1.2 online for free by clicking the link below.
laion BUD-E-Whisper_V1.2 online free url in huggingface.co:
BUD-E-Whisper_V1.2 is an open source model from GitHub that offers a free installation service, and any user can find BUD-E-Whisper_V1.2 on GitHub to install. At the same time, huggingface.co provides the effect of BUD-E-Whisper_V1.2 install, users can directly use BUD-E-Whisper_V1.2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.