Update models/config.llama.yaml
Browse filesReduced a lot of unneeded settings in the config YAML
- models/config.llama.yaml +5 -106
models/config.llama.yaml
CHANGED
@@ -1,117 +1,16 @@
|
|
1 |
-
sample_rate: 24_000
|
2 |
-
audio_backend: "vocos"
|
3 |
-
|
4 |
models:
|
5 |
-
- name: "ar+nar
|
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 |
-
|
17 |
-
|
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 |
-
|
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: []
|
|
|
|
|
|
|
|
|
1 |
models:
|
2 |
+
- name: "ar+nar"
|
3 |
size: "full"
|
4 |
resp_levels: 8
|
|
|
5 |
tasks: 9
|
6 |
langs: 4
|
7 |
tones: 1
|
8 |
arch_type: llama
|
|
|
|
|
9 |
attention: auto
|
10 |
+
version: 5
|
11 |
+
|
|
|
|
|
|
|
12 |
capabilities: ["ar", "nar"]
|
13 |
experimental:
|
|
|
|
|
|
|
14 |
split_classifiers: True
|
15 |
+
audio_embedding_sums: True
|
16 |
+
unified_position_ids: False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|