huggingface / huggingface/candle

Word Timestamp for whisper

Open
#3,013 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin with the Candle Whisper example and compare its segment-timestamp retrieval with the Python transcription call using word_timestamp=True and the base model. Trace the transcription entry point and define done as a documented or working way to obtain word-level timestamps.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.