Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ASLP-lab/OSUM
/ functions
Functions
1,852 in github.com/ASLP-lab/OSUM
⨍
Functions
1,852
◇
Types & classes
348
Function
record_gradient_hook
(grad)
OSUM/wenet/finetune/lora/utils.py:103
Method
rel_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
Method
rel_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
Method
rel_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
Method
remove_weight_norm
(self)
OSUM-EChat/tts/cosyvoice/hifigan/generator.py:320
Function
replace_duplicates_with_blank
(hyp: List[int], blank_id: int = 0)
OSUM-EChat/wenet/utils/ctc_utils.py:36
Function
replace_func
(match)
OSUM-EChat/common_utils/utils4infer.py:117
Function
resample
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
Function
resample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/tts/cosyvoice/dataset/processor.py:111
Function
resample
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
Function
resample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM-EChat/wenet/dataset/process/processor.py:1035
Function
resample
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
Function
resample
Resample data. Inplace operation. Args: data: Iterable[{key, wav, label, sample_rate}] resample_rate: target
OSUM/wenet/dataset/process/processor.py:369
Method
right_context
Export interface for c++ call, return right_context of the model
OSUM-EChat/wenet/transformer/asr_model.py:396
Function
run
(prog)
OSUM/tools/ssh_launcher.py:115
Function
save_result
(if_correct, wav, prompt, res)
OSUM-EChat/infer_gradio.py:319
Function
save_result
(if_correct, wav, prompt, res)
OSUM/infer_gradio.py:206
Function
scheduler
(opt)
OSUM-EChat/tts/cosyvoice/utils/train_utils.py:134
Function
scheduler
(opt)
OSUM-EChat/wenet/utils/train_utils.py:572
Function
scheduler
(opt)
OSUM/wenet/utils/train_utils.py:566
Method
set_alignment_heads
(self, dump: bytes)
OSUM-EChat/wenet/whisper/whisper_with_clap.py:78
Method
set_alignment_heads
(self, dump: bytes)
OSUM-EChat/wenet/whisper/whisper.py:52
Method
set_alignment_heads
(self, dump: bytes)
OSUM/wenet/whisper/whisper_with_clap.py:78
Method
set_alignment_heads
(self, dump: bytes)
OSUM/wenet/whisper/whisper.py:52
Function
set_all_random_seed
(seed)
OSUM-EChat/tts/cosyvoice/utils/common.py:151
Method
set_epoch
(self, epoch)
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:30
Method
set_epoch
(self, epoch)
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:78
Method
set_epoch
(self, epoch)
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:36
Method
set_epoch
(self, epoch)
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:80
Method
set_epoch
(self, epoch)
OSUM-EChat/wenet/dataset/dataset.py:36
Method
set_epoch
(self, epoch)
OSUM-EChat/wenet/dataset/dataset.py:82
Method
set_epoch
(self, epoch)
OSUM-EChat/wenet/dataset/dataset.py:191
Method
set_epoch
(self, epoch)
OSUM/wenet/dataset/dataset.py:35
Method
set_epoch
(self, epoch)
OSUM/wenet/dataset/dataset.py:81
Method
set_phase
(self, speech_phase: bool)
OSUM-EChat/patches/custom_speech_ngram_blocking.py:30
Method
set_phase
(self, speech_phase: bool)
OSUM-EChat/patches/custom_speech_repetition_penalty.py:9
Method
set_step
(self, step: int)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:715
Method
set_step
(self, step: int)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:737
Method
set_step
(self, step: int)
OSUM-EChat/wenet/utils/scheduler.py:75
Method
set_step
(self, step: int)
OSUM/wenet/utils/scheduler.py:75
Function
shape
Change str to List[int] >>> shape('3,5') [3, 5] >>> shape(' [3, 5] ') [3, 5]
OSUM/tools/merge_scp2txt.py:21
Function
show_confirmation
(output_res, input_wav_path, input_prompt)
OSUM-EChat/infer_gradio.py:315
Function
show_confirmation
(output_res, input_wav_path, input_prompt)
OSUM/infer_gradio.py:203
Function
shuffle
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
Function
shuffle
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
Function
shuffle
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
Function
shuffle
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
Function
shuffle
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
Function
shuffle
Local shuffle the data Args: data: Iterable[{key, feat, label}] shuffle_size: buffer size for shuffle Retur
OSUM/wenet/dataset/process/processor.py:744
Function
single_job
(utt)
OSUM-EChat/tts/tools/extract_embedding.py:24
Function
single_job
(utt)
OSUM-EChat/tts/tools/extract_speech_token.py:26
Function
sort
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
Function
sort
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
Function
sort
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
Function
sort
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
Function
sort
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
Function
sort
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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
spec_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
Function
speed_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
Function
speed_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
Function
speed_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
Function
speed_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
Function
split_txt2asr_tag
(text)
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:458
Function
split_txt2asr_tag
(text)
OSUM-EChat/wenet/dataset/process/processor.py:459
Function
split_txt2asr_tag
(text)
OSUM-EChat/wenet/dataset/process/processor_language_think.py:462
Method
subsampling_rate
Export interface for c++ call, return subsampling_rate of the model
OSUM-EChat/wenet/transformer/asr_model.py:389
Function
subsequent_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
Method
symbol_table
(self)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:56
Method
symbol_table
(self)
OSUM-EChat/wenet/text/whisper_tokenizer.py:101
Method
symbol_table
(self)
OSUM-EChat/wenet/text/char_tokenizer.py:79
Method
symbol_table
(self)
OSUM-EChat/wenet/text/base_tokenizer.py:40
Method
symbol_table
(self)
OSUM/wenet/text/hugging_face_tokenizer.py:56
Method
symbol_table
(self)
OSUM/wenet/text/whisper_tokenizer.py:101
Method
symbol_table
(self)
OSUM/wenet/text/char_tokenizer.py:79
Method
symbol_table
(self)
OSUM/wenet/text/base_tokenizer.py:40
Function
tar_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
Function
tar_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
Function
tar_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
Function
tar_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
Function
tar_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
Function
tar_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
Method
text2tokens
(self, line: str)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:33
Method
text2tokens
(self, line: str)
OSUM-EChat/wenet/text/whisper_tokenizer.py:78
Method
text2tokens
(self, line: str)
OSUM-EChat/wenet/text/char_tokenizer.py:38
Method
text2tokens
(self, line: str)
OSUM-EChat/wenet/text/bpe_tokenizer.py:31
Method
text2tokens
(self, line: str)
OSUM/wenet/text/paraformer_tokenizer.py:32
Method
text2tokens
(self, line: str)
OSUM/wenet/text/hugging_face_tokenizer.py:33
Method
text2tokens
(self, line: str)
OSUM/wenet/text/whisper_tokenizer.py:78
← previous
next →
1,701–1,800 of 1,852, ranked by callers