docs: add potential Whisper optimizations to backlog in history.md
This commit is contained in:
@@ -117,3 +117,12 @@ The project now features a high-performance, Apple Silicon-optimized pipeline th
|
||||
- **Stereo Channel Selection:** Added `--channels` and `--pick-channel [0|1]` flags. This allows the tool to pull a specific audio channel (e.g., English on Left, Translation on Right) from a stereo feed, ignoring the other.
|
||||
- **Language Filtering (`--filter-lang`):** Integrated a mechanism to discard any segment where the detected language does not match the hardcoded `--lang` parameter.
|
||||
- **Outcome:** Enabled the ability to "focus" the transcription engine on a single speaker even when the audio input is a complex mix.
|
||||
|
||||
## Phase 15: Potential Future Optimizations (Backlog)
|
||||
- **Decoding Parameters:**
|
||||
- **Temperature Fallback:** Use a tuple `(0.0, 0.2, 0.4, 0.6, 0.8, 1.0)` to allow Whisper to re-try failed transcriptions with higher randomness (crucial for music/singing).
|
||||
- **Beam Size Tuning:** Set `beam_size=1` for Draft Mode (3x faster) and `beam_size=5` for final segments (higher accuracy).
|
||||
- **Token Suppression:** Native suppression of music symbols or common hallucination tokens at the decoder level.
|
||||
- **Heuristic Thresholds:** Utilize `logprob_threshold` (confidence) and `compression_ratio_threshold` (repetition) to programmatically identify and discard bad transcriptions before they reach the user.
|
||||
- **Structural Features:**
|
||||
- **Word-Level Timestamps:** Enable `word_timestamps=True` to provide granular timing data for front-end caption highlighting.
|
||||
|
||||
Reference in New Issue
Block a user