NbAiLab/nb-whisper-large from the National Library of Norway, converted to Core ML for WhisperKit so it runs on the Apple Neural Engine.
This is a format conversion, not a new model. The weights and behaviour are NbAiLab's. All credit for the model belongs to NbAiLab.
Used by the Mac, iPhone and iPad app Sagt for local Norwegian transcription.
whisperkit-generate-model --model-version NbAiLab/nb-whisper-large)config.json and generation_config.json are copied unchanged from the original model.let folder = try await WhisperKit.download(
variant: "nb-whisper-large",
from: "Selbyggen/nb-whisper-large-coreml"
)
let kit = try await WhisperKit(WhisperKitConfig(modelFolder: folder.path))
let result = try await kit.transcribe(audioPath: "opptak.m4a",
decodeOptions: DecodingOptions(language: "no"))
The model uses the same tokenizer as openai/whisper-large-v3.
Sagt uses this model to transcribe recordings and meetings on Mac, iPhone and iPad. Everything runs on the device, and no audio leaves it.
Apache 2.0, the same as the original model.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo Selbyggen/nb-whisper-large-coreml ./model-folderNbAiLab_nb-whisper-large/TextDecoder.mlmodelc/weights/weight.bin 1.8 GBNbAiLab_nb-whisper-large/AudioEncoder.mlmodelc/weights/weight.bin 1.3 GBNbAiLab_nb-whisper-large/MelSpectrogram.mlmodelc/weights/weight.bin 373.4 kBNbAiLab_nb-whisper-large/TextDecoder.mlmodelc/coremldata.bin 0.7 kBNbAiLab_nb-whisper-large/AudioEncoder.mlmodelc/coremldata.bin 0.4 kBNbAiLab_nb-whisper-large/MelSpectrogram.mlmodelc/coremldata.bin 0.4 kBNbAiLab_nb-whisper-large/AudioEncoder.mlmodelc/analytics/coremldata.bin 0.2 kBNbAiLab_nb-whisper-large/MelSpectrogram.mlmodelc/analytics/coremldata.bin 0.2 kBNbAiLab_nb-whisper-large/TextDecoder.mlmodelc/analytics/coremldata.bin 0.2 kBNbAiLab/nb-whisper-large