Instructions to use nineninesix/kani-tts-400m-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nineninesix/kani-tts-400m-zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="nineninesix/kani-tts-400m-zh")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nineninesix/kani-tts-400m-zh", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +5 -1
config.json
CHANGED
|
@@ -57,5 +57,9 @@
|
|
| 57 |
"transformers_version": "4.56.0",
|
| 58 |
"use_cache": true,
|
| 59 |
"use_pos_enc": true,
|
| 60 |
-
"vocab_size": 80539
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
}
|
|
|
|
| 57 |
"transformers_version": "4.56.0",
|
| 58 |
"use_cache": true,
|
| 59 |
"use_pos_enc": true,
|
| 60 |
+
"vocab_size": 80539,
|
| 61 |
+
"speaker_settings": {
|
| 62 |
+
"status": "multispeaker",
|
| 63 |
+
"speaker_list": ["ming", "mei"]
|
| 64 |
+
}
|
| 65 |
}
|