Skip to content

Fine-tuning Whisper with timestamp tokens #620

Answered by jongwook
melaniezhang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the tokenizer should have exactly 1501 tokens starting with tokenizer.timestamp_begin which corresponds to <|0.0|> and tokenizer.timestamp_begin + 1500 corresponding to <|30.0|>, with an interval of 0.02 seconds (please note these are just a notation for convenience used by decode_with_timestamps() and not included in the tokenizer as special tokens`). It appears that your timestamp tokens are quite above this range, and fine-tuning should work if you can adjust them to be under the 30.0-second mark!

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ehsantaati
Comment options

@dongrixinyu
Comment options

Answer selected by jongwook
Comment options

You must be logged in to vote
2 replies
@jongwook
Comment options

@kouohhashi
Comment options

Comment options

You must be logged in to vote
1 reply
@jongwook
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants