OpenASR commited on
Commit
dc176bb
Β·
verified Β·
0 Parent(s):

publish firered-aed-l-v2 OpenASR packs

Browse files
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ *.oasr filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: FireRedTeam/FireRedASR2-AED
4
+ pipeline_tag: automatic-speech-recognition
5
+ library_name: openasr
6
+ tags:
7
+ - automatic-speech-recognition
8
+ - speech-to-text
9
+ - openasr
10
+ - oasr
11
+ - firered-aed-l-v2
12
+ ---
13
+
14
+ <div align="center">
15
+
16
+ # FireRedASR2 AED-L Β· OpenASR
17
+
18
+ **FireRedTeam's Mandarin-first bilingual ASR β€” attention encoder-decoder tuned for state-of-the-art Chinese and dialect accuracy**
19
+
20
+ [![License](https://img.shields.io/badge/license-Apache--2.0-2563eb.svg)](https://huggingface.co/FireRedTeam/FireRedASR2-AED/blob/main/README.md)
21
+ [![Format](https://img.shields.io/badge/format-.oasr-7c3aed.svg)](https://github.com/QuintinShaw/openasr)
22
+ [![Runtime](https://img.shields.io/badge/runtime-OpenASR-111827.svg)](https://openasr.org)
23
+ [![Base model](https://img.shields.io/badge/base-FireRedASR2--AED-f59e0b.svg)](https://huggingface.co/FireRedTeam/FireRedASR2-AED)
24
+
25
+ Native speech-to-text in the **[OpenASR](https://github.com/QuintinShaw/openasr)** runtime β€”
26
+ engineered for peak performance on CPU & GPU, **no Python at inference time**.
27
+
28
+ </div>
29
+
30
+ ---
31
+
32
+ ## ✨ Highlights
33
+
34
+ - πŸ₯‡ **State-of-the-art Mandarin accuracy** β€” 3.05% average CER across four public Mandarin benchmarks, with 0.57% CER on aishell1 (arXiv:2603.10420 Table 2)
35
+ - πŸ—£οΈ **Strong dialect coverage** β€” 11.67% average CER across 19 public Chinese dialect/accent benchmarks, beating Doubao-ASR (15.39%) and matching Qwen3-ASR (11.85%) on the paper's own comparison table
36
+ - πŸ‡¨πŸ‡³πŸ‡¬πŸ‡§ **Bilingual Mandarin + English** β€” one 1.1B checkpoint decodes both languages plus code-switching, no language flag needed
37
+ - 🎀 **Singing-lyrics robustness** β€” the paper reports 1.17% CER on a singing-lyrics benchmark, alongside the speech-recognition numbers above
38
+ - πŸ—οΈ **Conformer encoder + Transformer decoder** β€” an attention-based encoder-decoder, architecturally identical to FireRedASR-AED-L, retrained on a larger vocabulary
39
+ - πŸ¦€ **Native in OpenASR** β€” `.oasr` packs run with no Python at inference, engineered for peak performance on CPU & GPU
40
+
41
+ ## πŸš€ Quickstart
42
+
43
+ ```bash
44
+ # 1. Install the OpenASR CLI Β· https://openasr.org
45
+ # 2. Pull a build (pick a quant β€” see the table below)
46
+ openasr pull firered-aed-l-v2:q4
47
+
48
+ # 3. Transcribe
49
+ openasr transcribe audio.wav --model firered-aed-l-v2
50
+ ```
51
+
52
+ All builds for this model:
53
+
54
+ ```bash
55
+ openasr pull firered-aed-l-v2:fp16
56
+ openasr pull firered-aed-l-v2:q8
57
+ openasr pull firered-aed-l-v2:q4
58
+ ```
59
+
60
+ ## πŸ“¦ Available builds
61
+
62
+ | Quant | File (`.oasr`) | Size | RAM peak | RTF Β· M1 CPU | RTF Β· M1 GPU | JFK Ξ”WER vs fp16 |
63
+ |:------|:---------------|-----:|---------:|-------------:|-------------:|-----------------:|
64
+ | fp16 | `firered-aed-l-v2-fp16.oasr` | 2.35 GB | 4.74 GB | 0.40Γ— | 0.79Γ— | 0.0% |
65
+ | q8_0 | `firered-aed-l-v2-q8_0.oasr` | 1.28 GB | 4.35 GB | 0.36Γ— | 0.35Γ— | 0.0% |
66
+ | q4_k | `firered-aed-l-v2-q4_k.oasr` | 709 MB | 4.10 GB | 0.38Γ— | 0.31Γ— | 0.0% |
67
+
68
+ <sub>RTF = real-time factor on the fixed 11s JFK clip (**lower is faster**); RAM peak measured per pack
69
+ in an isolated subprocess. JFK Ξ”WER compares each quantized build's JFK transcript to this model's
70
+ fp16 JFK transcript, so it measures quantization drift rather than absolute recognition accuracy.
71
+ **q4_k** is the recommended default β€” near-reference quality at a fraction of the
72
+ footprint.</sub>
73
+
74
+ ## 🧠 About FireRedASR2 AED-L
75
+
76
+ FireRedASR2-AED is the attention-based encoder-decoder member of **FireRedASR2**, the successor
77
+ to FireRedTeam's open-source industrial-grade **FireRedASR** speech-recognition family, released
78
+ as part of the **FireRedASR2S** all-in-one ASR system. It pairs a **Conformer encoder** with a
79
+ **Transformer decoder** at 1.1B parameters -- architecturally byte-identical to the original
80
+ FireRedASR-AED-L -- retrained on a larger token vocabulary. The FireRedASR2S technical report
81
+ (arXiv:2603.10420, Table 2) reports **3.05% average Character Error Rate** across four public
82
+ Mandarin benchmarks (aishell1 at 0.57%), **11.67% average CER** across 19 public Chinese
83
+ dialect/accent benchmarks, and **1.17% CER** on a singing-lyrics benchmark, outperforming
84
+ Doubao-ASR and matching Qwen3-ASR on the paper's own comparison table. It is bilingual (Mandarin
85
+ Chinese and English, including code-switching). This OpenASR repo repackages the weights as
86
+ `.oasr` packs that run natively in the OpenASR runtime -- no Python at inference time, all
87
+ decoding local. The **q4_k** build is the recommended default for everyday use; **q8_0** trades
88
+ some size for closer fp16 fidelity and **fp16** is for maximum fidelity or verification. Note:
89
+ FireRedTeam also publishes a larger **FireRedASR2-LLM** (Encoder-Adapter-LLM, 2.89%/11.55% avg
90
+ CER) variant that this repo does not distribute -- the numbers above are for this AED checkpoint
91
+ only, and should not be conflated with the original (v1) FireRedASR-AED-L's 3.18%/0.55% figures,
92
+ which come from a different training run and benchmark protocol.
93
+
94
+ ## βš™οΈ How these packs were made
95
+
96
+ Converted from [FireRedTeam/FireRedASR2-AED](https://huggingface.co/FireRedTeam/FireRedASR2-AED) with the OpenASR importer:
97
+
98
+ ```bash
99
+ openasr model-pack import firered-aed <src> <out>.oasr \
100
+ --package-id firered-aed-l-v2 --quantization {fp16,q8-0,q4-k}
101
+ ```
102
+
103
+ The `.oasr` container is GGUF-backed; packs use zero-copy mmap weight binding and graph
104
+ buffer reuse to keep peak memory low.
105
+
106
+ ## βš–οΈ License
107
+
108
+ These packs **inherit the upstream model's license: Apache-2.0**
109
+ ([source](https://huggingface.co/FireRedTeam/FireRedASR2-AED/blob/main/README.md)). OpenASR packaging retains the upstream copyright and
110
+ NOTICE; the only modifications are format conversion and quantization.
111
+
112
+ ## πŸ™ Acknowledgements
113
+
114
+ This pack is a redistribution of **FireRedASR2-AED**, created and released by **FireRedTeam**
115
+ ([FireRedTeam/FireRedASR2-AED](https://huggingface.co/FireRedTeam/FireRedASR2-AED),
116
+ [FireRedTeam/FireRedASR2S](https://github.com/FireRedTeam/FireRedASR2S)). All credit for the
117
+ architecture, training, and weights belongs to FireRedTeam; the license is inherited from and
118
+ identical to the upstream model (**Apache-2.0**, as declared on the upstream model card). Thank
119
+ you to FireRedTeam for releasing their work openly. OpenASR only performs format conversion,
120
+ quantization, runtime verification, and local-inference adaptation.
121
+
122
+ ## πŸ”— Links
123
+
124
+ - πŸ¦€ **OpenASR** β€” <https://github.com/QuintinShaw/openasr>
125
+ - 🌐 **Website** β€” <https://openasr.org>
126
+ - πŸ€— **Upstream model** β€” [FireRedTeam/FireRedASR2-AED](https://huggingface.co/FireRedTeam/FireRedASR2-AED)
firered-aed-l-v2-fp16.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da280b2280c52c4f5034a91f7e21c93731e4a26d060d04d6bc7421f396787306
3
+ size 2345595360
firered-aed-l-v2-q4_k.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e262cfdc8cda5a5bc72c6299ddb06c2940e37c679e554566199b9cf0694b9388
3
+ size 708540896
firered-aed-l-v2-q8_0.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aab62beffd6e64ce7d1d946e1c0275abc67f200d3476393af8ba8fa9d9c1f9a7
3
+ size 1277697376