candle icon indicating copy to clipboard operation
candle copied to clipboard

Word Timestamp for whisper

Open bp7968h opened this issue 10 months ago • 2 comments

Hi is there no way to get word timestamp using the whisper in candle?

The example successfully demonstrates the retrieval of segment timestamp but how would one retrieve word timestamp.

When I look into python code, they seem to pass this word_timestamp=True argument while transcribing and get the result with base model.

Is there any work around or can someone point me towards how to achieve this please.

bp7968h avatar Jun 29 '25 01:06 bp7968h

See https://github.com/huggingface/candle/pull/2728 which adds the dtw timestamps. I closed it because it seemed a bit unrelated to the example here.

nicksenger avatar Jun 29 '25 13:06 nicksenger

Thank you very much, In my opinion , this would be a great addition though, you cant really do much with just segment timestamps.

bp7968h avatar Jun 29 '25 23:06 bp7968h