Commit Graph

12 Commits

Author SHA1 Message Date
litagin02
c776c08235 Apply black formatter 2024-03-11 09:47:47 +09:00
tsukumi
98ab8e7978 Refactor: separate module for utilities related to loading/saving checkpoints and safetensors 2024-03-09 15:58:57 +00:00
tsukumi
a84783a6cc Refactor: replace utils.HParams with HyperParameters Pydantic model
HyperParameters is largely a drop-in replacement for utils.HParams, which ensures type safety for hyper-parameters.
2024-03-08 15:52:37 +00:00
tsukumi
67ff3105c1 Refactor: moved utils.py to style_bert_vits2/models/ 2024-03-08 09:40:27 +00:00
tsukumi
fac4f9a8ab Refactor: rename text_processing to nlp
"text_processing" is clearer, but the import statement is longer.
"nlp" is shorter and makes it clear that it is natural language processing.
2024-03-08 06:20:44 +00:00
tsukumi
8add1b4202 Fix: maintain compatibility with Python 3.9 2024-03-08 06:14:50 +00:00
tsukumi
d36401849b Refactor: moved monotonic_align/ to style_bert_vits2/models/monotonic_alignment.py 2024-03-07 04:36:05 +00:00
tsukumi
def6d88425 Refactor: style_bert_vits2/text_processing/cleaner.py integrated into style_bert_vits2/text_processing/__init__.py
This was often used in 3 function sets and felt like a wasteful division with few lines.
2024-03-07 04:19:40 +00:00
tsukumi
62919e904e Refactor: moved the module for extracting BERT features from text in each language to style_bert_vits2/text_processing/(language)/bert_feature.py 2024-03-07 03:34:58 +00:00
tsukumi
c3c0dd8b32 Refactor: add style_bert_vits2/text_processing/bert_models.py to hold loaded BERT models/tokenizer and replace all from_pretrained() to load_model/load_tokenizer 2024-03-07 03:31:38 +00:00
tsukumi
e826faf62e Refactor: moved text/cleaner.py to style_bert_vits2/text_processing/ 2024-03-07 00:24:28 +00:00
tsukumi
89825e68d8 Refactor: moved model, attentions definitions and inference code to style_bert_vits2/models/
The code has not yet been cleaned up, just moved.
2024-03-06 23:43:25 +00:00