Lorenzob commited on
Commit
8590c05
·
verified ·
1 Parent(s): 8aaadbe

Add complete model with Dia-1.6B weights

Browse files
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - it
5
+ - en
6
+ - pl
7
+ - de
8
+ - fr
9
+ base_model:
10
+ - nari-labs/Dia-1.6B
11
+ pipeline_tag: text-to-speech
12
+ tags:
13
+ - speech
14
+ - dia
15
+ - text-to-speech
16
+ - vocal
17
+ - voice
18
+ ---
19
+
20
+ # Aurora-1.6B: Multilingual Emotion and Singing TTS Model
21
+
22
+ A fine-tuned version of Dia-1.6B trained on multilingual and singing datasets, with full emotion control and zero-shot voice cloning.
23
+
24
+ ## Features
25
+
26
+ - **Multilingual Support**
27
+ Natural speech in Italian, English, Polish, German, French, and more.
28
+ - **Emotion Control**
29
+ Use speaker tags or emotion tokens (e.g. `[S1]`, `[happy]`, `[sad]`) to modulate expressiveness.
30
+ - **Singing Capabilities**
31
+ Generate melodic vocals by providing singing prompts or style references.
32
+ - **Zero-Shot Voice Cloning**
33
+ Clone any speaker’s voice from a short audio sample.
34
+ - **Nonverbal Vocalizations**
35
+ Embed realistic effects like `(laughs)`, `(coughs)`, or `(sighs)` inline.
36
+
37
+ ## Usage
38
+
39
+ ```python
40
+ from dia.model import Dia
41
+ import soundfile as sf
42
+
43
+ # Load the Aurora-1.6B model
44
+ model = Dia.from_pretrained("Lorenzob/aurora-1.6b")
45
+
46
+ # Generate a happy spoken line followed by singing
47
+ text = "[S1][happy] Hello world! Now sing 'Happy Birthday to You'"
48
+ audio = model.generate(text)
49
+
50
+ # Save output at 44.1 kHz
51
+ sf.write("output.wav", audio, 44100)
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data": {
3
+ "audio_bos_value": 1026,
4
+ "audio_eos_value": 1024,
5
+ "audio_length": 3072,
6
+ "audio_pad_value": 1025,
7
+ "channels": 9,
8
+ "delay_pattern": [
9
+ 0,
10
+ 8,
11
+ 9,
12
+ 10,
13
+ 11,
14
+ 12,
15
+ 13,
16
+ 14,
17
+ 15
18
+ ],
19
+ "text_length": 1024,
20
+ "text_pad_value": 0
21
+ },
22
+ "model": {
23
+ "decoder": {
24
+ "cross_head_dim": 128,
25
+ "cross_query_heads": 16,
26
+ "gqa_head_dim": 128,
27
+ "gqa_query_heads": 16,
28
+ "kv_heads": 4,
29
+ "n_embd": 2048,
30
+ "n_hidden": 8192,
31
+ "n_layer": 18
32
+ },
33
+ "dropout": 0.0,
34
+ "encoder": {
35
+ "head_dim": 128,
36
+ "n_embd": 1024,
37
+ "n_head": 16,
38
+ "n_hidden": 4096,
39
+ "n_layer": 12
40
+ },
41
+ "normalization_layer_epsilon": 1e-05,
42
+ "rope_max_timescale": 10000,
43
+ "rope_min_timescale": 1,
44
+ "src_vocab_size": 256,
45
+ "tgt_vocab_size": 1028,
46
+ "weight_dtype": "float32"
47
+ },
48
+ "training": {},
49
+ "version": "0.1"
50
+ }
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.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caba289b60f6d7d1e58fc744f4dc25aae88995fcca46be3d05e220b971486a26
3
+ size 6444682848
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
special_tokens_map.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>"
4
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "model_max_length": 512,
5
+ "padding_side": "right",
6
+ "special_tokens_map_file": "special_tokens_map.json"
7
+ }