asr_transducer_inference.py
Less than 1 minute
asr_transducer_inference.py
ASR Transducer Decoding
usage: asr_transducer_inference.py [-h] [--config CONFIG]
[--log_level {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET}]
--output_dir OUTPUT_DIR [--ngpu NGPU]
[--seed SEED]
[--dtype {float16,float32,float64}]
[--num_workers NUM_WORKERS]
--data_path_and_name_and_type
DATA_PATH_AND_NAME_AND_TYPE
[--key_file KEY_FILE]
[--allow_variable_data_keys ALLOW_VARIABLE_DATA_KEYS]
[--asr_train_config ASR_TRAIN_CONFIG]
[--asr_model_file ASR_MODEL_FILE]
[--lm_train_config LM_TRAIN_CONFIG]
[--lm_file LM_FILE] [--model_tag MODEL_TAG]
[--batch_size BATCH_SIZE] [--nbest NBEST]
[--beam_size BEAM_SIZE]
[--lm_weight LM_WEIGHT]
[--beam_search_config BEAM_SEARCH_CONFIG]
[--token_type {char,bpe,None}]
[--bpemodel BPEMODEL]
[--quantize_asr_model QUANTIZE_ASR_MODEL]
[--quantize_modules [QUANTIZE_MODULES ...]]
[--quantize_dtype {float16,qint8}]
[--streaming STREAMING]
[--decoding_window DECODING_WINDOW]
[--left_context LEFT_CONTEXT]
[--display_hypotheses DISPLAY_HYPOTHESES]