mlinmg commited on
Commit
5b869dc
·
verified ·
1 Parent(s): 6c6f391

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +159 -0
config.json CHANGED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Xtts"
4
+ ],
5
+ "audio_config": {
6
+ "fmax": 8000,
7
+ "fmin": 0,
8
+ "hop_length": 256,
9
+ "mel_channels": 80,
10
+ "mel_norms_file": null,
11
+ "n_fft": 1024,
12
+ "output_sample_rate": 24000,
13
+ "power": 1.0,
14
+ "sample_rate": 22050,
15
+ "win_length": 1024
16
+ },
17
+ "auto_map": {
18
+ "AutoConfig": "AstraMindAI/xtts2--xtts2_config.XTTSConfig",
19
+ "AutoModelForCausalLM": "AstraMindAI/xtts2--xtts2_modeling.Xtts",
20
+ "AutoTokenizer": "AstraMindAI/xtts2--tokenizer.XTTSTokenizerFast"
21
+ },
22
+ "cond_d_vector_in_each_upsampling_layer": true,
23
+ "d_vector_dim": 512,
24
+ "decoder_input_dim": 1024,
25
+ "duration_const": 102400,
26
+ "gpt": {
27
+ "model_type": "xtts_gpt"
28
+ },
29
+ "gpt_code_stride_len": 1024,
30
+ "gpt_config": {
31
+ "_attn_implementation_autoset": false,
32
+ "_name_or_path": "",
33
+ "activation_function": "gelu",
34
+ "add_cross_attention": false,
35
+ "architectures": [
36
+ "XttsGPT"
37
+ ],
38
+ "attn_pdrop": 0.1,
39
+ "audio_config": {
40
+ "mel_channels": 80,
41
+ "output_sample_rate": 24000,
42
+ "sample_rate": 22050
43
+ },
44
+ "auto_map": {
45
+ "AutoConfig": "AstraMindAI/xtts2-gpt--gpt_config.XTTSGPTConfig",
46
+ "AutoModelForCausalLM": "AstraMindAI/xtts2-gpt--xtts2_gpt_modeling.XttsGPT"
47
+ },
48
+ "bad_words_ids": null,
49
+ "begin_suppress_tokens": null,
50
+ "bos_token_id": null,
51
+ "chunk_size_feed_forward": 0,
52
+ "cross_attention_hidden_size": null,
53
+ "decoder_input_dim": 1024,
54
+ "decoder_start_token_id": null,
55
+ "diversity_penalty": 0.0,
56
+ "do_sample": false,
57
+ "early_stopping": false,
58
+ "enable_redaction": false,
59
+ "encoder_no_repeat_ngram_size": 0,
60
+ "eos_token_id": null,
61
+ "exponential_decay_length_penalty": null,
62
+ "finetuning_task": null,
63
+ "forced_bos_token_id": null,
64
+ "forced_eos_token_id": null,
65
+ "gpt_batch_size": 1,
66
+ "gpt_max_audio_tokens": 605,
67
+ "hidden_size": 1024,
68
+ "id2label": {
69
+ "0": "LABEL_0",
70
+ "1": "LABEL_1"
71
+ },
72
+ "initializer_range": 0.02,
73
+ "is_decoder": false,
74
+ "is_encoder_decoder": false,
75
+ "kv_cache": true,
76
+ "label2id": {
77
+ "LABEL_0": 0,
78
+ "LABEL_1": 1
79
+ },
80
+ "layer_norm_epsilon": 1e-05,
81
+ "length_penalty": 1.0,
82
+ "max_audio_tokens": 605,
83
+ "max_length": 20,
84
+ "max_prompt_tokens": 70,
85
+ "max_text_tokens": 402,
86
+ "min_length": 0,
87
+ "model_type": "xtts_gpt",
88
+ "n_inner": 4096,
89
+ "no_repeat_ngram_size": 0,
90
+ "num_attention_heads": 16,
91
+ "num_audio_tokens": 1026,
92
+ "num_beam_groups": 1,
93
+ "num_beams": 1,
94
+ "num_hidden_layers": 30,
95
+ "num_return_sequences": 1,
96
+ "number_text_tokens": 6681,
97
+ "output_attentions": false,
98
+ "output_hidden_states": false,
99
+ "output_scores": false,
100
+ "pad_token_id": null,
101
+ "prefix": null,
102
+ "problem_type": null,
103
+ "pruned_heads": {},
104
+ "remove_invalid_values": false,
105
+ "reorder_and_upcast_attn": false,
106
+ "repetition_penalty": 1.0,
107
+ "return_dict": true,
108
+ "return_dict_in_generate": false,
109
+ "scale_attn_by_inverse_layer_idx": false,
110
+ "sep_token_id": null,
111
+ "start_audio_token": 1024,
112
+ "start_text_token": null,
113
+ "stop_audio_token": 1025,
114
+ "stop_text_token": null,
115
+ "suppress_tokens": null,
116
+ "task_specific_params": null,
117
+ "temperature": 1.0,
118
+ "tf_legacy_loss": false,
119
+ "tie_encoder_decoder": false,
120
+ "tie_word_embeddings": true,
121
+ "tokenizer_class": null,
122
+ "top_k": 50,
123
+ "top_p": 1.0,
124
+ "torch_dtype": null,
125
+ "torchscript": false,
126
+ "transformers_version": "4.46.0",
127
+ "typical_p": 1.0,
128
+ "use_bfloat16": false,
129
+ "use_masking_gt_prompt_approach": true,
130
+ "use_perceiver_resampler": true,
131
+ "vocab_size": 6681
132
+ },
133
+ "input_sample_rate": 22050,
134
+ "languages": [
135
+ "en",
136
+ "es",
137
+ "fr",
138
+ "de",
139
+ "it",
140
+ "pt",
141
+ "pl",
142
+ "tr",
143
+ "ru",
144
+ "nl",
145
+ "cs",
146
+ "ar",
147
+ "zh-cn",
148
+ "hu",
149
+ "ko",
150
+ "ja",
151
+ "hi"
152
+ ],
153
+ "model_type": "xtts",
154
+ "num_chars": 255,
155
+ "output_hop_length": 256,
156
+ "output_sample_rate": 24000,
157
+ "tokenizer_file": "",
158
+ "transformers_version": "4.46.0"
159
+ }