KBLab / kb-whisper-base

huggingface.co
Total runs: 952
24-hour runs: 0
7-day runs: 434
30-day runs: -4.0K
Model's Last Updated: August 27 2025
automatic-speech-recognition

Introduction of kb-whisper-base

Model Details of kb-whisper-base

KB-Whisper Base

The National Library of Sweden releases a new suite of Whisper models trained on over 50,000 hours of Swedish speech.

Usage
import torch
from datasets import load_dataset
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline

device = "cuda:0" if torch.cuda.is_available() else "cpu"
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
model_id = "KBLab/kb-whisper-base"

model = AutoModelForSpeechSeq2Seq.from_pretrained(
    model_id, torch_dtype=torch_dtype, use_safetensors=True, cache_dir="cache"
)
model.to(device)
processor = AutoProcessor.from_pretrained(model_id)

pipe = pipeline(
    "automatic-speech-recognition",
    model=model,
    tokenizer=processor.tokenizer,
    feature_extractor=processor.feature_extractor,
    torch_dtype=torch_dtype,
    device=device,
)

generate_kwargs = {"task": "transcribe", "language": "sv"}
# Add return_timestamps=True for output with timestamps
res = pipe("audio.mp3", 
           chunk_length_s=30,
           generate_kwargs={"task": "transcribe", "language": "sv"})

Runs of KBLab kb-whisper-base on huggingface.co

952
Total runs
0
24-hour runs
48
3-day runs
434
7-day runs
-4.0K
30-day runs

More Information About kb-whisper-base huggingface.co Model

More kb-whisper-base license Visit here:

https://choosealicense.com/licenses/apache-2.0

kb-whisper-base huggingface.co

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

kb-whisper-base huggingface.co Url

https://huggingface.co/KBLab/kb-whisper-base

KBLab kb-whisper-base online free

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

KBLab kb-whisper-base online free url in huggingface.co:

https://huggingface.co/KBLab/kb-whisper-base

kb-whisper-base install

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

kb-whisper-base install url in huggingface.co:

https://huggingface.co/KBLab/kb-whisper-base

Url of kb-whisper-base

kb-whisper-base huggingface.co Url

Provider of kb-whisper-base huggingface.co

KBLab
ORGANIZATIONS

Other API from KBLab

huggingface.co

Total runs: 9.8K
Run Growth: -12.7K
Growth Rate: -129.27%
Updated:August 27 2025