Instructions to use KlangAI/pianissimo-sv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use KlangAI/pianissimo-sv with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("KlangAI/pianissimo-sv") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Klang Pianissimo
Pianissimo is a fast, accurate speech recognition model for Swedish. Developed by Klang, it is a 600-million-parameter fine-tune of NVIDIA Parakeet v3, available under CC BY 4.0.
Pianissimo can transcribe one hour of audio in one second on an H100.
It achieves 4.46% word error rate on Common Voice Swedish and 6.51% on Swedish FLEURS, reducing errors by 76% and 57% compared with Parakeet v3.
It supports punctuation, capitalization, and word-level timestamps, and can transcribe both short clips and long recordings.
Usage
Install PyTorch and nemo_toolkit[asr].
Load the model and transcribe a 16 kHz mono audio file:
import torch
from nemo.collections.asr.models import ASRModel
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = ASRModel.from_pretrained(
model_name="KlangAI/pianissimo-sv",
map_location=device,
).eval()
with torch.inference_mode():
hypotheses = model.transcribe(
audio=["audio.wav"],
batch_size=1,
return_hypotheses=True,
)
print(hypotheses[0].text)
For multiple files, pass a list of paths and increase batch_size to suit your GPU. Use batch_size=1 for long recordings. An NVIDIA GPU is recommended; memory use grows with recording length and batch size.
Timestamps
Add timestamps=True to obtain word and segment timestamps:
with torch.inference_mode():
hypotheses = model.transcribe(
audio=["audio.wav"],
batch_size=1,
return_hypotheses=True,
timestamps=True,
)
for word in hypotheses[0].timestamp["word"]:
print(word["start"], word["end"], word["word"])
Quality and speed
Word error rate (WER, %) on Swedish speech; lower is better. All models were evaluated by Klang using the same scoring procedure. Bulk throughput is expressed as multiples of realtime.
| Model | CV test | FLEURS test | Klang Dialects | Bulk throughput |
|---|---|---|---|---|
| Pianissimo | 4.46 | 6.51 | 4.85 | 2,500× |
| Parakeet TDT 0.6B v3 | 18.54 | 15.18 | 25.82 | 2,500× |
| KB-Whisper medium | 5.40 | 6.58 | 3.58 | 66× |
| KB-Whisper large | 3.91 | 5.08 | 2.30 | 39× |
| Whisper large-v3 | 8.07 | 7.24 | 8.16 | 39× |
The evaluations cover 5,516 Common Voice v26 test clips, 758 FLEURS test clips, and the 1,804-recording clean set of Klang Dialects. We calculate corpus-level WER after lowercasing, replacing punctuation with spaces, and collapsing whitespace.
Throughput was measured on one NVIDIA A100 80 GB using 30-second audio clips, with 16bit precision and optimal batch sizes.
Architecture
Pianissimo uses a FastConformer encoder and Token-and-Duration Transducer (TDT) decoder, retaining Parakeet v3's architecture and tokenizer.
| Property | Value |
|---|---|
| Parameters | Approximately 600 million |
| Audio input | 16 kHz, mono |
| Features | 128-band log-mel spectrogram |
| Encoder | 24 layers, 8× subsampling |
| Default attention | Local, 256 encoder frames on each side per layer |
| Checkpoint size | 2.51 GB |
Unlike the original Parakeet checkpoint's full attention, Pianissimo defaults to local attention with approximately 20.5 seconds of context in each direction per layer. This keeps attention computation linear in recording length and makes long recordings practical.
Training
We fine-tuned Pianissimo on approximately 50,000 hours of Swedish speech, including public datasets such as RixVox, Common Voice and FLEURS, as well as our internal dataset of publicly available data. Augmentation included reverberation, noise, compression, reduced bandwidth, and gain changes.
Limitations
Overlapping speech, strong background noise, uncommon names, and specialized vocabulary can reduce recognition quality. Number formatting and punctuation may need editing for the intended application. Evaluation has focused on Swedish; performance on other languages and code-switching has not been established.
License and citation
Pianissimo is released under CC BY 4.0.
@misc{klang2026pianissimo,
title = {Klang Pianissimo},
author = {{Klang}},
year = {2026},
howpublished = {Hugging Face model repository},
url = {https://huggingface.co/KlangAI/pianissimo-sv}
}
- Downloads last month
- -
Model tree for KlangAI/pianissimo-sv
Base model
nvidia/parakeet-tdt-0.6b-v3