st_inference.py
Less than 1 minute
st_inference.py
ST Decoding
usage: st_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]
[--st_train_config ST_TRAIN_CONFIG]
[--st_model_file ST_MODEL_FILE]
[--lm_train_config LM_TRAIN_CONFIG]
[--src_lm_train_config SRC_LM_TRAIN_CONFIG]
[--lm_file LM_FILE] [--src_lm_file SRC_LM_FILE]
[--word_lm_train_config WORD_LM_TRAIN_CONFIG]
[--src_word_lm_train_config SRC_WORD_LM_TRAIN_CONFIG]
[--word_lm_file WORD_LM_FILE]
[--src_word_lm_file SRC_WORD_LM_FILE]
[--ngram_file NGRAM_FILE]
[--src_ngram_file SRC_NGRAM_FILE]
[--model_tag MODEL_TAG] [--enh_s2t_task ENH_S2T_TASK]
[--batch_size BATCH_SIZE] [--nbest NBEST]
[--asr_nbest ASR_NBEST] [--beam_size BEAM_SIZE]
[--asr_beam_size ASR_BEAM_SIZE] [--penalty PENALTY]
[--asr_penalty ASR_PENALTY] [--maxlenratio MAXLENRATIO]
[--asr_maxlenratio ASR_MAXLENRATIO]
[--minlenratio MINLENRATIO]
[--asr_minlenratio ASR_MINLENRATIO]
[--lm_weight LM_WEIGHT] [--asr_lm_weight ASR_LM_WEIGHT]
[--ngram_weight NGRAM_WEIGHT]
[--asr_ngram_weight ASR_NGRAM_WEIGHT]
[--ctc_weight CTC_WEIGHT]
[--asr_ctc_weight ASR_CTC_WEIGHT]
[--transducer_conf TRANSDUCER_CONF]
[--token_type {char,bpe,None}]
[--src_token_type {char,bpe,None}]
[--bpemodel BPEMODEL] [--src_bpemodel SRC_BPEMODEL]
[--ctc_greedy CTC_GREEDY]
[--hugging_face_decoder HUGGING_FACE_DECODER]
[--hugging_face_decoder_max_length HUGGING_FACE_DECODER_MAX_LENGTH]
[--normalize_length NORMALIZE_LENGTH]