ManySpeech.FireRedAsr 1.0.4

dotnet add package ManySpeech.FireRedAsr --version 1.0.4
                    
NuGet\Install-Package ManySpeech.FireRedAsr -Version 1.0.4
                    
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="ManySpeech.FireRedAsr" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ManySpeech.FireRedAsr" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="ManySpeech.FireRedAsr" />
                    
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 ManySpeech.FireRedAsr --version 1.0.4
                    
#r "nuget: ManySpeech.FireRedAsr, 1.0.4"
                    
#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 ManySpeech.FireRedAsr@1.0.4
                    
#: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=ManySpeech.FireRedAsr&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=ManySpeech.FireRedAsr&version=1.0.4
                    
Install as a Cake Tool

FireRedAsr

FireRedAsr is a C# library for decoding the FireRedASR AED-L model, used in speech recognition (ASR).

Introduction:

FireRedAsr is a speech recognition (ASR) library developed based on C#. Boasting excellent compatibility, this library supports framework versions such as .NET 4.6.1+ and .NET 6.0+. It not only focuses on efficiently performing speech recognition tasks but also features outstanding cross-platform capabilities, supporting compilation and invocation on multiple platforms including Windows, Linux, Android, macOS, and iOS, making it widely adaptable to various scenarios.

The core-dependent FireRedASR-AED model is designed to balance high performance and computational efficiency. It adopts an attention-based encoder-decoder (AED) architecture and can serve as an efficient speech representation module in large language model (LLM)-based speech models, providing stable and high-quality technical support for speech recognition tasks.

Supported Models (ONNX)
Model Name Type Supported Languages Download Link
fireredasr-aed-large-zh-en-onnx-offline-20250124 Non-streaming Chinese, English modelscope
How to Use
1. Clone the project source code
cd /path/to
git clone https://github.com/manyeyes/FireRedASR.git
2. Download the model from the above list to the directory: /path/to/FireRedASR/FireRedASR.Examples
cd /path/to/FireRedASR/FireRedASR.Examples
git clone https://www.modelscope.cn/manyeyes/[model name].git
3. Load the project using VS2022 (or other IDEs)
4. Set the files in the model directory to: Copy to Output Directory → Copy if newer
5. Modify the code in the example: string modelName = [model directory name]
6. Run the project
7. How to Invoke

Refer to the sample code in FireRedAsrExamples.cs

8. Running Results
朱立南在上市见面会上表示

这是第一种第二种叫呃与always always什么意思啊

好首先说一下刚才这个经理说完了这个销售问题咱再说一下咱们的商场问题首先咱们商场上半年业这个先各部门儿汇报一下就是业绩

elapsed_milliseconds:4391.234375
total_duration:21015.0625
rtf:0.2089565222563578
Hello, World!
  • Speech endpoint detection, solving the problem of reasonable segmentation of long audio. Project address: AliFsmnVad
  • Text punctuation prediction, solving the problem of missing punctuation in recognition results. Project address: AliCTTransformerPunc
Other Instructions:

Test case: FireRedASR.Examples. Test CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 2.59 GHz Supported platforms: Windows 7 SP1 or later, macOS 10.13 (High Sierra) or later, iOS, etc., Linux distributions (specific dependencies are required, see the list of Linux distributions supported by .NET 6), Android (Android 5.0 (API 21) or later).

Reference

[1] https://github.com/FireRedTeam/FireRedASR

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst18.0 is compatible.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows10.0.19041 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
1.0.4 196 8/28/2025
1.0.3 146 8/20/2025
1.0.2 119 8/17/2025
1.0.1 147 8/12/2025
1.0.0 144 8/11/2025