lucasnewman commited on
Commit
feb74f9
·
verified ·
1 Parent(s): c860a0c

Upload 11 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ prompts/conversational_a.wav filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures":
3
+ [
4
+ "CsmForConditionalGeneration"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "audio_eos_token_id": 128003,
9
+ "audio_token_id": 128002,
10
+ "bos_token_id": 128000,
11
+ "codebook_eos_token_id": 0,
12
+ "codebook_pad_token_id": 2050,
13
+ "codec_config":
14
+ {
15
+ "_name_or_path": "kyutai/mimi",
16
+ "architectures":
17
+ [
18
+ "MimiModel"
19
+ ],
20
+ "attention_bias": false,
21
+ "attention_dropout": 0.0,
22
+ "audio_channels": 1,
23
+ "codebook_dim": 256,
24
+ "codebook_size": 2048,
25
+ "compress": 2,
26
+ "dilation_growth_rate": 2,
27
+ "frame_rate": 12.5,
28
+ "head_dim": 64,
29
+ "hidden_act": "gelu",
30
+ "hidden_size": 512,
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 2048,
33
+ "kernel_size": 7,
34
+ "last_kernel_size": 3,
35
+ "layer_scale_initial_scale": 0.01,
36
+ "max_position_embeddings": 8000,
37
+ "model_type": "mimi",
38
+ "norm_eps": 0.00001,
39
+ "normalize": false,
40
+ "num_attention_heads": 8,
41
+ "num_filters": 64,
42
+ "num_hidden_layers": 8,
43
+ "num_key_value_heads": 8,
44
+ "num_quantizers": 32,
45
+ "num_residual_layers": 1,
46
+ "num_semantic_quantizers": 1,
47
+ "pad_mode": "constant",
48
+ "residual_kernel_size": 3,
49
+ "rope_theta": 10000.0,
50
+ "sampling_rate": 24000,
51
+ "sliding_window": 250,
52
+ "torch_dtype": "float32",
53
+ "trim_right_ratio": 1.0,
54
+ "upsample_groups": 512,
55
+ "upsampling_ratios":
56
+ [
57
+ 8,
58
+ 6,
59
+ 5,
60
+ 4
61
+ ],
62
+ "use_cache": false,
63
+ "use_causal_conv": true,
64
+ "use_conv_shortcut": false,
65
+ "vector_quantization_hidden_dimension": 256
66
+ },
67
+ "depth_decoder_config":
68
+ {
69
+ "attention_bias": false,
70
+ "attention_dropout": 0.0,
71
+ "backbone_hidden_size": 1536,
72
+ "head_dim": 128,
73
+ "hidden_act": "silu",
74
+ "hidden_size": 1024,
75
+ "initializer_range": 0.02,
76
+ "intermediate_size": 4096,
77
+ "max_position_embeddings": 33,
78
+ "mlp_bias": false,
79
+ "model_type": "csm_depth_decoder_model",
80
+ "num_attention_heads": 8,
81
+ "num_codebooks": 32,
82
+ "num_hidden_layers": 4,
83
+ "num_key_value_heads": 2,
84
+ "rms_norm_eps": 0.00001,
85
+ "rope_scaling":
86
+ {
87
+ "factor": 32.0,
88
+ "high_freq_factor": 0.0078125,
89
+ "low_freq_factor": 0.001953125,
90
+ "original_max_position_embeddings": 16,
91
+ "rope_type": "llama3"
92
+ },
93
+ "rope_theta": 500000,
94
+ "use_cache": true,
95
+ "vocab_size": 2051
96
+ },
97
+ "head_dim": 128,
98
+ "hidden_act": "silu",
99
+ "hidden_size": 1536,
100
+ "initializer_range": 0.02,
101
+ "intermediate_size": 8192,
102
+ "max_position_embeddings": 2048,
103
+ "mlp_bias": false,
104
+ "model_type": "csm",
105
+ "num_attention_heads": 12,
106
+ "num_codebooks": 32,
107
+ "num_hidden_layers": 6,
108
+ "num_key_value_heads": 3,
109
+ "pad_token_id": 128002,
110
+ "rms_norm_eps": 0.00001,
111
+ "rope_scaling":
112
+ {
113
+ "factor": 32.0,
114
+ "high_freq_factor": 0.5,
115
+ "low_freq_factor": 0.125,
116
+ "original_max_position_embeddings": 1024,
117
+ "rope_type": "llama3"
118
+ },
119
+ "rope_theta": 500000,
120
+ "text_vocab_size": 49152,
121
+ "tie_codebooks_embeddings": true,
122
+ "tie_word_embeddings": false,
123
+ "use_cache": true,
124
+ "vocab_size": 2051,
125
+ "audio_num_codebooks": 32,
126
+ "audio_vocab_size": 2051,
127
+ "backbone_flavor": "llama-250M",
128
+ "decoder_flavor": "llama-60M",
129
+ "text_tokenizer": "Marvis-AI/marvis-tts-0.25b-expressive-preview"
130
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "depth_decoder__from_model_config": true,
4
+ "depth_decoder_do_sample": true,
5
+ "depth_decoder_temperature": 0.9,
6
+ "depth_decoder_top_k": 50,
7
+ "do_sample": true,
8
+ "max_new_tokens": 125,
9
+ "pad_token_id": 0,
10
+ "temperature": 0.9,
11
+ "transformers_version": "4.54.1"
12
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
prompts/conversational_a.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ New York at that time had become a premier center for notable painters.
prompts/conversational_a.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48eafe12a0d1ae04b14739ebcaaea0ef0750a5fcd37e5388e56684cf8a228947
3
+ size 180558
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|endoftext|>",
4
+ "<|im_start|>",
5
+ "<|im_end|>",
6
+ "<repo_name>",
7
+ "<reponame>",
8
+ "<file_sep>",
9
+ "<filename>",
10
+ "<gh_stars>",
11
+ "<issue_start>",
12
+ "<issue_comment>",
13
+ "<issue_closed>",
14
+ "<jupyter_start>",
15
+ "<jupyter_text>",
16
+ "<jupyter_code>",
17
+ "<jupyter_output>",
18
+ "<jupyter_script>",
19
+ "<empty_output>"
20
+ ],
21
+ "bos_token": "<|im_start|>",
22
+ "eos_token": "<|im_end|>",
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<repo_name>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<reponame>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "<file_sep>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<filename>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "<gh_stars>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<issue_start>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "<issue_comment>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": "<issue_closed>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<jupyter_start>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "12": {
101
+ "content": "<jupyter_text>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "13": {
109
+ "content": "<jupyter_code>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "14": {
117
+ "content": "<jupyter_output>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ },
124
+ "15": {
125
+ "content": "<jupyter_script>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": true
131
+ },
132
+ "16": {
133
+ "content": "<empty_output>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": true
139
+ }
140
+ },
141
+ "additional_special_tokens": [
142
+ "<|endoftext|>",
143
+ "<|im_start|>",
144
+ "<|im_end|>",
145
+ "<repo_name>",
146
+ "<reponame>",
147
+ "<file_sep>",
148
+ "<filename>",
149
+ "<gh_stars>",
150
+ "<issue_start>",
151
+ "<issue_comment>",
152
+ "<issue_closed>",
153
+ "<jupyter_start>",
154
+ "<jupyter_text>",
155
+ "<jupyter_code>",
156
+ "<jupyter_output>",
157
+ "<jupyter_script>",
158
+ "<empty_output>"
159
+ ],
160
+ "bos_token": "<|im_start|>",
161
+ "clean_up_tokenization_spaces": false,
162
+ "eos_token": "<|im_end|>",
163
+ "extra_special_tokens": {},
164
+ "model_max_length": 8192,
165
+ "tokenizer_class": "GPT2Tokenizer",
166
+ "unk_token": "<|endoftext|>",
167
+ "vocab_size": 49152
168
+ }
transformers_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ab223576583efc7d4a2a86e13aa7db6816208912ccc0783afbc0b173e6bde1e
3
+ size 3063377236
vocab.json ADDED
The diff for this file is too large to render. See raw diff