Add: Support for speech synthesis in English and Chinese for ONNX inference in Non-JP-Extra models

This commit is contained in:
tsukumi
2024-09-23 07:14:44 +09:00
parent fe253611d3
commit dcca37b9a8
20 changed files with 342182 additions and 16 deletions

View File

@@ -28,6 +28,8 @@ DEFAULT_BERT_MODEL_PATHS = {
# 言語ごとのデフォルトの BERT モデル (ONNX 版) のパス
DEFAULT_ONNX_BERT_MODEL_PATHS = {
Languages.JP: BASE_DIR / "bert" / "deberta-v2-large-japanese-char-wwm-onnx",
Languages.EN: BASE_DIR / "bert" / "deberta-v3-large-onnx",
Languages.ZH: BASE_DIR / "bert" / "chinese-roberta-wwm-ext-large-onnx",
}
# デフォルトのユーザー辞書ディレクトリ