WhisperKit
WhisperKit copied to clipboard
Timestamp Rules Logits Filter
Timestamp rules are helpful to more consistently find reliable timestamps during decoding.
Important note: We have already brought over some of this logic into the SegmentSeeker
which runs at the end of a full decode loop to generate the segments. This feature will need to detangle any repeated logic between them.
References:
Openai implementation: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab/whisper/decoding.py#L441-L505
I can take it