librispeech_tts_r_100.json 2.02 KB
Newer Older
Yoach Lacombe's avatar
Yoach Lacombe committed
1
{
Yoach Lacombe's avatar
Yoach Lacombe committed
2
3
4
5
    "model_name_or_path": "/raid/yoach/tmp/artefacts/small-stable-speech-untrained/",
    "feature_extractor_name":"facebook/encodec_24khz",
    "description_tokenizer_name":"google-t5/t5-small",
    "prompt_tokenizer_name":"google-t5/t5-small",
Yoach Lacombe's avatar
Yoach Lacombe committed
6

Yoach Lacombe's avatar
Yoach Lacombe committed
7
8
    "push_to_hub": true,
    "hub_model_id": "ylacombe/stable-speech-mini",
Yoach Lacombe's avatar
Yoach Lacombe committed
9
10
    "report_to": ["wandb"],
    "overwrite_output_dir": true,
Yoach Lacombe's avatar
Yoach Lacombe committed
11
    "output_dir": "/raid/yoach/tmp/artefacts/training-mini/",
Yoach Lacombe's avatar
Yoach Lacombe committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30


    "train_dataset_name": "blabble-io/libritts_r",
    "train_metadata_dataset_name": "stable-speech/libritts-r-tags-and-text-generated",
    "train_dataset_config_name": "clean",
    "train_split_name": "train.clean.100",

    "eval_dataset_name": "blabble-io/libritts_r",
    "eval_metadata_dataset_name": "stable-speech/libritts-r-tags-and-text-generated",
    "eval_dataset_config_name": "clean",
    "eval_split_name": "test.clean",


    "target_audio_column_name": "audio", 
    "description_column_name": "text_description",
    "prompt_column_name": "text",

    "max_eval_samples": 24,
    
Yoach Lacombe's avatar
Yoach Lacombe committed
31
    "max_duration_in_seconds": 29,
Yoach Lacombe's avatar
Yoach Lacombe committed
32
33
34
35
36
    "min_duration_in_seconds": 2.0,

    "add_audio_samples_to_wandb": true,
    "id_column_name": "id",

Yoach Lacombe's avatar
Yoach Lacombe committed
37
38
39
40
41
    "preprocessing_num_workers": 1,


    "pad_token_id": 1024,
    "decoder_start_token_id": 1025,
Yoach Lacombe's avatar
Yoach Lacombe committed
42
43
44


    "do_train": true,
Yoach Lacombe's avatar
Yoach Lacombe committed
45
    "num_train_epochs": 15,
Yoach Lacombe's avatar
Yoach Lacombe committed
46
    "gradient_accumulation_steps": 1,
Yoach Lacombe's avatar
Yoach Lacombe committed
47
48
    "gradient_checkpointing": true,
    "per_device_train_batch_size": 40,
Yoach Lacombe's avatar
Yoach Lacombe committed
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
    "learning_rate": 1e-4,
    "adam_beta1": 0.9,
    "adam_beta2": 0.999,
    "weight_decay": 0.1,

    "lr_scheduler_type": "cosine",
    "warmup_ratio":  0.1,


    "logging_steps": 102,
    "freeze_text_encoder": false,


    "do_eval": true, 
    "predict_with_generate": true,
    "include_inputs_for_metrics": true,
    "evaluation_strategy": "steps",
Yoach Lacombe's avatar
Yoach Lacombe committed
66
67
68
    "eval_steps": 3000,
    "save_steps": 3000,

Yoach Lacombe's avatar
Yoach Lacombe committed
69
70
71
    "per_device_eval_batch_size": 8,
    "generation_max_length": 400,

Yoach Lacombe's avatar
Yoach Lacombe committed
72
    "audio_encode_per_device_eval_batch_size":32,
Yoach Lacombe's avatar
Yoach Lacombe committed
73
74
75
76
77
    "dtype": "float16",
    "seed": 456,

    "dataloader_num_workers":16
}