nb-whisper-small: Norwegian Speech Recognition with Whisper
NB-Whisper Small is a 244M-parameter Norwegian ASR model from the National Library of Norway, fine-tuned from OpenAI's whisper-small for Bokmål, Nynorsk and English. This guide covers the model family, verbatim and semantic variants, exact inference code, chunking settings that prevent repetition, licensing, training data, and the release-candidate caveat.
View 2 referencesAllow the functional cookie to save your likes. Privacy details
What is nb-whisper-small?
nb-whisper-small is a 244-million-parameter automatic speech recognition model developed by the National Library of Norway's AI Lab. It fine-tunes OpenAI's whisper-small for Norwegian Bokmål, Nynorsk, and English. The model is part of a five-size series and remains a release candidate in its published model card, with final release planned at the time of writing.
The model card is explicit: "These models are currently Release Candidates. We are in the final stages of testing." That matters if you are planning a production deployment — pin the revision and re-test when the final weights arrive.
How was NB-Whisper Small trained?
The release-candidate card says each NB-Whisper model was trained for 250,000 steps on 8 million aligned 30-second audio samples, about 66,000 hours of speech. An earlier beta card states that "all models are trained on 20,000 hours of labeled data." The two published cards disagree, so neither number should be quoted as settled fact.
Sources do agree on the training material. It comes from Språkbanken and the National Library of Norway's digital collection: the NST Norwegian ASR Database at 16 kHz, transcribed parliamentary speeches, NRK TV subtitles, and audiobooks. The beta card notes that a significant part of the material comes from subtitles, which often shorten content for readability — a plausible source of the model's abbreviation behavior.
What models are in the NB-Whisper family?
The series spans Tiny at 39M parameters, Base at 74M, Small at 244M, Medium at 769M, and Large at 1550M. The card says Tiny, Base, and Small are optimized for CPU execution, while Medium and Large are recommended for GPU systems. The small size is therefore the practical CPU choice.
| Model | Parameters | Execution note |
|---|---|---|
| Tiny | 39M | CPU-optimized |
| Base | 74M | CPU-optimized |
| Small | 244M | CPU-optimized |
| Medium | 769M | GPU recommended |
| Large | 1550M | GPU recommended |
All five are based on openai/whisper-small or its siblings and are Apache 2.0 licensed.
What are verbatim and semantic variants?
Verbatim and semantic variants are trained 250 additional steps from the main models. The verbatim version is lower-cased and more literal, suited to linguistic analysis or detailed transcription. The semantic version prioritizes meaning over exact wording, intended for meeting minutes and subtitles. Both exist for every size, including Small.
Choosing between them is a task decision. If you need to count words or study disfluencies, verbatim is the right target. If you need readable minutes, semantic output saves a post-processing pass. The card does not claim that either variant is more accurate overall.
How do you run NB-Whisper Small?
Load the model with a standard Transformers pipeline and pass generate_kwargs for task and language. The card's own example transcribes a sample MP3 with language 'no'. For long files it recommends chunk_length_s=28 instead of the default 30, and num_beams=5 for better accuracy at the cost of memory.
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", "NbAiLabBeta/nb-whisper-small")
asr("king.mp3", chunk_length_s=28, return_timestamps=True,
generate_kwargs={"num_beams": 5, "task": "transcribe", "language": "no"})
The card's sample file is available in the project's GitHub repository, and pip install transformers>=4.35.2 is the stated minimum. The model is also offered through the Hugging Face Inference API, though first-load CPU inference can be slow.
What languages and tasks are supported?
The documented language codes are 'no' for Norwegian Bokmål, 'nn' for Nynorsk, and 'en' for English. The same generate_kwargs switch can request translation rather than transcription, and return_timestamps can be set to True or 'word'. This makes one checkpoint useful for several Nordic ASR tasks.
Word-level timestamps are particularly useful for subtitle workflows, where the semantic variant and timestamp output can be combined. The model card shows examples for both Nynorsk transcription and English translation from the same checkpoint. A language code is not a quality guarantee: the same weights handle Bokmål and Nynorsk, but domain mismatch still shows up in names, places and borrowed words. If your audio contains English code-switching, test that explicitly rather than assuming the en code solves it.
What are the known failure modes?
The model card shows the failure mode directly: a 30-second-plus sample produces repeated phrases at the end of the transcript. The authors attribute this to length and suggest chunk_length_s=28. If you transcribe long recordings, chunking and beam search are not optional tuning — they are necessary to avoid hallucinated repetition.
Other practical limits follow from the data. Subtitle-derived training material can bias the model toward shortened phrasing, and the beta card warns about bias and risk sections that are still being documented. Always spot-check a sample of real audio from your domain before batch transcription.
What license and provenance apply?
NB-Whisper Small is Apache 2.0 and trained from openai/whisper-small. The project reports TPUv4 training with about 1,536 hours and roughly 247.77 kgCO₂, fully offset by the cloud provider. Development was part of the NoSTram project at the National Library of Norway, with a paper described as forthcoming.
Bottom line
NB-Whisper Small is a strong fit when you need Norwegian ASR on CPU under a permissive license. Pin a revision because of the release-candidate status, set chunk_length_s to 28, and choose verbatim or semantic deliberately. Treat the conflicting training-hour figures as a documentation gap to verify against the eventual paper rather than as a settled specification.