OpenNMT / OpenNMT/CTranslate2

faster-whisper inferencing problem

Open
#1,673 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
4.7k
Forks
536
Avg merge
12h 12m
Merged PRs (30d)
4

Description

Hello, how are you?
I am building faster-whisper windows POC by ctranslate2.
And i created ctranslate2::models::Whisper object whisperpool.
and write the code such as:
std::vector<std::futurectranslate2::models::WhisperGenerationResult> results;
results = whisper_pool.generate(features, prompts, whisper_options);
At this time, how can i get the result string from results object.?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ctranslate2::models::Whisper::generate call and the WhisperGenerationResult type named in the issue. Inspect the result API and determine how the generated text is exposed for the futures stored in results; the issue is complete when the supported way to obtain the result string is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.