KBLab / kb-whisper-small

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

Introduction of kb-whisper-small

Model Details of kb-whisper-small

KB-Whisper Small

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-small"

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-small on huggingface.co

4.3K
Total runs
0
24-hour runs
24
3-day runs
1
7-day runs
2.3K
30-day runs

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

More kb-whisper-small license Visit here:

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

kb-whisper-small huggingface.co

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

kb-whisper-small huggingface.co Url

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

KBLab kb-whisper-small online free

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

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

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

kb-whisper-small install

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

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

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

Url of kb-whisper-small

kb-whisper-small huggingface.co Url

Provider of kb-whisper-small 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
huggingface.co

Total runs: 952
Run Growth: -4.0K
Growth Rate: -422.48%
Updated:August 27 2025