fix(asr): 过滤高置信度重复循环字幕 - #407
Open
nightt5879 wants to merge 1 commit into
Open
Conversation
Owner
|
感谢贡献,也仔细看了实现和测试。 我对 #402 的理解是:根因在于 ASR 模型幻觉——模型在有声段也可能听错,并进入循环输出;用户截图里「转发 / 打赏 / 周末愉快」这类滑动循环就是典型表现。 当前 PR 的思路是在写 SRT 前做 重复循环后处理,对「前面正常、后面无限刷屏」的场景能减轻文件被循环淹没的问题;但若某段时间 本身有正常说话内容,却被模型幻觉成错误文本,后处理 无法恢复真实内容,只能从「很多条重复」变成「少量错误字幕**,不能从根上解决识别准确性问题。 因此我倾向于把这项能力定位为 症状缓解,而非对 #402 的根治方案。现阶段我会 先保持观望,继续观察更多真实样本和上游参数/引擎侧能否更好抑制幻觉,之后再决定是否合并以及如何定位(例如是否默认开启、文档如何说明边界)。 再次感谢 PR 的工作量和完整测试。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
安全边界
默认、
accurate和balanced路径严格不处理。只有用户明确选择“最干净最稳”或在自定义档开启reduceRepetition时才启用护栏,避免合法歌词、强调和滚动式真实内容被静默删除。中英文提示已同步说明。验证
npm run test:asr-repetition-guard:34/34npm run test:engines:715/715npm run check:i18ngit diff --checknpm run build:Renderer 与 Main production build 通过Closes #402