MCPcopy Create free account

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

Functions1,852 in github.com/ASLP-lab/OSUM

Functionrecord_gradient_hook
(grad)
OSUM/wenet/finetune/lora/utils.py:103
Methodrel_shift
Compute relative positinal encoding. Args: x (torch.Tensor): Input tensor (batch, time, size). zero_triu (bool): If tr
OSUM-EChat/wenet/transformer/attention.py:338
Methodrel_shift
Compute relative positinal encoding. Args: x (torch.Tensor): Input tensor (batch, time, size). zero_triu (bool): If tr
OSUM/wenet/efficient_conformer/attention.py:56
Methodrel_shift
Compute relative positinal encoding. Args: x (torch.Tensor): Input tensor (batch, time, size). zero_triu (bool): If tr
OSUM/wenet/transformer/attention.py:338
Methodremove_weight_norm
(self)
OSUM-EChat/tts/cosyvoice/hifigan/generator.py:320
Functionreplace_duplicates_with_blank
(hyp: List[int], blank_id: int = 0)
OSUM-EChat/wenet/utils/ctc_utils.py:36
Functionreplace_func
(match)
OSUM-EChat/common_utils/utils4infer.py:117
Functionresample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:204
Functionresample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/tts/cosyvoice/dataset/processor.py:111
Functionresample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1007
Functionresample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/wenet/dataset/process/processor.py:1035
Functionresample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/wenet/dataset/process/processor_language_think.py:921
Functionresample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM/wenet/dataset/process/processor.py:369
Methodright_context
Export interface for c++ call, return right_context of the model
OSUM-EChat/wenet/transformer/asr_model.py:396
Functionrun
(prog)
OSUM/tools/ssh_launcher.py:115
Functionsave_result
(if_correct, wav, prompt, res)
OSUM-EChat/infer_gradio.py:319
Functionsave_result
(if_correct, wav, prompt, res)
OSUM/infer_gradio.py:206
Functionscheduler
(opt)
OSUM-EChat/tts/cosyvoice/utils/train_utils.py:134
Functionscheduler
(opt)
OSUM-EChat/wenet/utils/train_utils.py:572
Functionscheduler
(opt)
OSUM/wenet/utils/train_utils.py:566
Methodset_alignment_heads
(self, dump: bytes)
OSUM-EChat/wenet/whisper/whisper_with_clap.py:78
Methodset_alignment_heads
(self, dump: bytes)
OSUM-EChat/wenet/whisper/whisper.py:52
Methodset_alignment_heads
(self, dump: bytes)
OSUM/wenet/whisper/whisper_with_clap.py:78
Methodset_alignment_heads
(self, dump: bytes)
OSUM/wenet/whisper/whisper.py:52
Functionset_all_random_seed
(seed)
OSUM-EChat/tts/cosyvoice/utils/common.py:151
Methodset_epoch
(self, epoch)
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:30
Methodset_epoch
(self, epoch)
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:78
Methodset_epoch
(self, epoch)
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:36
Methodset_epoch
(self, epoch)
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:80
Methodset_epoch
(self, epoch)
OSUM-EChat/wenet/dataset/dataset.py:36
Methodset_epoch
(self, epoch)
OSUM-EChat/wenet/dataset/dataset.py:82
Methodset_epoch
(self, epoch)
OSUM-EChat/wenet/dataset/dataset.py:191
Methodset_epoch
(self, epoch)
OSUM/wenet/dataset/dataset.py:35
Methodset_epoch
(self, epoch)
OSUM/wenet/dataset/dataset.py:81
Methodset_phase
(self, speech_phase: bool)
OSUM-EChat/patches/custom_speech_ngram_blocking.py:30
Methodset_phase
(self, speech_phase: bool)
OSUM-EChat/patches/custom_speech_repetition_penalty.py:9
Methodset_step
(self, step: int)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:715
Methodset_step
(self, step: int)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:737
Methodset_step
(self, step: int)
OSUM-EChat/wenet/utils/scheduler.py:75
Methodset_step
(self, step: int)
OSUM/wenet/utils/scheduler.py:75
Functionshape
Change str to List[int] >>> shape('3,5') [3, 5] >>> shape(' [3, 5] ') [3, 5]
OSUM/tools/merge_scp2txt.py:21
Functionshow_confirmation
(output_res, input_wav_path, input_prompt)
OSUM-EChat/infer_gradio.py:315
Functionshow_confirmation
(output_res, input_wav_path, input_prompt)
OSUM/infer_gradio.py:203
Functionshuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:251
Functionshuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM-EChat/tts/cosyvoice/dataset/processor.py:244
Functionshuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1308
Functionshuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM-EChat/wenet/dataset/process/processor.py:1339
Functionshuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM-EChat/wenet/dataset/process/processor_language_think.py:1220
Functionshuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM/wenet/dataset/process/processor.py:744
Functionsingle_job
(utt)
OSUM-EChat/tts/tools/extract_embedding.py:24
Functionsingle_job
(utt)
OSUM-EChat/tts/tools/extract_speech_token.py:26
Functionsort
Sort the data by feature length. Sort is used after shuffle and before batch, so we can group utts with similar lengths into a batch,
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:275
Functionsort
Sort the data by feature length. Sort is used after shuffle and before batch, so we can group utts with similar lengths into a batch,
OSUM-EChat/tts/cosyvoice/dataset/processor.py:268
Functionsort
Sort the data by feature length. Sort is used after shuffle and before batch, so we can group utts with similar lengths into a batch,
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1332
Functionsort
Sort the data by feature length. Sort is used after shuffle and before batch, so we can group utts with similar lengths into a batch,
OSUM-EChat/wenet/dataset/process/processor.py:1363
Functionsort
Sort the data by feature length. Sort is used after shuffle and before batch, so we can group utts with similar lengths into a batch,
OSUM-EChat/wenet/dataset/process/processor_language_think.py:1244
Functionsort
Sort the data by feature length. Sort is used after shuffle and before batch, so we can group utts with similar lengths into a batch,
OSUM/wenet/dataset/process/processor.py:768
Functionspec_aug
Do spec augmentation Inplace operation Args: data: Iterable[{key, feat, label}] num_t_mask: number of time m
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1217
Functionspec_aug
Do spec augmentation Inplace operation Args: data: Iterable[{key, feat, label}] num_t_mask: number of time m
OSUM-EChat/wenet/dataset/process/processor.py:1248
Functionspec_aug
Do spec augmentation Inplace operation Args: data: Iterable[{key, feat, label}] num_t_mask: number of time m
OSUM-EChat/wenet/dataset/process/processor_language_think.py:1129
Functionspec_aug
Do spec augmentation Inplace operation Args: data: Iterable[{key, feat, label}] num_t_mask: number of time m
OSUM/wenet/dataset/process/processor.py:653
Functionspec_sub
Do spec substitute Inplace operation ref: U2++, section 3.2.3 [https://arxiv.org/abs/2106.05642] Args: data: Ite
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1255
Functionspec_sub
Do spec substitute Inplace operation ref: U2++, section 3.2.3 [https://arxiv.org/abs/2106.05642] Args: data: Ite
OSUM-EChat/wenet/dataset/process/processor.py:1286
Functionspec_sub
Do spec substitute Inplace operation ref: U2++, section 3.2.3 [https://arxiv.org/abs/2106.05642] Args: data: Ite
OSUM-EChat/wenet/dataset/process/processor_language_think.py:1167
Functionspec_sub
Do spec substitute Inplace operation ref: U2++, section 3.2.3 [https://arxiv.org/abs/2106.05642] Args: data: Ite
OSUM/wenet/dataset/process/processor.py:691
Functionspec_trim
Trim tailing frames. Inplace operation. ref: TrimTail [https://arxiv.org/abs/2211.00522] Args: data: Iterable[{key, feat
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:228
Functionspec_trim
Trim tailing frames. Inplace operation. ref: TrimTail [https://arxiv.org/abs/2211.00522] Args: data: Iterable[{key, feat
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1285
Functionspec_trim
Trim tailing frames. Inplace operation. ref: TrimTail [https://arxiv.org/abs/2211.00522] Args: data: Iterable[{key, feat
OSUM-EChat/wenet/dataset/process/processor.py:1316
Functionspec_trim
Trim tailing frames. Inplace operation. ref: TrimTail [https://arxiv.org/abs/2211.00522] Args: data: Iterable[{key, feat
OSUM-EChat/wenet/dataset/process/processor_language_think.py:1197
Functionspec_trim
Trim tailing frames. Inplace operation. ref: TrimTail [https://arxiv.org/abs/2211.00522] Args: data: Iterable[{key, feat
OSUM/wenet/dataset/process/processor.py:721
Functionspeed_perturb
Apply speed perturb to the data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] spe
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1030
Functionspeed_perturb
Apply speed perturb to the data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] spe
OSUM-EChat/wenet/dataset/process/processor.py:1058
Functionspeed_perturb
Apply speed perturb to the data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] spe
OSUM-EChat/wenet/dataset/process/processor_language_think.py:944
Functionspeed_perturb
Apply speed perturb to the data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] spe
OSUM/wenet/dataset/process/processor.py:392
Functionsplit_txt2asr_tag
(text)
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:458
Functionsplit_txt2asr_tag
(text)
OSUM-EChat/wenet/dataset/process/processor.py:459
Functionsplit_txt2asr_tag
(text)
OSUM-EChat/wenet/dataset/process/processor_language_think.py:462
Methodsubsampling_rate
Export interface for c++ call, return subsampling_rate of the model
OSUM-EChat/wenet/transformer/asr_model.py:389
Functionsubsequent_chunk_mask_deprecated
Create mask for subsequent steps (size, size) with chunk size, this is for streaming encoder Args: size (int): size of mask
OSUM-EChat/tts/cosyvoice/utils/mask.py:91
Methodsymbol_table
(self)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:56
Methodsymbol_table
(self)
OSUM-EChat/wenet/text/whisper_tokenizer.py:101
Methodsymbol_table
(self)
OSUM-EChat/wenet/text/char_tokenizer.py:79
Methodsymbol_table
(self)
OSUM-EChat/wenet/text/base_tokenizer.py:40
Methodsymbol_table
(self)
OSUM/wenet/text/hugging_face_tokenizer.py:56
Methodsymbol_table
(self)
OSUM/wenet/text/whisper_tokenizer.py:101
Methodsymbol_table
(self)
OSUM/wenet/text/char_tokenizer.py:79
Methodsymbol_table
(self)
OSUM/wenet/text/base_tokenizer.py:40
Functiontar_file_and_group
Expand a stream of open tar files into a stream of tar file contents. And groups the file with same prefix Args: data: I
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:60
Functiontar_file_and_group
Expand a stream of open tar files into a stream of tar file contents. And groups the file with same prefix Args: data: I
OSUM/wenet/dataset/process/processor.py:69
Functiontar_file_and_group_full_data
Expand a stream of open tar files into a stream of tar file contents. And groups the file with same prefix Args: data: I
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:168
Functiontar_file_and_group_full_data
Expand a stream of open tar files into a stream of tar file contents. And groups the file with same prefix Args: data: I
OSUM-EChat/wenet/dataset/process/processor.py:153
Functiontar_file_and_group_full_data
Expand a stream of open tar files into a stream of tar file contents. And groups the file with same prefix Args: data: I
OSUM-EChat/wenet/dataset/process/processor_language_think.py:153
Functiontar_file_and_group_full_data
Expand a stream of open tar files into a stream of tar file contents. And groups the file with same prefix Args: data: I
OSUM/wenet/dataset/process/processor.py:128
Methodtext2tokens
(self, line: str)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:33
Methodtext2tokens
(self, line: str)
OSUM-EChat/wenet/text/whisper_tokenizer.py:78
Methodtext2tokens
(self, line: str)
OSUM-EChat/wenet/text/char_tokenizer.py:38
Methodtext2tokens
(self, line: str)
OSUM-EChat/wenet/text/bpe_tokenizer.py:31
Methodtext2tokens
(self, line: str)
OSUM/wenet/text/paraformer_tokenizer.py:32
Methodtext2tokens
(self, line: str)
OSUM/wenet/text/hugging_face_tokenizer.py:33
Methodtext2tokens
(self, line: str)
OSUM/wenet/text/whisper_tokenizer.py:78
← previousnext →1,701–1,800 of 1,852, ranked by callers