MCPcopy Create free account

hub / github.com/ASLP-lab/OSUM-Pangu / functions

Functions1,198 in github.com/ASLP-lab/OSUM-Pangu

Methodbatch_to_cache
Args: cache : [history] history: [bs, ...] Returns: new_ache : [[history_1], [history_2], [hi
wenet/transducer/predictor.py:436
Methodbeam_search
beam search Args: speech (torch.Tensor): (batch=1, max_len, feat_dim) speech_length (torch.Tensor): (batch, )
wenet/transducer/transducer.py:215
Methodcache_to_batch
(self, cache: List[List[torch.Tensor]])
wenet/transducer/predictor.py:36
Methodcache_to_batch
Args: cache : [[history_1], [history_2], [history3]...] Returns: new_caceh: [history], histo
wenet/transducer/predictor.py:276
Methodcache_to_batch
Args: cache : [[history_1], [history_2], [history3]...] Returns: new_caceh: [history], histo
wenet/transducer/predictor.py:423
Functioncausal_or_lookahead_mask
Create mask (B, T, T) with history or future or both, this is for causal or noncausal streaming encoder Args: mask (torch.Tensor):
wenet/utils/mask.py:307
Methodchange_max_tokens
(self, max_tokens)
patches/cumstom_stop_criteria.py:70
Functioncheck_txt_format
(s)
wenet/dataset/process/processor_tag_think.py:98
Functioncheck_txt_format
(s)
wenet/dataset/process/processor.py:93
Functioncheck_txt_format
(s)
wenet/dataset/process/processor_language_think.py:93
Functioncheck_txt_format
(s)
wenet/dataset/process/processor_tmp.py:92
Functioncheck_wav_format
(s)
wenet/dataset/process/processor_tag_think.py:90
Functioncheck_wav_format
(s)
wenet/dataset/process/processor.py:86
Functioncheck_wav_format
(s)
wenet/dataset/process/processor_language_think.py:86
Functioncheck_wav_format
(s)
wenet/dataset/process/processor_tmp.py:85
Functioncleanup
(proc, cmd)
wenet/dataset/kaldi_io.py:96
Functioncompute_fbank
Extract fbank Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor_tag_think.py:1126
Functioncompute_fbank
Extract fbank Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor.py:1096
Functioncompute_fbank
Extract fbank Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor_language_think.py:1061
Functioncompute_fbank
Extract fbank Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor_tmp.py:1248
Functioncompute_log_mel_spectrogram
Extract log mel spectrogram, modified from openai-whisper, see: - https://github.com/openai/whisper/blob/main/whisper/audio.py - http
wenet/dataset/process/processor_tag_think.py:1231
Functioncompute_log_mel_spectrogram
Extract log mel spectrogram, modified from openai-whisper, see: - https://github.com/openai/whisper/blob/main/whisper/audio.py - http
wenet/dataset/process/processor.py:1199
Functioncompute_log_mel_spectrogram
Extract log mel spectrogram, modified from openai-whisper, see: - https://github.com/openai/whisper/blob/main/whisper/audio.py - http
wenet/dataset/process/processor_language_think.py:1164
Functioncompute_log_mel_spectrogram
Extract log mel spectrogram, modified from openai-whisper, see: - https://github.com/openai/whisper/blob/main/whisper/audio.py - http
wenet/dataset/process/processor_tmp.py:1351
Functioncompute_mask_indices
( size: torch.Size, mask_prob: float, mask_length: int, min_masks: int = 0,
wenet/ssl/bestrq/mask.py:13
Functioncompute_mfcc
Extract mfcc Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor_tag_think.py:1159
Functioncompute_mfcc
Extract mfcc Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor.py:1129
Functioncompute_mfcc
Extract mfcc Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor_language_think.py:1094
Functioncompute_mfcc
Extract mfcc Args: data: Iterable[{key, wav, label, sample_rate}] Returns: Iterable[{key, feat, label}]
wenet/dataset/process/processor_tmp.py:1281
Functionconvert_numbers_in_string
(s)
common_utils/utils4infer.py:113
Functionconvert_to_wenet_yaml
(wenet_yaml_path: str)
wenet/ssl/w2vbert/convert_w2vbert_to_wenet_config_and_ckpt.py:8
Methoddecode
( self, methods: List[str], speech: torch.Tensor, speech_lengths: torch.Tensor
wenet/paraformer/paraformer.py:356
Functiondistort_chain
(x, funcs, rate=0.8)
wenet/dataset/wav_distortion.py:280
Functiondo_compute_log_mel_spectrogram
(waveform, n_fft=400, hop_length=160, nu
wenet/dataset/process/processor_tag_think.py:1197
Functiondo_compute_log_mel_spectrogram
(waveform,n_fft=400, hop_length=160, num_mel_b
wenet/dataset/process/processor.py:1167
Functiondo_compute_log_mel_spectrogram
(waveform,n_fft=400, hop_length=160, num_mel_b
wenet/dataset/process/processor_language_think.py:1132
Functiondo_compute_log_mel_spectrogram
(waveform,n_fft=400, hop_length=160, num_mel_b
wenet/dataset/process/processor_tmp.py:1319
Functiondo_convert_num2text
将数字字符串转换为中文数字 Args: num_str: 数字字符串 Returns: 转换后的中文数字字符串
wenet/llm_asr/utils4llmasr.py:401
Functiondo_format_shard_manifest4one
(input_shards_path, tmp_file_path=None)
common_utils/utils4infer.py:80
Functiondo_get_fake_file
()
wenet/dataset/dataset.py:325
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_ASR.py:97
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_VED.py:97
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_SRWT.py:97
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_STTC.py:105
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_SAP.py:97
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_SSR.py:97
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_SGC.py:97
Functiondo_s2s
(model, input_wav_path)
infer_code/infer_SER.py:97
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_ASR.py:109
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_VED.py:109
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_SRWT.py:109
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_STTC.py:117
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_SAP.py:109
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_SSR.py:109
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_SGC.py:109
Functiondo_s2s_think
(model, input_wav_path)
infer_code/infer_SER.py:109
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_ASR.py:50
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_VED.py:50
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_SRWT.py:50
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_SAP.py:50
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_SSR.py:50
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_SGC.py:50
Functiondo_s2t_chat_no_think
(model, input_wav_path)
infer_code/infer_SER.py:50
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_ASR.py:62
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_VED.py:62
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_SRWT.py:62
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_STTC.py:70
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_SAP.py:62
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_SSR.py:62
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_SGC.py:62
Functiondo_s2t_chat_think
(model, input_wav_path)
infer_code/infer_SER.py:62
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_ASR.py:74
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_VED.py:74
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_SRWT.py:74
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_STTC.py:82
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_SAP.py:74
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_SSR.py:74
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_SGC.py:74
Functiondo_t2s
(model, text_for_tts)
infer_code/infer_SER.py:74
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_ASR.py:86
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_VED.py:86
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_SRWT.py:86
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_STTC.py:94
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_SAP.py:86
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_SSR.py:86
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_SGC.py:86
Functiondo_t2t_chat
(model, question_txt)
infer_code/infer_SER.py:86
Methodespnet_initialization_fn
(self)
wenet/branchformer/cgmlp.py:79
Functionexport_offline_encoder
(model, configs, args, logger, encoder_onnx_path)
wenet/bin/export_onnx_gpu.py:746
Functionexport_online_encoder
(model, configs, args, logger, encoder_onnx_path)
wenet/bin/export_onnx_gpu.py:830
Functionextract_all_contents
(s)
wenet/dataset/process/processor_tag_think.py:478
Functionextract_all_contents
(s)
wenet/dataset/process/processor.py:469
Functionextract_all_contents
(s)
wenet/dataset/process/processor_language_think.py:469
Functionextract_all_contents
(s)
wenet/dataset/process/processor_tmp.py:432
Functionfence_distortion
(x)
wenet/dataset/wav_distortion.py:173
Functionfilter
Filter sample according to feature and label length Inplace operation. Args:: data: Iterable[{key, wav, label, sample_ra
wenet/dataset/process/processor_tag_think.py:898
Functionfilter
Filter sample according to feature and label length Inplace operation. Args:: data: Iterable[{key, wav, label, sample_ra
wenet/dataset/process/processor.py:870
Functionfilter
Filter sample according to feature and label length Inplace operation. Args:: data: Iterable[{key, wav, label, sample_ra
wenet/dataset/process/processor_language_think.py:835
Functionfilter
Filter sample according to feature and label length Inplace operation. Args:: data: Iterable[{key, wav, label, sample_ra
wenet/dataset/process/processor_tmp.py:1022
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
patches/modelling_qwen2_infer_gpu.py:71
← previousnext →801–900 of 1,198, ranked by callers