Created
March 23, 2021 21:04
-
-
Save zilunpeng/7bd293d9d8266ef16c57c0d2b22a6b5d to your computer and use it in GitHub Desktop.
Create a Viterbi decoder. Code below is part of the wav2vec 2.0 inference notebook (https://git.io/JYeKX).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decoder = W2lViterbiDecoder(target_dict) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment