Upload folder using huggingface_hub
Browse files- README.md +27 -3
- config.json +0 -0
- dia_multilingual_model.pt +3 -0
- model_info.json +4 -0
- model_state_dict.pt +3 -0
README.md
CHANGED
@@ -1,3 +1,27 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Multilingual Emotion TTS Model
|
2 |
+
|
3 |
+
A fine-tuned version of Dia-1.6B trained on multilingual datasets.
|
4 |
+
|
5 |
+
## Features
|
6 |
+
|
7 |
+
- Support for multiple languages
|
8 |
+
- Emotion control in speech generation
|
9 |
+
- Singing capabilities
|
10 |
+
|
11 |
+
## Usage
|
12 |
+
|
13 |
+
```python
|
14 |
+
from dia.model import Dia
|
15 |
+
import torch
|
16 |
+
|
17 |
+
# Carica il modello personalizzato
|
18 |
+
model = Dia.from_pretrained("Lorenzob/aurora-1.6b")
|
19 |
+
|
20 |
+
# Genera audio con emozione
|
21 |
+
text = "[S1] Say 'Hello world' with a happy emotion"
|
22 |
+
output = model.generate(text)
|
23 |
+
|
24 |
+
# Salva l'audio
|
25 |
+
import soundfile as sf
|
26 |
+
sf.write("output.mp3", output, 44100)
|
27 |
+
```
|
config.json
ADDED
File without changes
|
dia_multilingual_model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a0c6599886863c6135855bf33b8e884eda4ed717e66f0b4fa228b54e7d17c6b
|
3 |
+
size 3222742169
|
model_info.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"description": "Fine-tuned Dia-1.6B model for multilingual TTS",
|
3 |
+
"base_model": "nari-labs/Dia-1.6B"
|
4 |
+
}
|
model_state_dict.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c11035b70ed3142d63f5717c6d0c28de97da3e259639745c616d11235c6c2a70
|
3 |
+
size 3222740023
|