Crate gpt_sovits

Crate gpt_sovits 

Source

Structs§

BertModel
EnSentence
G2PW
G2pEn
GptSoVitsModel
NumSentence
ReferenceData
Sampler
Processes logits to sample a token ID, applying various strategies like temperature, repetition penalty, and Top-K/Top-P sampling.
SamplingParams
SamplingParamsBuilder
TextProcessor
ZhSentence

Enums§

EnWord
G2PWOut
GSVError
Lang
LangId
ZhMode

Statics§

BERT_TOKENIZER
DICT_MONO_CHARS
DICT_POLY_CHARS

Traits§

SentenceProcessor
Stream
A stream of values produced asynchronously.
StreamExt
An extension trait for Streams that provides a variety of convenient combinator functions.

Functions§

argmax
Finds the token with the highest logit value (argmax).
argmax_2d
create_onnx_cpu_session
get_phone_symbol
is_numeric
split_text
str_is_chinese