Methodinference(self, x1, x2, mel_len1, mel_len2, input_frame_rate=50)
OSUM-EChat/tts/cosyvoice/flow/length_regulator.py:52
Methodinference_cross_lingual(self, tts_text, prompt_speech_16k, stream=False, speed=1.0, text_frontend=True)
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:115
Methodinference_instruct(self, tts_text, spk_id, instruct_text, stream=False, speed=1.0, text_frontend=True)
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:126
Methodinference_instruct2(self, tts_text, instruct_text, prompt_speech_16k, stream=False, speed=1.0, text_frontend=True)
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:187
Methodinference_sft(self, tts_text, spk_id, stream=False, speed=1.0, text_frontend=True)
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:67
Methodinference_zero_shot(self, tts_text, prompt_text, prompt_speech_16k, stream=False, speed=1.0, text_frontend=True, token_list=None)
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:78
Methodllm_job(self, text, prompt_text, llm_prompt_speech_token, llm_embedding, uuid)
OSUM-EChat/tts/cosyvoice/cli/model.py:110
Functionmake_shards_common(jsonl_file, shards_dir, num_utts_per_shard=1000, prefix='shards', resample=16000, num_threads=32)
OSUM/tools/make_shard_list_osum.py:115
Functionpad_listPerform padding for the list of tensors. Args: xs (List): List of Tensors [(T_1, `*`), (T_2, `*`), ..., (T_B, `*`)]. pad_value (f
OSUM-EChat/tts/cosyvoice/utils/common.py:27
Functionpadding Padding the data into training data Args: data: List[{key, feat, label} Returns: Tuple(keys, feats, labels,
OSUM/wenet/ssl/init_dataset.py:10
Functionras_sampling(weighted_scores, decoded_tokens, sampling, top_p=0.8, top_k=25, win_size=10, tau_r=0.1)
OSUM-EChat/tts/cosyvoice/utils/common.py:109