ManySpeech.FireRedAsr
1.0.4
dotnet add package ManySpeech.FireRedAsr --version 1.0.4
NuGet\Install-Package ManySpeech.FireRedAsr -Version 1.0.4
<PackageReference Include="ManySpeech.FireRedAsr" Version="1.0.4" />
<PackageVersion Include="ManySpeech.FireRedAsr" Version="1.0.4" />
<PackageReference Include="ManySpeech.FireRedAsr" />
paket add ManySpeech.FireRedAsr --version 1.0.4
#r "nuget: ManySpeech.FireRedAsr, 1.0.4"
#:package ManySpeech.FireRedAsr@1.0.4
#addin nuget:?package=ManySpeech.FireRedAsr&version=1.0.4
#tool nuget:?package=ManySpeech.FireRedAsr&version=1.0.4
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!
Related Projects:
- 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
Product | Versions 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. |
-
.NETCoreApp 3.1
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
- SharpZipLib (>= 1.4.2)
- System.Text.Json (>= 9.0.8)
-
.NETFramework 4.6.1
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
- SharpZipLib (>= 1.4.2)
- System.Text.Json (>= 9.0.8)
-
.NETFramework 4.7.2
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
- SharpZipLib (>= 1.4.2)
- System.Text.Json (>= 9.0.8)
-
.NETFramework 4.8
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
- SharpZipLib (>= 1.4.2)
- System.Text.Json (>= 9.0.8)
-
.NETStandard 2.0
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
- SharpZipLib (>= 1.4.2)
- System.Text.Json (>= 9.0.8)
-
.NETStandard 2.1
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
- SharpZipLib (>= 1.4.2)
- System.Text.Json (>= 9.0.8)
-
net6.0
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
-
net8.0
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
-
net8.0-android34.0
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
-
net8.0-ios18.0
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
-
net8.0-maccatalyst18.0
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
-
net8.0-windows10.0.19041
- ManySpeech.SpeechFeatures (>= 1.1.7)
- Microsoft.ML.OnnxRuntime (>= 1.22.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.