LocalAI.Transcriber 0.7.2

Suggested Alternatives

LMSupply.Transcriber

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package LocalAI.Transcriber --version 0.7.2
                    
NuGet\Install-Package LocalAI.Transcriber -Version 0.7.2
                    
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="LocalAI.Transcriber" Version="0.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalAI.Transcriber" Version="0.7.2" />
                    
Directory.Packages.props
<PackageReference Include="LocalAI.Transcriber" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LocalAI.Transcriber --version 0.7.2
                    
#r "nuget: LocalAI.Transcriber, 0.7.2"
                    
#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.
#:package LocalAI.Transcriber@0.7.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LocalAI.Transcriber&version=0.7.2
                    
Install as a Cake Addin
#tool nuget:?package=LocalAI.Transcriber&version=0.7.2
                    
Install as a Cake Tool

LocalAI.Transcriber

Local speech-to-text transcription using Whisper models.

Features

  • Zero-config: Models download automatically from HuggingFace
  • GPU Acceleration: CUDA, DirectML (Windows), CoreML (macOS)
  • MIT Licensed: OpenAI Whisper models
  • 99+ Languages: Auto-detection and multilingual support

Quick Start

using LocalAI.Transcriber;

// Load the default model
await using var transcriber = await LocalTranscriber.LoadAsync("default");

// Transcribe audio
var result = await transcriber.TranscribeAsync("audio.wav");

Console.WriteLine(result.Text);
Console.WriteLine($"Language: {result.Language}");
Console.WriteLine($"Duration: {result.DurationSeconds}s");

Available Models

Alias Model Size WER Description
fast Whisper Tiny ~150MB 7.6% Ultra-fast
default Whisper Base ~290MB 5.0% Balanced
quality Whisper Small ~970MB 3.4% Higher accuracy
medium Whisper Medium ~3GB 2.9% High quality
large Whisper Large V3 ~6GB 2.5% Highest accuracy
english Whisper Base.en ~290MB 4.3% English optimized

GPU Acceleration

# NVIDIA GPU
dotnet add package Microsoft.ML.OnnxRuntime.Gpu

# Windows (AMD/Intel/NVIDIA)
dotnet add package Microsoft.ML.OnnxRuntime.DirectML
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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