ASLP-lab commited on
Commit
ecd9c41
·
verified ·
1 Parent(s): 6922c96

Update README_zh.md

Browse files
Files changed (1) hide show
  1. README_zh.md +60 -0
README_zh.md CHANGED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: text-to-speech
4
+ language:
5
+ - zh
6
+ - en
7
+ - de
8
+ - fr
9
+ - ja
10
+ - ko
11
+ - yue
12
+ tags:
13
+ - chuan
14
+ - m5-tts
15
+ - voice-cloning
16
+ - multilingual
17
+ - pytorch
18
+ ---
19
+
20
+ # M5-TTS
21
+
22
+ [English](README.md) | 简体中文
23
+
24
+ [GitHub](https://github.com/ASLP-lab/M5-TTS) · [音频展示](https://aslp-lab.github.io/M5-TTS-Demo-Page/) · [在线体验](https://huggingface.co/spaces/ASLP-lab/M5-TTS-Space) · [模型合集](https://huggingface.co/collections/ASLP-lab/m5-tts)
25
+
26
+ **M5-TTS** 是由 ASLP@NPU 和 LycheeAI Lab 开发的轻量多语种、多方言语音合成系统。模型结合 30M 时序骨干与 20M 局部多 token 预测解码器,使用 16 个音频码本、12.5 帧/秒的 codec 表示生成 **24 kHz** 语音。语音 codec 为独立组件。
27
+
28
+ 本仓库提供参考音频克隆权重,支持中文、英语、德语、法语、日语和韩语,以及粤语、四川话条件。无需参考音频的精品说话人播报请使用 [M5-TTS-50M-CustomVoice](https://huggingface.co/ASLP-lab/M5-TTS-50M-CustomVoice)。
29
+
30
+ ## 快速开始
31
+
32
+ 推荐使用 Linux、Python 3.10、支持 BF16 的 NVIDIA GPU 和兼容的 CUDA 驱动。从代码仓库安装:
33
+
34
+ ```bash
35
+ git clone https://github.com/ASLP-lab/M5-TTS.git
36
+ cd M5-TTS
37
+ conda create -n m5tts python=3.10 -y
38
+ conda activate m5tts
39
+ pip install -r requirements.txt
40
+ pip install --no-build-isolation flash-attn==2.7.3
41
+ ```
42
+
43
+ 在代码仓库根目录执行:
44
+
45
+ ```bash
46
+ python infer_clone.py \
47
+ --model ASLP-lab/M5-TTS \
48
+ --text "你好,欢迎使用我们的语音合成模型。" \
49
+ --prompt-wav assets/aslp_default_voice.wav \
50
+ --prompt-text "猪携带该疾病,然后通过蚊子传染给人类。" \
51
+ --output outputs/clone.wav
52
+ ```
53
+
54
+ 更换音色时,请同时替换参考录音和准确转写。M5 权重、文本 tokenizer 和[音频 tokenizer](https://huggingface.co/ASLP-lab/M5-TTS-Audio-Tokenizer) 会自动下载。通过 `--lang` 指定目标语言;粤语使用 `--lang Chinese --accent yue`,四川话使用 `--lang Chinese --accent chuan`。
55
+
56
+ 完整用法和评测结果见[项目 README](https://github.com/ASLP-lab/M5-TTS#quickstart)。仅使用本人或已获授权的声音进行克隆。
57
+
58
+ ## 许可证
59
+
60
+ Apache-2.0。基于 Qwen 的音频 codec 保留上游归属,见[第三方声明](https://github.com/ASLP-lab/M5-TTS/blob/main/m5/codec_qwen12hz/NOTICE)。