File size: 1,454 Bytes
767d943
 
 
 
 
 
 
 
764c470
767d943
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
license: mit
---

# Pretrained Model of Amphion NaturalSpeech2

We provide the pre-trained checkpoint of [NaturalSpeech2](https://github.com/open-mmlab/Amphion/tree/main/egs/tts/NaturalSpeech2) trained on [LibriTTS](https://github.com/open-mmlab/Amphion/tree/main/egs/datasets#libritts), which is is a multi-speaker English corpus of approximately 585 hours of read English speech at 24kHz.

Note that the current model is only trained on libritts, and the amount of training data is much less than the 5.5w hours of the original paper. We will soon introduce models trained on large-scale data. Please stay tuned.

## Quick Start

To utilize the pretrained models, just run the following commands:

### Step1: Download the checkpoint
```bash
git lfs install
git clone https://huggingface.co./amphion/naturalspeech2_libritts
```

### Step2: Clone the Amphion's Source Code of GitHub
```bash
git clone https://github.com/open-mmlab/Amphion.git
```

### Step3: Specify the checkpoint's path
Use the soft link to specify the downloaded checkpoint in the first step:

```bash
cd Amphion
mkdir -p ckpts
ln -s  ../../../naturalspeech2_libritts  ckpts/tts/
```

### Step4: Inference

You can follow the inference part of [this recipe](https://github.com/open-mmlab/Amphion/tree/main/egs/tts/NaturalSpeech2/README.md) to generate speech from text.

We also provided an online [demo](https://huggingface.co./spaces/amphion/NaturalSpeech2), feel free to try it!