uasr_inference_k2.py
Less than 1 minute
uasr_inference_k2.py
UASR Decoding
usage: uasr_inference_k2.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]
[--uasr_train_config UASR_TRAIN_CONFIG]
[--uasr_model_file UASR_MODEL_FILE]
[--lm_train_config LM_TRAIN_CONFIG]
[--lm_file LM_FILE]
[--word_lm_train_config WORD_LM_TRAIN_CONFIG]
[--word_lm_file WORD_LM_FILE]
[--model_tag MODEL_TAG] [--batch_size BATCH_SIZE]
[--nbest NBEST] [--beam_size BEAM_SIZE]
[--penalty PENALTY] [--maxlenratio MAXLENRATIO]
[--minlenratio MINLENRATIO]
[--ctc_weight CTC_WEIGHT] [--lm_weight LM_WEIGHT]
[--streaming STREAMING] [--token_type {phn,word}]
[--bpemodel BPEMODEL]
[--is_ctc_decoding IS_CTC_DECODING]
[--use_nbest_rescoring USE_NBEST_RESCORING]
[--num_paths NUM_PATHS]
[--nbest_batch_size NBEST_BATCH_SIZE]
[--nll_batch_size NLL_BATCH_SIZE]
[--decoding_graph DECODING_GRAPH]
[--word_token_list WORD_TOKEN_LIST]
[--k2_config K2_CONFIG]