Update models/config.llama.yaml
Browse files- models/config.llama.yaml +116 -129
models/config.llama.yaml
CHANGED
@@ -1,130 +1,117 @@
|
|
1 |
-
sample_rate: 24_000
|
2 |
-
audio_backend: "vocos"
|
3 |
-
|
4 |
-
models:
|
5 |
-
- name: "ar+nar-tts+stt"
|
6 |
-
size: "full"
|
7 |
-
resp_levels: 8
|
8 |
-
prom_levels: 8
|
9 |
-
tasks: 9
|
10 |
-
langs: 4
|
11 |
-
tones: 1
|
12 |
-
arch_type: llama
|
13 |
-
training: False
|
14 |
-
version: 5
|
15 |
-
attention: auto
|
16 |
-
dropout: 0.1
|
17 |
-
#loss_factors:
|
18 |
-
# text: 0.01
|
19 |
-
# prom: 0.5
|
20 |
-
# resp: 1.0
|
21 |
-
capabilities: ["ar", "nar"]
|
22 |
-
experimental:
|
23 |
-
|
24 |
-
audio_embedding_sums: True
|
25 |
-
unified_position_ids: False
|
26 |
-
split_classifiers: True
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
#
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
max_resps: 1
|
119 |
-
p_resp_append: 0.25
|
120 |
-
|
121 |
-
sample_type: path # path # speaker
|
122 |
-
sample_order: duration
|
123 |
-
sample_max_duration_batch: 300
|
124 |
-
sample_shuffle: False
|
125 |
-
|
126 |
-
tasks_list: [ "tts", "stt" ]
|
127 |
-
|
128 |
-
training: []
|
129 |
-
validation: []
|
130 |
noise: []
|
|
|
1 |
+
sample_rate: 24_000
|
2 |
+
audio_backend: "vocos"
|
3 |
+
|
4 |
+
models:
|
5 |
+
- name: "ar+nar-tts+stt"
|
6 |
+
size: "full"
|
7 |
+
resp_levels: 8
|
8 |
+
prom_levels: 8
|
9 |
+
tasks: 9
|
10 |
+
langs: 4
|
11 |
+
tones: 1
|
12 |
+
arch_type: llama
|
13 |
+
training: False
|
14 |
+
version: 5
|
15 |
+
attention: auto
|
16 |
+
dropout: 0.1
|
17 |
+
#loss_factors:
|
18 |
+
# text: 0.01
|
19 |
+
# prom: 0.5
|
20 |
+
# resp: 1.0
|
21 |
+
capabilities: ["ar", "nar"]
|
22 |
+
experimental:
|
23 |
+
# modifies model arch
|
24 |
+
audio_embedding_sums: True
|
25 |
+
unified_position_ids: False
|
26 |
+
split_classifiers: True
|
27 |
+
|
28 |
+
#loras:
|
29 |
+
#- name : "lora"
|
30 |
+
# rank: 128
|
31 |
+
# alpha: 128
|
32 |
+
# training: True
|
33 |
+
# rvq_levels: []
|
34 |
+
|
35 |
+
hyperparameters:
|
36 |
+
batch_size: 32
|
37 |
+
gradient_accumulation_steps: 8
|
38 |
+
gradient_clipping: 1.0
|
39 |
+
warmup_steps: 10
|
40 |
+
|
41 |
+
optimizer: Prodigy
|
42 |
+
learning_rate: 1.0
|
43 |
+
torch_optimizer: True
|
44 |
+
|
45 |
+
scheduler: "" # ScheduleFree
|
46 |
+
torch_scheduler: True
|
47 |
+
|
48 |
+
evaluation:
|
49 |
+
batch_size: 4
|
50 |
+
frequency: 250
|
51 |
+
size: 4
|
52 |
+
|
53 |
+
steps: 500
|
54 |
+
ar_temperature: 1.0
|
55 |
+
nar_temperature: 0.0
|
56 |
+
|
57 |
+
trainer:
|
58 |
+
iterations: 1_000_000
|
59 |
+
save_frequency: 250
|
60 |
+
keep_last_checkpoints: 4
|
61 |
+
|
62 |
+
resize_modules: True
|
63 |
+
gradient_checkpointing: True
|
64 |
+
|
65 |
+
weight_dtype: bfloat16
|
66 |
+
amp: True
|
67 |
+
|
68 |
+
backend: deepspeed
|
69 |
+
deepspeed:
|
70 |
+
inferencing: False
|
71 |
+
amp: False
|
72 |
+
|
73 |
+
inference:
|
74 |
+
backend: local
|
75 |
+
weight_dtype: bfloat16
|
76 |
+
amp: True
|
77 |
+
|
78 |
+
optimizations:
|
79 |
+
injects: False
|
80 |
+
replace: True
|
81 |
+
|
82 |
+
linear: False
|
83 |
+
embedding: False
|
84 |
+
optimizers: True
|
85 |
+
|
86 |
+
bitsandbytes: False
|
87 |
+
dadaptation: False
|
88 |
+
bitnet: False
|
89 |
+
fp8: False
|
90 |
+
|
91 |
+
dataset:
|
92 |
+
use_hdf5: True
|
93 |
+
hdf5_flag: r
|
94 |
+
|
95 |
+
use_metadata: True
|
96 |
+
validate: True
|
97 |
+
|
98 |
+
workers: 1
|
99 |
+
cache: True
|
100 |
+
|
101 |
+
duration_range: [3.0, 12.0]
|
102 |
+
|
103 |
+
prompt_max_samples: 1
|
104 |
+
prompt_duration_range: [3.0, 3.0]
|
105 |
+
|
106 |
+
resps_max_samples: 1
|
107 |
+
|
108 |
+
sample_type: path # path # speaker
|
109 |
+
sample_order: duration
|
110 |
+
sample_max_duration_batch: 300
|
111 |
+
sample_shuffle: False
|
112 |
+
|
113 |
+
tasks_list: [ "tts", "stt" ]
|
114 |
+
|
115 |
+
training: []
|
116 |
+
validation: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
noise: []
|