|
|
@@ -33,7 +33,10 @@
|
|
|
```bash
|
|
|
huggingface-cli download fishaudio/speech-lm-v1 vqgan-v1.pth --local-dir checkpoints
|
|
|
```
|
|
|
-
|
|
|
+对于中国大陆用户,可使用mirror下载。
|
|
|
+```bash
|
|
|
+HF_ENDPOINT=https://hf-mirror.com huggingface-cli download fishaudio/speech-lm-v1 vqgan-v1.pth --local-dir checkpoints
|
|
|
+```
|
|
|
随后可运行以下命令来提取语义 token:
|
|
|
|
|
|
```bash
|
|
|
@@ -103,7 +106,10 @@ data_server/target/release/data_server \
|
|
|
```bash
|
|
|
huggingface-cli download fishaudio/speech-lm-v1 text2semantic-400m-v0.2-4k.pth --local-dir checkpoints
|
|
|
```
|
|
|
-
|
|
|
+对于中国大陆用户,可使用mirror下载。
|
|
|
+```bash
|
|
|
+HF_ENDPOINT=https://hf-mirror.com huggingface-cli download fishaudio/speech-lm-v1 text2semantic-400m-v0.2-4k.pth --local-dir checkpoints
|
|
|
+```
|
|
|
最后, 你可以运行以下命令来启动微调:
|
|
|
```bash
|
|
|
python fish_speech/train.py --config-name text2semantic_finetune_spk
|
|
|
@@ -117,4 +123,4 @@ python fish_speech/train.py --config-name text2semantic_finetune_spk
|
|
|
|
|
|
!!! info
|
|
|
默认配置下, 基本只会学到说话人的发音方式, 而不包含音色, 你依然需要使用 prompt 来保证音色的稳定性.
|
|
|
- 如果你想要学到音色, 请将训练步数调大, 但这有可能会导致过拟合.
|
|
|
+ 如果你想要学到音色, 请将训练步数调大, 但这有可能会导致过拟合.
|