WhisperNet 1.12.0

.NET 6.0
dotnet add package WhisperNet --version 1.12.0
NuGet\Install-Package WhisperNet -Version 1.12.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WhisperNet" Version="1.12.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WhisperNet --version 1.12.0
#r "nuget: WhisperNet, 1.12.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WhisperNet as a Cake Addin
#addin nuget:?package=WhisperNet&version=1.12.0

// Install WhisperNet as a Cake Tool
#tool nuget:?package=WhisperNet&version=1.12.0

This library implements high-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model.

The library requires a hardware GPU which supports Direct3D 11.0, a 64-bit Windows OS, only works within 64-bit processes, and requires a 64 bit CPU which supports AVX1 and F16C extensions.

The main entry point of the llibrary is Whisper.Library static class. Call loadModel function from that class to load an ML model from a binary file.

These binary files are available for free download on Hugging Face. I recommend ggml-medium.bin (1.42GB in size, but that web page says 1.53 GB), because I’ve mostly tested the software with that model. Compressed models in ZIP format with mlmodelc in the file name are not supported.

Once the model is loaded, create a context by calling createContext extension method, then use that object to transcribe or translate multimedia files or realtime audio captured from microphones.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.12.0 618 7/22/2023
1.11.0 704 4/3/2023
1.10.1 279 3/20/2023
1.10.0 202 3/18/2023
1.9.0 208 3/14/2023
1.8.1 219 3/10/2023
1.8.0 190 3/10/2023
1.7.0 374 2/7/2023
1.6.0 266 1/29/2023
1.5.0 254 1/24/2023
1.4.0 250 1/20/2023
1.3.0 238 1/19/2023
1.2.0 221 1/18/2023
1.1.0 234 1/16/2023
1.0.0 237 1/16/2023

Updated models source URL in the documentation.
Reliability enhancement, microphone capture less likely to transition to “Stalled” state and discard the audio.