Skip to content

Commit

Permalink
Update README to include whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Nov 8, 2023
1 parent 01aed93 commit 667e5e1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ please see <https://github.com/csukuangfj/kaldi-native-fbank>
<th>Usage</th>
</tr>

<tr>
<td>Fbank for <a href="https://github.com/openai/whisper">Whisper</a></td>
<td><code>kaldifeat.WhisperFbankOptions</code></td>
<td><code>kaldifeat.WhisperFbank</code></td>
<td>
<pre lang="python">
opts = kaldifeat.WhisperFbankOptions()
opts.device = torch.device('cuda', 0)
fbank = kaldifeat.WhisperFbank(opts)
features = fbank(wave)
</pre>
</td>
</tr>

<tr>
<td>FBANK</td>
<td><code>kaldifeat.FbankOptions</code></td>
Expand Down

0 comments on commit 667e5e1

Please sign in to comment.