MCPcopy Create free account

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

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

↓ 1 callersFunctioninit_llmasr
(args, configs, is_inference=False)
OSUM/wenet/llm_asr/init_llmasr.py:12
↓ 1 callersFunctioninit_model_my
()
OSUM/infer_gradio.py:46
↓ 1 callersFunctioninit_optimizer_and_scheduler
(args, configs, model, gan)
OSUM-EChat/tts/cosyvoice/utils/train_utils.py:111
↓ 1 callersFunctioninit_optimizer_and_scheduler
(args, configs, model)
OSUM-EChat/wenet/utils/train_utils.py:510
↓ 1 callersFunctioninit_optimizer_and_scheduler
(args, configs, model)
OSUM/wenet/utils/train_utils.py:504
↓ 1 callersFunctioninit_scaler
(args)
OSUM-EChat/wenet/utils/train_utils.py:610
↓ 1 callersFunctioninit_scaler
(args)
OSUM/wenet/utils/train_utils.py:604
↓ 1 callersFunctioninit_speech_model
(args, configs)
OSUM-EChat/wenet/utils/init_model.py:51
↓ 1 callersFunctioninit_speech_model
(args, configs)
OSUM/wenet/utils/init_model.py:93
↓ 1 callersMethodinit_state
(self, batch_size: int, device: torch.device, method:
OSUM/wenet/transducer/predictor.py:247
↓ 1 callersMethodinit_state
(self, batch_size: int, device: torch.device, method:
OSUM/wenet/transducer/predictor.py:410
↓ 1 callersFunctioninit_summarywriter
(args)
OSUM-EChat/tts/cosyvoice/utils/train_utils.py:187
↓ 1 callersFunctioninit_summarywriter
(args)
OSUM-EChat/wenet/utils/train_utils.py:601
↓ 1 callersFunctioninit_summarywriter
(args)
OSUM/wenet/utils/train_utils.py:595
↓ 1 callersMethodinit_weights
(self)
OSUM/wenet/squeezeformer/positionwise_feed_forward.py:59
↓ 1 callersMethodinit_weights
(self)
OSUM/wenet/squeezeformer/subsampling.py:142
↓ 1 callersMethodinit_weights
(self)
OSUM/wenet/squeezeformer/subsampling.py:207
↓ 1 callersMethodinit_weights
(self)
OSUM/wenet/squeezeformer/subsampling.py:286
↓ 1 callersMethodinit_weights
(self)
OSUM/wenet/squeezeformer/attention.py:61
↓ 1 callersMethodinit_weights
(self)
OSUM/wenet/squeezeformer/convolution.py:102
↓ 1 callersMethodinitialize_weights
(self)
OSUM-EChat/tts/cosyvoice/flow/decoder.py:203
↓ 1 callersFunctioninject_lora
(module, lora_config)
OSUM/wenet/finetune/lora/utils.py:27
↓ 1 callersFunctioninject_lora_to_model
(model, lora_config)
OSUM/wenet/finetune/lora/utils.py:41
↓ 1 callersMethodis_bidirectional_decoder
Returns: torch.Tensor: decoder output
OSUM/wenet/transformer/asr_model.py:470
↓ 1 callersFunctionis_only_punctuation
(text)
OSUM-EChat/tts/cosyvoice/utils/frontend_utils.py:133
↓ 1 callersFunctionis_torch_npu_available
check if torch_npu is available. torch_npu is a npu adapter of PyTorch
OSUM-EChat/wenet/utils/common.py:365
↓ 1 callersFunctionis_torch_npu_available
check if torch_npu is available. torch_npu is a npu adapter of PyTorch
OSUM/wenet/utils/common.py:365
↓ 1 callersFunctionkaldi2json
(kaldi_cmvn_file)
OSUM/tools/cmvn_kaldi2json.py:8
↓ 1 callersFunctionload_cmvn
(cmvn_file, is_json)
OSUM-EChat/wenet/utils/cmvn.py:88
↓ 1 callersFunctionload_dict_list_from_jsonl
(jsonl_file_path)
OSUM-EChat/wenet/dataset/process/processor_tag_think.py:106
↓ 1 callersFunctionload_dict_list_from_jsonl
(jsonl_file_path)
OSUM-EChat/wenet/dataset/process/processor.py:93
↓ 1 callersFunctionload_dict_list_from_jsonl
(jsonl_file_path)
OSUM-EChat/wenet/dataset/process/processor_language_think.py:93
↓ 1 callersMethodload_lfmmi_resource
(self)
OSUM/wenet/k2/model.py:69
↓ 1 callersFunctionload_model
(language: str = None, model_dir: str = None, gpu: int = -1, beam
OSUM/wenet/cli/model.py:160
↓ 1 callersFunctionload_wav_scp
(wav_scp_file)
OSUM/tools/compute_fbank_feats.py:51
↓ 1 callersFunctionload_wav_scp_dict
(wav_scp_file)
OSUM/tools/compute_fbank_feats.py:62
↓ 1 callersFunctionload_wav_segments
(wav_scp_file, segments_file)
OSUM/tools/compute_fbank_feats.py:73
↓ 1 callersFunctionlog_per_epoch
(writer, info_dict)
OSUM-EChat/wenet/utils/train_utils.py:883
↓ 1 callersFunctionlog_per_epoch
(writer, info_dict)
OSUM/wenet/utils/train_utils.py:876
↓ 1 callersFunctionlog_per_save
(writer, info_dict)
OSUM-EChat/tts/cosyvoice/utils/train_utils.py:330
↓ 1 callersFunctionmain
(args)
OSUM-EChat/tts/tools/extract_embedding.py:37
↓ 1 callersFunctionmain
(args)
OSUM-EChat/tts/tools/extract_speech_token.py:40
↓ 1 callersFunctionmain
()
OSUM-EChat/tts/cosyvoice/bin/train.py:90
↓ 1 callersFunctionmain
()
OSUM-EChat/tts/cosyvoice/bin/export_onnx.py:54
↓ 1 callersFunctionmain
()
OSUM-EChat/tts/cosyvoice/bin/export_jit.py:50
↓ 1 callersFunctionmain
()
OSUM-EChat/tts/cosyvoice/bin/inference.py:53
↓ 1 callersFunctionmain
()
OSUM-EChat/tts/cosyvoice/bin/average_model.py:43
↓ 1 callersFunctionmain
()
OSUM-EChat/wenet/whisper/convert_whisper_to_wenet_config_and_ckpt.py:281
↓ 1 callersFunctionmain
()
OSUM-EChat/wenet/bin/train.py:98
↓ 1 callersFunctionmain
()
OSUM-EChat/wenet/bin/average_model.py:64
↓ 1 callersFunctionmain
()
OSUM/tools/compute_shard_cmvn_stats.py:167
↓ 1 callersFunctionmain
()
OSUM/tools/latency_metrics.py:81
↓ 1 callersFunctionmain
()
OSUM/tools/text2token.py:89
↓ 1 callersFunctionmain
()
OSUM/tools/analyze_dataset.py:134
↓ 1 callersFunctionmain
()
OSUM/tools/extract_shard_data.py:130
↓ 1 callersFunctionmain
(args)
OSUM/tools/websocket/performance-ws.py:104
↓ 1 callersFunctionmain
()
OSUM/tools/k2/prepare_char.py:218
↓ 1 callersFunctionmain
()
OSUM/wenet/paraformer/convert_paraformer_to_wenet_config_and_ckpt.py:285
↓ 1 callersFunctionmain
()
OSUM/wenet/cli/transcribe.py:71
↓ 1 callersFunctionmain
()
OSUM/wenet/whisper/convert_whisper_to_wenet_config_and_ckpt.py:281
↓ 1 callersFunctionmain
()
OSUM/wenet/ssl/w2vbert/convert_w2vbert_to_wenet_config_and_ckpt.py:181
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/train.py:98
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/export_onnx_cpu.py:414
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/export_ipex.py:47
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/recognize4llmasr.py:211
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/recognize_onnx_gpu.py:110
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/recognize.py:203
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/export_jit.py:39
↓ 1 callersFunctionmain
()
OSUM/wenet/bin/average_model.py:64
↓ 1 callersFunctionmake_calibration_data
(enc, args, conf, tokenizer)
OSUM/tools/onnx2horizonbin.py:78
↓ 1 callersFunctionmake_fence_distortion
Generate a fence distortion function In this fence-like shape function, the values in mask slots are set to maxium, while the values not in m
OSUM/wenet/dataset/wav_distortion.py:147
↓ 1 callersFunctionmake_gain_db
Generate a db domain gain function Args: conf: a dict {'db': #float} 'db': the gaining value Returns: The db gai
OSUM/wenet/dataset/wav_distortion.py:243
↓ 1 callersFunctionmake_jag_distortion
Generate a jag distortion function In this jag-like shape function, the values in mask slots are not changed, while the values not in mask sl
OSUM/wenet/dataset/wav_distortion.py:196
↓ 1 callersFunctionmake_max_distortion
Generate a max distortion function Args: conf: a dict {'max_db': float } 'max_db': the maxium value. Returns: Th
OSUM/wenet/dataset/wav_distortion.py:76
↓ 1 callersFunctionmake_quad_distortion
()
OSUM/wenet/dataset/wav_distortion.py:71
↓ 1 callersFunctionmark_only_lora_as_trainable
(model: nn.Module, bias: str = 'none')
OSUM/wenet/finetune/lora/utils.py:58
↓ 1 callersFunctionmask_finished_preds
If a sequence is finished, all of its branch should be <eos> Args: pred (torch.Tensor): A int array with shape (batch_si
OSUM-EChat/wenet/utils/mask.py:288
↓ 1 callersFunctionmask_finished_scores
If a sequence is finished, we only allow one alive branch. This function aims to give one branch a zero score and the rest -inf score. A
OSUM-EChat/wenet/utils/mask.py:258
↓ 1 callersFunctionmay_get_assets_and_refine_args
(args)
OSUM/wenet/paraformer/convert_paraformer_to_wenet_config_and_ckpt.py:254
↓ 1 callersFunctionmel_loss
(real_speech, generated_speech, mel_transforms)
OSUM-EChat/tts/cosyvoice/utils/losses.py:14
↓ 1 callersFunctionnucleus_sampling
(weighted_scores, top_p=0.8, top_k=25)
OSUM-EChat/tts/cosyvoice/utils/common.py:117
↓ 1 callersMethodoverall
(self)
OSUM/tools/compute-cer.py:225
↓ 1 callersMethodoverall
(self)
OSUM/tools/compute-wer.py:218
↓ 1 callersFunctionoverride_config
(configs, override_list)
OSUM-EChat/wenet/utils/config.py:18
↓ 1 callersMethodpad4group
q: (#batch, time1, size) -> (#batch, head, time1, size/head) k,v: (#batch, time2, size) -> (#batch, head, time2, size/head) p
OSUM/wenet/efficient_conformer/attention.py:82
↓ 1 callersMethodpad_unpad_sequence
(self, sos_eos_emb, embedding, text_token, text_token_len, task_id_emb, speech_token, speech_token_len)
OSUM-EChat/tts/cosyvoice/llm/llm.py:82
↓ 1 callersFunctionparaformer_beam_search
(decoder_out: torch.Tensor, decoder_out_lens: torch.Tensor,
OSUM/wenet/paraformer/search.py:180
↓ 1 callersFunctionparaformer_beautify_result
(tokens: List[str])
OSUM/wenet/paraformer/search.py:57
↓ 1 callersFunctionparse_args
()
OSUM/tools/compute-acc.py:8
↓ 1 callersMethodparse_file_list
(self)
OSUM/tools/compute_shard_cmvn_stats.py:83
↓ 1 callersMethodparse_file_list
(self)
OSUM/tools/extract_shard_data.py:37
↓ 1 callersFunctionparse_hostfile
(hostfile, convert_ip=True)
OSUM/tools/ssh_launcher.py:47
↓ 1 callersFunctionparse_opts
()
OSUM/tools/compute_fbank_feats.py:24
↓ 1 callersMethodposition_encoding
(self, offset: Union[int, torch.Tensor], size: int)
OSUM-EChat/tts/cosyvoice/transformer/subsampling.py:30
↓ 1 callersMethodposition_encoding
For getting encoding in a streaming fashion Attention!!!!! we apply dropout only once at the whole utterance level in a none
OSUM-EChat/tts/cosyvoice/transformer/embedding.py:272
↓ 1 callersMethodposition_encoding
(self, offset: Union[int, torch.Tensor], size: int,
OSUM-EChat/wenet/transformer/embedding.py:231
↓ 1 callersMethodposition_encoding
(self, offset: Union[int, torch.Tensor], size: int,
OSUM/wenet/transformer/embedding.py:231
↓ 1 callersMethodpre_sample
Sample data according to rank/world_size/num_workers Args: data(List): input data list Returns:
OSUM-EChat/wenet/dataset/dataset.py:131
↓ 1 callersFunctionprecompute_freqs_cis
Precomputes the frequency cis.
OSUM-EChat/wenet/utils/rope_utils.py:5
↓ 1 callersFunctionprecompute_freqs_cis
Precomputes the frequency cis.
OSUM/wenet/utils/rope_utils.py:5
← previousnext →701–800 of 1,852, ranked by callers