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
Method
text2tokens
(self, line: str)
OSUM/wenet/text/char_tokenizer.py:38
Method
text2tokens
(self, line: str)
OSUM/wenet/text/bpe_tokenizer.py:31
Method
tie_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
Method
tie_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
Method
tie_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
Method
tie_or_clone_weights
(self, jit_mode: bool = True)
OSUM/wenet/transformer/asr_model.py:195
Function
tokenize
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
Function
tokenize
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
Function
tokenize
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
Function
tokenize
Decode text to chars or BPE Inplace operation Args: data: Iterable[{key, wav, txt, sample_rate}] Returns:
OSUM/wenet/dataset/process/processor.py:579
Function
tokenize_by_seg_dict
(seg_dict, txt)
OSUM-EChat/wenet/text/tokenize_utils.py:22
Method
tokens2ids
(self, tokens: List[str])
OSUM-EChat/wenet/text/whisper_tokenizer.py:87
Method
tokens2ids
(self, tokens: List[str])
OSUM-EChat/wenet/text/char_tokenizer.py:62
Method
tokens2ids
(self, tokens: List[str])
OSUM/wenet/text/whisper_tokenizer.py:87
Method
tokens2ids
(self, tokens: List[str])
OSUM/wenet/text/char_tokenizer.py:62
Method
tokens2text
(self, tokens: List[Type])
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:37
Method
tokens2text
(self, tokens: List[str])
OSUM-EChat/wenet/text/whisper_tokenizer.py:82
Method
tokens2text
(self, tokens: List[str])
OSUM-EChat/wenet/text/char_tokenizer.py:59
Method
tokens2text
(self, tokens: List[str])
OSUM-EChat/wenet/text/bpe_tokenizer.py:48
Method
tokens2text
(self, tokens: List[str])
OSUM/wenet/text/paraformer_tokenizer.py:51
Method
tokens2text
(self, tokens: List[Type])
OSUM/wenet/text/hugging_face_tokenizer.py:37
Method
tokens2text
(self, tokens: List[str])
OSUM/wenet/text/whisper_tokenizer.py:82
Method
tokens2text
(self, tokens: List[str])
OSUM/wenet/text/char_tokenizer.py:59
Method
tokens2text
(self, tokens: List[str])
OSUM/wenet/text/bpe_tokenizer.py:48
Method
train
(self, mode: bool = True)
OSUM/wenet/finetune/lora/layers.py:73
Method
train
(self, mode: bool = True)
OSUM/wenet/finetune/lora/layers.py:239
Method
train
(self, mode=True)
OSUM/wenet/finetune/lora/layers.py:308
Method
transcribe
(self, audio_file: str, tokens_info: bool = False)
OSUM/wenet/cli/paraformer_model.py:25
Method
transducer_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
Function
truncate
Truncate data. Args: data: Iterable[{key, wav, label, sample_rate}] truncate_length: truncate length Return
OSUM-EChat/tts/cosyvoice/dataset/processor.py:139
Method
tts
(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
Function
update_to
(b=1, bsize=1, tsize=None)
OSUM/wenet/cli/hub.py:34
Function
url_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
Function
url_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
Function
url_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
Function
url_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
Function
url_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
Method
vocab_size
(self)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:50
Method
vocab_size
(self)
OSUM-EChat/wenet/text/whisper_tokenizer.py:96
Method
vocab_size
(self)
OSUM-EChat/wenet/text/base_tokenizer.py:36
Method
vocab_size
(self)
OSUM/wenet/text/hugging_face_tokenizer.py:50
Method
vocab_size
(self)
OSUM/wenet/text/whisper_tokenizer.py:96
Method
vocab_size
(self)
OSUM/wenet/text/base_tokenizer.py:36
Method
warmuplr_fn
(lr, warmup_step)
OSUM-EChat/wenet/utils/scheduler.py:66
Method
warmuplr_fn
(lr, warmup_step)
OSUM/wenet/utils/scheduler.py:66
Function
wenet_join
(group_join, info_dict)
OSUM-EChat/wenet/utils/train_utils.py:659
Function
wenet_join
(group_join, info_dict)
OSUM/wenet/utils/train_utils.py:653
Function
write_ark_scp
(key, mat, ark_fout, scp_out)
OSUM/wenet/dataset/kaldi_io.py:550
Function
write_tar_file
(data_list, no_segments, tar_file, resample=16000,
OSUM/tools/make_shard_list.py:31
Function
write_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
Function
write_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
Method
zero_pad
(self, x)
OSUM/wenet/finetune/lora/layers.py:225
← previous
1,801–1,852 of 1,852, ranked by callers