Commit fc72293
fix: restore default streaming params and use minimal silence flush
- QwenASRRecognizer: revert chunk_sec/rollback/unfixed_chunks to C API
defaults (2.0s/5/2) — custom values (1.5/3/1) caused decoder
degeneracy on long audio
- ASREngine.flush: push 0.1s silence + finalize instead of reading
stable+unfixed directly, ensuring rollback tokens are committed
Streaming CER improved from 0.0968 to 0.0519 on 67-sample benchmark.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 431aa9e commit fc72293
2 files changed
Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
0 commit comments