Skip to content

轉錄幻覺過濾 Phase 3:decode-param knobs (WhisperKit) #101

Description

@kiki830621

Problem / Motivation

Phase A (#98) filters hallucinations after decode (denylist post-processing). A complementary approach is to suppress them at the source via WhisperKit decode parameters, so fewer hallucinations are generated in the first place.

Type

feature

Expected

Expose decode-param knobs in makeDecodeOptions (WhisperKit engine): noSpeechThreshold, compressionRatioThreshold, logProbThreshold, and possibly chunkingStrategy. These currently take WhisperKit defaults.

Notes / Caveats

  • WhisperKit-only — these knobs don't apply to Parakeet / whisper.cpp / other backends, so this is complementary to the backend-agnostic post-decode filter (轉錄後過濾 Whisper 常見幻覺(no-speech 段的罐頭字幕 / 重複殘影) #98 Phase A + Phase 2), not a replacement.
  • Can't target a specific known string the way the denylist can; it reduces hallucination rate generically.
  • Lower priority than Phase 2 (confidence-gated post-decode gate helps all Whisper-family backends; decode-params help only WhisperKit).

Source: deferred from #98 (Phase 3), filed at /idd-close time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions