You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 possiblychunkingStrategy. These currently take WhisperKit defaults.Notes / Caveats
Source: deferred from #98 (Phase 3), filed at /idd-close time.