Fix export for pruned_stateless_emformer_rnnt2

This commit is contained in:
Fangjun Kuang 2024-01-26 16:39:12 +08:00
parent 7a4d8c9c1d
commit 283227c0c5

View File

@ -159,6 +159,7 @@ def main():
# Load id of the <blk> token and the vocab size
params.blank_id = token_table["<blk>"]
params.unk_id = token_table["<unk>"]
params.vocab_size = num_tokens(token_table) + 1 # +1 for <blk>
logging.info(params)