MCPcopy Create free account

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

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

Method__init__
(self, module)
OSUM/wenet/bin/export_onnx_bpu.py:803
Method__init__
( self, model, required_cache_size, beam_size, transformer=False,
OSUM/wenet/bin/export_onnx_gpu.py:85
Method__init__
(self, model, required_cache_size, beam_size)
OSUM/wenet/bin/export_onnx_gpu.py:233
Method__init__
(self, model, required_cache_size, beam_size)
OSUM/wenet/bin/export_onnx_gpu.py:434
Method__init__
( self, decoder: TransformerDecoder, ctc_weight: float = 0.5, reverse_weight:
OSUM/wenet/bin/export_onnx_gpu.py:630
Method__init__
Construct an Conv1dSubsampling object.
OSUM/wenet/llm_asr/downsampler.py:15
Method__init__
Construct an Conv1dSubsampling object.
OSUM/wenet/llm_asr/downsampler.py:49
Method__init__
Construct an Conv1dSubsampling object.
OSUM/wenet/llm_asr/downsampler.py:90
Method__init__
Construct an Conv1dSubsampling object.
OSUM/wenet/llm_asr/downsampler.py:126
Method__init__
(self, encoder, encoder_output_dim, llm_path,
OSUM/wenet/llm_asr/llmasr_model.py:21
Method__init__
(self, symbol_table: Union[str, PathLike, Dict], seg_dict: Optional[Union[st
OSUM/wenet/text/paraformer_tokenizer.py:20
Method__init__
(self, model: Union[str, PathLike], *args, **kwargs)
OSUM/wenet/text/hugging_face_tokenizer.py:8
Method__init__
( self, multilingual: bool, num_languages: int = 99, language: Optional[str] =
OSUM/wenet/text/whisper_tokenizer.py:10
Method__init__
( self, symbol_table: Union[str, PathLike, Dict], non_lang_syms: Optional[Union[str, P
OSUM/wenet/text/char_tokenizer.py:11
Method__init__
( self, bpe_model: Union[PathLike, str], symbol_table: Union[str, PathLike, Dict],
OSUM/wenet/text/bpe_tokenizer.py:9
Method__iter__
Return an iterator over the source dataset processed by the given
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:33
Method__iter__
(self)
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:113
Method__iter__
Return an iterator over the source dataset processed by the given processor.
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:39
Method__iter__
(self)
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:117
Method__iter__
Return an iterator over the source dataset processed by the given processor.
OSUM-EChat/wenet/dataset/dataset.py:39
Method__iter__
(self)
OSUM-EChat/wenet/dataset/dataset.py:171
Method__iter__
(self)
OSUM-EChat/wenet/dataset/dataset.py:197
Method__iter__
(self)
OSUM/tools/compute_shard_cmvn_stats.py:161
Method__iter__
(self)
OSUM/tools/extract_shard_data.py:123
Method__iter__
(self)
OSUM/wenet/branchformer/encoder.py:173
Method__iter__
Return an iterator over the source dataset processed by the given processor.
OSUM/wenet/dataset/dataset.py:38
Method__iter__
(self)
OSUM/wenet/dataset/dataset.py:140
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:47
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:86
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:125
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:168
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:200
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:234
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:267
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:326
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:357
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:374
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:446
Method__iter__
(self)
OSUM/wenet/dataset/datapipes.py:468
Method__len__
(self)
OSUM/tools/compute_cmvn_stats.py:73
Method__repr__
(self)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:56
Method__repr__
(self)
OSUM-EChat/wenet/utils/scheduler.py:54
Method__repr__
(self)
OSUM/wenet/utils/scheduler.py:54
Method__setstate__
(self, state)
OSUM-EChat/wenet/text/hugging_face_tokenizer.py:21
Method__setstate__
(self, state)
OSUM-EChat/wenet/text/whisper_tokenizer.py:41
Method__setstate__
(self, state)
OSUM/wenet/text/hugging_face_tokenizer.py:21
Method__setstate__
(self, state)
OSUM/wenet/text/whisper_tokenizer.py:41
Method_calc_att_loss
( self, encoder_out: torch.Tensor, encoder_mask: torch.Tensor, ys_pad: torch.T
OSUM-EChat/wenet/whisper/whisper_with_clap.py:89
Method_calc_att_loss
( self, encoder_out: torch.Tensor, encoder_mask: torch.Tensor, ys_pad: torch.T
OSUM-EChat/wenet/whisper/whisper.py:63
Method_calc_att_loss
( self, encoder_out: torch.Tensor, encoder_mask: torch.Tensor, ys_pad: torch.T
OSUM/wenet/whisper/whisper_with_clap.py:89
Function_do_test_for_streaming_chat
()
OSUM-EChat/wenet/osum_echat/utils4llmasr.py:415
Method_element_to_bucket_id
(self, elem)
OSUM/wenet/dataset/datapipes.py:89
Method_forward_ctc
( self, encoder_out: torch.Tensor, encoder_mask: torch.Tensor, text: torch.Tensor,
OSUM-EChat/wenet/transformer/asr_model.py:199
Method_forward_ctc
( self, encoder_out: torch.Tensor, encoder_mask: torch.Tensor, text: torch.Tensor,
OSUM/wenet/transformer/asr_model.py:199
Method_get_constant_lr
(self, step)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:539
Method_get_constant_lr
(self, step)
OSUM-EChat/wenet/utils/scheduler.py:544
Method_get_constant_lr
(self, step)
OSUM/wenet/utils/scheduler.py:544
Method_get_embedding_from_text
将字符串先量化,再转成词向量 Args: text: str Returns: text_embeds: (1, L, D)
OSUM-EChat/wenet/osum_echat/llmasr_model_instruct_version.py:1310
Method_get_lr
(self, step)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:459
Method_get_lr
(self, step)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:486
Method_get_lr
(self, step)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:512
Method_get_lr
(self, step)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:693
Method_get_lr
(self, step)
OSUM-EChat/wenet/utils/scheduler.py:464
Method_get_lr
(self, step)
OSUM-EChat/wenet/utils/scheduler.py:491
Method_get_lr
(self, step)
OSUM-EChat/wenet/utils/scheduler.py:517
Method_get_lr
(self, step)
OSUM-EChat/wenet/utils/scheduler.py:699
Method_get_lr
(self, step)
OSUM/wenet/utils/scheduler.py:464
Method_get_lr
(self, step)
OSUM/wenet/utils/scheduler.py:491
Method_get_lr
(self, step)
OSUM/wenet/utils/scheduler.py:517
Method_get_lr
(self, step)
OSUM/wenet/utils/scheduler.py:699
Method_get_warmup_lr
(self, step)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:532
Method_get_warmup_lr
(self, step)
OSUM-EChat/wenet/utils/scheduler.py:537
Method_get_warmup_lr
(self, step)
OSUM/wenet/utils/scheduler.py:537
Function_poly_decay
(initial_lr, step, decay_steps, power, min_lr, cycle)
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:421
Function_poly_decay
(initial_lr, step, decay_steps, power, min_lr, cycle)
OSUM-EChat/wenet/utils/scheduler.py:426
Function_poly_decay
(initial_lr, step, decay_steps, power, min_lr, cycle)
OSUM/wenet/utils/scheduler.py:426
Method_reset_parameter
(module: torch.nn.Module)
OSUM/wenet/ssl/w2vbert/w2vbert_model.py:127
Method_reset_parameter
(module: torch.nn.Module)
OSUM/wenet/ssl/wav2vec2/wav2vec2_model.py:186
Method_reset_parameter
(module: torch.nn.Module)
OSUM/wenet/ssl/bestrq/bestrq_model.py:124
Method_window_size_func
(self, bucket_id)
OSUM/wenet/dataset/datapipes.py:98
Function_write_tar_file
(data_list, tar_file, resample=16000, index=0, total=1, do_recover=True)
OSUM-EChat/common_utils/fake_data/shard/do_make_shard_from_raw.py:17
Function_write_tar_file
(data_list, tar_file, resample=16000, index=0, total=1)
OSUM/tools/make_shard_list_osum.py:20
Functionadd_blank
Prepad blank for transducer predictor Args: ys_pad (torch.Tensor): batch of padded target sequences (B, Lmax) blank (int): index
OSUM-EChat/wenet/utils/common.py:79
Functionadd_sos_eos4speech_llm
Add <sos> and <eos> labels. 为out后接一个eos. in基本保持不变 Args: ys_pad (torch.Tensor): batch of padded target sequences (B, Lmax) sos
OSUM-EChat/wenet/osum_echat/utils4llmasr.py:11
Functionadd_sos_eos4speech_llm
Add <sos> and <eos> labels. 为out后接一个eos. in基本保持不变 Args: ys_pad (torch.Tensor): batch of padded target sequences (B, Lmax) sos
OSUM/wenet/llm_asr/utils4llmasr.py:10
Methodalign
(self, audio_file: str, label: str)
OSUM/wenet/cli/paraformer_model.py:67
Functionanalyze
(datas, output_file, thread_id)
OSUM/tools/analyze_dataset.py:67
Methodapply
(self, f)
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:41
Methodapply
(self, f)
OSUM-EChat/wenet/dataset/dataset.py:47
Methodapply
(self, f)
OSUM/wenet/dataset/dataset.py:46
Methodapply_sharding
(self, num_of_instances: int, instance_id: int, sharding_group: SHARDING_PRIORITIES)
OSUM/wenet/dataset/datapipes.py:287
Functionbatch
Wrapper for static/dynamic batch
OSUM-EChat/common_utils/fake_data/combine/dataset/processor_no_wav.py:350
Functionbatch
Wrapper for static/dynamic batch
OSUM-EChat/tts/cosyvoice/dataset/processor.py:345
Functionbatch
Wrapper for static/dynamic batch
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:1723
Functionbatch
Wrapper for static/dynamic batch
OSUM-EChat/wenet/dataset/process/processor.py:1753
Functionbatch
Wrapper for static/dynamic batch
OSUM-EChat/wenet/dataset/process/processor_language_think.py:1634
Functionbatch
Wrapper for static/dynamic batch
OSUM/wenet/dataset/process/processor.py:911
Methodbatch_to_cache
(self, cache: List[torch.Tensor])
OSUM/wenet/transducer/predictor.py:31
Methodbatch_to_cache
Args: cache : [history] history: [bs, ...] Returns: new_ache : [[history_1], [history_2], [hi
OSUM/wenet/transducer/predictor.py:260
Methodbatch_to_cache
Args: cache : [history] history: [bs, ...] Returns: new_ache : [[history_1], [history_2], [hi
OSUM/wenet/transducer/predictor.py:436
← previousnext →1,201–1,300 of 1,852, ranked by callers