2023-08-02 21:53:35 +00:00
|
|
|
models:
|
2024-04-21 19:49:18 +00:00
|
|
|
- name: "ar+nar"
|
|
|
|
size: "full"
|
|
|
|
resp_levels: 8
|
|
|
|
prom_levels: 8
|
|
|
|
tasks: 8
|
|
|
|
langs: 2
|
|
|
|
tones: 1
|
2024-05-19 16:23:56 +00:00
|
|
|
arch_type: llama
|
2024-04-21 19:49:18 +00:00
|
|
|
training: True
|
2024-05-19 16:23:56 +00:00
|
|
|
version: 4
|
|
|
|
attention: flash_attention_2
|
|
|
|
dropout: 0.1
|
|
|
|
|
|
|
|
loss_factors:
|
|
|
|
text: 0.1
|
|
|
|
resp: 1.0
|
2023-08-19 20:06:33 +00:00
|
|
|
|
2023-08-02 21:53:35 +00:00
|
|
|
hyperparameters:
|
2024-05-19 16:23:56 +00:00
|
|
|
autotune: False
|
|
|
|
autotune_params:
|
|
|
|
start_profile_step: 1
|
|
|
|
end_profile_step: 50
|
|
|
|
num_tuning_micro_batch_sizes: 8
|
|
|
|
|
|
|
|
batch_size: 16
|
2024-04-21 19:49:18 +00:00
|
|
|
gradient_accumulation_steps: 4
|
2024-05-19 16:23:56 +00:00
|
|
|
gradient_clipping: 1.0
|
|
|
|
warmup_steps: 100
|
|
|
|
|
|
|
|
optimizer: Prodigy
|
|
|
|
learning_rate: 1.0
|
2023-09-24 00:59:00 +00:00
|
|
|
torch_optimizer: True
|
2023-08-02 21:53:35 +00:00
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
scheduler: "" # ScheduleFree
|
|
|
|
torch_scheduler: True
|
2023-08-02 21:53:35 +00:00
|
|
|
|
|
|
|
evaluation:
|
2024-04-21 19:49:18 +00:00
|
|
|
batch_size: 8
|
2024-05-19 16:23:56 +00:00
|
|
|
frequency: 5000
|
2024-04-21 19:49:18 +00:00
|
|
|
size: 8
|
2023-08-02 21:53:35 +00:00
|
|
|
|
2024-04-21 19:49:18 +00:00
|
|
|
steps: 500
|
2023-08-19 20:06:33 +00:00
|
|
|
ar_temperature: 0.95
|
|
|
|
nar_temperature: 0.25
|
2023-09-24 00:59:00 +00:00
|
|
|
load_disabled_engines: True
|
2023-08-02 21:53:35 +00:00
|
|
|
|
|
|
|
trainer:
|
2024-05-19 16:23:56 +00:00
|
|
|
#no_logger: True
|
|
|
|
ddp: False
|
|
|
|
#check_for_oom: False
|
2023-08-19 02:19:47 +00:00
|
|
|
iterations: 1_000_000
|
2023-08-02 21:53:35 +00:00
|
|
|
|
|
|
|
save_tag: step
|
|
|
|
save_on_oom: True
|
|
|
|
save_on_quit: True
|
2024-04-21 19:49:18 +00:00
|
|
|
save_frequency: 250
|
2023-09-24 00:59:00 +00:00
|
|
|
export_on_save: True
|
2023-08-19 02:19:47 +00:00
|
|
|
|
|
|
|
keep_last_checkpoints: 4
|
2023-08-02 21:53:35 +00:00
|
|
|
|
|
|
|
aggressive_optimizations: False
|
2023-09-24 00:59:00 +00:00
|
|
|
load_disabled_engines: False
|
2023-08-02 21:53:35 +00:00
|
|
|
|
|
|
|
#load_state_dict: True
|
2024-04-21 19:49:18 +00:00
|
|
|
strict_loading: False
|
2023-08-19 02:19:47 +00:00
|
|
|
#load_tag: "9500"
|
|
|
|
#load_states: False
|
2023-08-02 21:53:35 +00:00
|
|
|
#restart_step_count: True
|
|
|
|
|
|
|
|
gc_mode: None # "global_step"
|
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
weight_dtype: float32 # float16 or bfloat16
|
2023-09-24 00:59:00 +00:00
|
|
|
amp: False
|
2023-08-02 21:53:35 +00:00
|
|
|
|
2023-08-04 01:26:36 +00:00
|
|
|
backend: deepspeed
|
|
|
|
deepspeed:
|
2024-04-21 19:49:18 +00:00
|
|
|
inferencing: True
|
2023-08-19 02:19:47 +00:00
|
|
|
zero_optimization_level: 0
|
2024-04-21 19:49:18 +00:00
|
|
|
use_compression_training: False
|
2023-08-02 22:01:49 +00:00
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
amp: False
|
|
|
|
|
2023-09-24 00:59:00 +00:00
|
|
|
activation_checkpointing: True
|
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
load_webui: False
|
2024-04-21 19:49:18 +00:00
|
|
|
|
2023-08-04 01:26:36 +00:00
|
|
|
inference:
|
2024-04-21 19:49:18 +00:00
|
|
|
backend: deepspeed
|
|
|
|
audio_backend: "dac"
|
2023-09-24 00:59:00 +00:00
|
|
|
normalize: False
|
2023-08-04 01:26:36 +00:00
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
weight_dtype: float32 # float16 or bfloat16
|
2023-10-07 01:08:28 +00:00
|
|
|
amp: False
|
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
optimizations:
|
2024-04-21 19:49:18 +00:00
|
|
|
injects: False
|
2024-05-19 16:23:56 +00:00
|
|
|
replace: True
|
2024-04-21 19:49:18 +00:00
|
|
|
|
|
|
|
linear: False
|
|
|
|
embedding: False
|
2024-05-19 16:23:56 +00:00
|
|
|
optimizers: True
|
|
|
|
|
|
|
|
bitsandbytes: False
|
|
|
|
dadaptation: False
|
2024-04-21 19:49:18 +00:00
|
|
|
bitnet: False
|
2024-05-19 16:23:56 +00:00
|
|
|
fp8: False
|
2024-04-21 19:49:18 +00:00
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
experimental: True # practically required now it seems
|
2024-04-21 19:49:18 +00:00
|
|
|
|
|
|
|
dataset:
|
|
|
|
speaker_name_getter: "lambda p: f'{p.parts[-3]}_{p.parts[-2]}'"
|
|
|
|
speaker_group_getter: "lambda p: f'{p.parts[-3]}'"
|
|
|
|
speaker_languages:
|
|
|
|
ja: []
|
|
|
|
|
|
|
|
use_hdf5: True
|
|
|
|
use_metadata: True
|
|
|
|
hdf5_flag: r
|
|
|
|
validate: True
|
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
workers: 2
|
2024-04-21 19:49:18 +00:00
|
|
|
cache: True
|
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
duration_range: [3.0, 5.0]
|
2024-04-21 19:49:18 +00:00
|
|
|
|
|
|
|
random_utterance: 1.0
|
2024-05-19 16:23:56 +00:00
|
|
|
max_prompts: 1
|
|
|
|
prompt_duration: 3.0
|
2024-04-21 19:49:18 +00:00
|
|
|
|
|
|
|
max_resps: 1
|
|
|
|
p_resp_append: 0.25
|
|
|
|
|
2024-05-19 16:23:56 +00:00
|
|
|
sample_type: path # speaker
|
2024-04-21 19:49:18 +00:00
|
|
|
|
|
|
|
tasks_list: [ "tts" ] # , [ "tts", "tts-c", "ns", "sr", "tse", "cse", "nse", "tts"]
|
|
|
|
|
|
|
|
training: []
|
|
|
|
validation: []
|
|
|
|
noise: []
|