MCPcopy Create free account

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

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

Methodtext2tokens
(self, line: str)
OSUM/wenet/text/char_tokenizer.py:38
Methodtext2tokens
(self, line: str)
OSUM/wenet/text/bpe_tokenizer.py:31
Methodtie_or_clone_weights
Tie or clone module weights (between word_emb and output_layer) depending of whether we are using TorchScript or not
OSUM-EChat/tts/cosyvoice/transformer/decoder.py:392
Methodtie_or_clone_weights
Tie or clone module weights (between word_emb and output_layer) depending of whether we are using TorchScript or not
OSUM-EChat/wenet/transformer/decoder.py:490
Methodtie_or_clone_weights
Tie or clone module weights (between word_emb and output_layer) depending of whether we are using TorchScript or not
OSUM/wenet/transformer/decoder.py:490
Methodtie_or_clone_weights
(self, jit_mode: bool = True)
OSUM/wenet/transformer/asr_model.py:195
Functiontokenize
Decode text to chars or BPE Inplace operation Args: tokenizer: data: Iterable[{key, wav, txt, sample_rate}]
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:541
Functiontokenize
Decode text to chars or BPE Inplace operation Args: tokenizer: data: Iterable[{key, wav, txt, sample_rate}]
OSUM-EChat/wenet/dataset/process/processor.py:627
Functiontokenize
Decode text to chars or BPE Inplace operation Args: tokenizer: data: Iterable[{key, wav, txt, sample_rate}]
OSUM-EChat/wenet/dataset/process/processor_language_think.py:524
Functiontokenize
Decode text to chars or BPE Inplace operation Args: data: Iterable[{key, wav, txt, sample_rate}] Returns:
OSUM/wenet/dataset/process/processor.py:579
Functiontokenize_by_seg_dict
(seg_dict, txt)
OSUM-EChat/wenet/text/tokenize_utils.py:22
Methodtokens2ids
(self, tokens: List[str])
OSUM-EChat/wenet/text/whisper_tokenizer.py:87
Methodtokens2ids
(self, tokens: List[str])
OSUM-EChat/wenet/text/char_tokenizer.py:62
Methodtokens2ids
(self, tokens: List[str])
OSUM/wenet/text/whisper_tokenizer.py:87
Methodtokens2ids
(self, tokens: List[str])
OSUM/wenet/text/char_tokenizer.py:62
Methodtokens2text
(self, tokens: List[Type])
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:37
Methodtokens2text
(self, tokens: List[str])
OSUM-EChat/wenet/text/whisper_tokenizer.py:82
Methodtokens2text
(self, tokens: List[str])
OSUM-EChat/wenet/text/char_tokenizer.py:59
Methodtokens2text
(self, tokens: List[str])
OSUM-EChat/wenet/text/bpe_tokenizer.py:48
Methodtokens2text
(self, tokens: List[str])
OSUM/wenet/text/paraformer_tokenizer.py:51
Methodtokens2text
(self, tokens: List[Type])
OSUM/wenet/text/hugging_face_tokenizer.py:37
Methodtokens2text
(self, tokens: List[str])
OSUM/wenet/text/whisper_tokenizer.py:82
Methodtokens2text
(self, tokens: List[str])
OSUM/wenet/text/char_tokenizer.py:59
Methodtokens2text
(self, tokens: List[str])
OSUM/wenet/text/bpe_tokenizer.py:48
Methodtrain
(self, mode: bool = True)
OSUM/wenet/finetune/lora/layers.py:73
Methodtrain
(self, mode: bool = True)
OSUM/wenet/finetune/lora/layers.py:239
Methodtrain
(self, mode=True)
OSUM/wenet/finetune/lora/layers.py:308
Methodtranscribe
(self, audio_file: str, tokens_info: bool = False)
OSUM/wenet/cli/paraformer_model.py:25
Methodtransducer_attention_rescoring
beam search Args: speech (torch.Tensor): (batch=1, max_len, feat_dim) speech_length (torch.Tensor): (batch, )
OSUM/wenet/transducer/transducer.py:261
Functiontruncate
Truncate data. Args: data: Iterable[{key, wav, label, sample_rate}] truncate_length: truncate length Return
OSUM-EChat/tts/cosyvoice/dataset/processor.py:139
Methodtts
(self, text, flow_embedding, llm_embedding=torch.zeros(0, 192), prompt_text=torch.zeros(1, 0, dtyp
OSUM-EChat/tts/cosyvoice/cli/model.py:414
Functionupdate_to
(b=1, bsize=1, tsize=None)
OSUM/wenet/cli/hub.py:34
Functionurl_opener
Give url or local file, return file descriptor Inplace operation. Args: data(Iterable[str]): url or local file list
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:29
Functionurl_opener
Give url or local file, return file descriptor Inplace operation. Args: data(Iterable[str]): url or local file list
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:121
Functionurl_opener
Give url or local file, return file descriptor Inplace operation. Args: data(Iterable[str]): url or local file list
OSUM-EChat/wenet/dataset/process/processor.py:106
Functionurl_opener
Give url or local file, return file descriptor Inplace operation. Args: data(Iterable[str]): url or local file list
OSUM-EChat/wenet/dataset/process/processor_language_think.py:106
Functionurl_opener
Give url or local file, return file descriptor Inplace operation. Args: data(Iterable[str]): url or local file list
OSUM/wenet/dataset/process/processor.py:38
Methodvocab_size
(self)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:50
Methodvocab_size
(self)
OSUM-EChat/wenet/text/whisper_tokenizer.py:96
Methodvocab_size
(self)
OSUM-EChat/wenet/text/base_tokenizer.py:36
Methodvocab_size
(self)
OSUM/wenet/text/hugging_face_tokenizer.py:50
Methodvocab_size
(self)
OSUM/wenet/text/whisper_tokenizer.py:96
Methodvocab_size
(self)
OSUM/wenet/text/base_tokenizer.py:36
Methodwarmuplr_fn
(lr, warmup_step)
OSUM-EChat/wenet/utils/scheduler.py:66
Methodwarmuplr_fn
(lr, warmup_step)
OSUM/wenet/utils/scheduler.py:66
Functionwenet_join
(group_join, info_dict)
OSUM-EChat/wenet/utils/train_utils.py:659
Functionwenet_join
(group_join, info_dict)
OSUM/wenet/utils/train_utils.py:653
Functionwrite_ark_scp
(key, mat, ark_fout, scp_out)
OSUM/wenet/dataset/kaldi_io.py:550
Functionwrite_tar_file
(data_list, no_segments, tar_file, resample=16000,
OSUM/tools/make_shard_list.py:31
Functionwrite_vec_flt
write_vec_flt(f, v, key='') Write a binary kaldi vector to filename or stream. Supports 32bit and 64bit floats. Arguments: file_or_fd : file
OSUM/wenet/dataset/kaldi_io.py:343
Functionwrite_vec_int
write_vec_int(f, v, key='') Write a binary kaldi integer vector to filename or stream. Arguments: file_or_fd : filename or opened file descr
OSUM/wenet/dataset/kaldi_io.py:225
Methodzero_pad
(self, x)
OSUM/wenet/finetune/lora/layers.py:225
← previous1,801–1,852 of 1,852, ranked by callers