File size: 6,243 Bytes
9d49701
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
{
  "architectures": [
    "Lfm3AudioForConditionalGeneration"
  ],
  "model_type": "lfm3_audio",
  "format_version": 1,
  "codebooks": 12,
  "audio_vocab_size": 2017,
  "maskgit_steps": 3,
  "interleaved_n_text": 6,
  "interleaved_n_audio": 12,
  "preprocessor": {
    "feature_type": "log_mel",
    "sample_rate": 16000,
    "waveform_dtype": "float32",
    "channel_reduction": "mean",
    "n_mels": 128,
    "n_fft": 400,
    "win_length": 400,
    "hop_length": 160,
    "window": "hann",
    "window_periodic": true,
    "center": false,
    "normalized": false,
    "onesided": true,
    "power": 2.0,
    "f_min": 0.0,
    "f_max": 8000.0,
    "mel_scale": "slaney",
    "mel_norm": "slaney",
    "log_base": 10,
    "logmel_floor": -12.0,
    "normalization": {
      "type": "affine",
      "offset": 4.0,
      "divisor": 4.0
    },
    "padding": {
      "side": "right",
      "mode": "constant",
      "value": 0.0,
      "minimum_samples": 400,
      "length_alignment_offset": 400,
      "length_alignment_multiple": 160
    }
  },
  "tokenizer": {
    "repo_id": "LiquidAI/liquid7.1_tokenizer",
    "revision": "39badc470af6cdf6f6a6fbb4d6d1c4d1929b5b96"
  },
  "encoder": {
    "dim_in": 128,
    "dim_conv": 256,
    "dim_out": 768,
    "sliding_window": 32,
    "lfm": {
      "transformers_version": "5.19.0.dev0",
      "architectures": null,
      "output_hidden_states": false,
      "return_dict": true,
      "dtype": "float32",
      "chunk_size_feed_forward": 0,
      "is_encoder_decoder": false,
      "id2label": {
        "0": "LABEL_0",
        "1": "LABEL_1"
      },
      "label2id": {
        "LABEL_0": 0,
        "LABEL_1": 1
      },
      "problem_type": null,
      "vocab_size": 2,
      "hidden_size": 768,
      "intermediate_size": 2560,
      "num_hidden_layers": 17,
      "num_attention_heads": 8,
      "num_key_value_heads": 4,
      "max_position_embeddings": 128000,
      "initializer_range": 0.02,
      "norm_eps": 1e-05,
      "use_cache": true,
      "pad_token_id": 0,
      "bos_token_id": 1,
      "eos_token_id": null,
      "tie_word_embeddings": true,
      "rope_parameters": {
        "rope_theta": 1000000.0,
        "rope_type": "default"
      },
      "conv_bias": false,
      "conv_L_cache": 3,
      "block_multiple_of": 256,
      "block_ffn_dim_multiplier": 1.0,
      "block_auto_adjust_ff_dim": true,
      "full_attn_idxs": null,
      "layer_types": [
        "conv",
        "conv",
        "full_attention",
        "conv",
        "conv",
        "full_attention",
        "conv",
        "conv",
        "full_attention",
        "conv",
        "conv",
        "full_attention",
        "conv",
        "conv",
        "full_attention",
        "full_attention",
        "full_attention"
      ],
      "_name_or_path": "",
      "model_type": "lfm2",
      "output_attentions": false
    }
  },
  "depthformer": {
    "transformers_version": "5.19.0.dev0",
    "architectures": null,
    "output_hidden_states": false,
    "return_dict": true,
    "dtype": null,
    "chunk_size_feed_forward": 0,
    "is_encoder_decoder": false,
    "id2label": {
      "0": "LABEL_0",
      "1": "LABEL_1"
    },
    "label2id": {
      "LABEL_0": 0,
      "LABEL_1": 1
    },
    "problem_type": null,
    "vocab_size": 1,
    "hidden_size": 1024,
    "intermediate_size": 2816,
    "num_hidden_layers": 3,
    "num_attention_heads": 32,
    "num_key_value_heads": 8,
    "max_position_embeddings": 12,
    "initializer_range": 0.02,
    "norm_eps": 1e-05,
    "use_cache": false,
    "pad_token_id": null,
    "bos_token_id": null,
    "eos_token_id": null,
    "tie_word_embeddings": true,
    "rope_parameters": {
      "full_attention": {
        "rope_type": "default",
        "rope_theta": 1000000.0,
        "partial_rotary_factor": 1.0
      }
    },
    "conv_bias": false,
    "conv_L_cache": 7,
    "layer_types": [
      "full_attention",
      "full_attention",
      "full_attention"
    ],
    "head_dim": 32,
    "sliding_window": 256,
    "use_sandwich_norm": false,
    "_name_or_path": "",
    "is_causal": false,
    "model_type": "lfm3",
    "output_attentions": false
  },
  "lfm": {
    "transformers_version": "5.19.0.dev0",
    "architectures": [
      "Lfm3ForCausalLM"
    ],
    "output_hidden_states": false,
    "return_dict": true,
    "dtype": "float32",
    "chunk_size_feed_forward": 0,
    "is_encoder_decoder": false,
    "id2label": {
      "0": "LABEL_0",
      "1": "LABEL_1"
    },
    "label2id": {
      "LABEL_0": 0,
      "LABEL_1": 1
    },
    "problem_type": null,
    "vocab_size": 128000,
    "hidden_size": 2048,
    "intermediate_size": 7680,
    "num_hidden_layers": 24,
    "num_attention_heads": 16,
    "num_key_value_heads": 4,
    "max_position_embeddings": 128000,
    "initializer_range": 0.02,
    "norm_eps": 1e-05,
    "use_cache": true,
    "pad_token_id": 124893,
    "bos_token_id": 124894,
    "eos_token_id": 124900,
    "tie_word_embeddings": true,
    "rope_parameters": {
      "full_attention": {
        "partial_rotary_factor": 0.5,
        "rope_theta": 1000000.0,
        "rope_type": "default"
      },
      "sliding_attention": {
        "rope_theta": 10000,
        "rope_type": "default"
      }
    },
    "conv_bias": false,
    "conv_L_cache": 7,
    "layer_types": [
      "conv",
      "conv",
      "full_attention",
      "conv",
      "sliding_attention",
      "conv",
      "full_attention",
      "conv",
      "sliding_attention",
      "conv",
      "full_attention",
      "conv",
      "sliding_attention",
      "conv",
      "full_attention",
      "conv",
      "sliding_attention",
      "conv",
      "full_attention",
      "conv",
      "sliding_attention",
      "conv",
      "full_attention",
      "conv"
    ],
    "head_dim": 128,
    "sliding_window": 256,
    "use_sandwich_norm": true,
    "model_type": "lfm3",
    "output_attentions": false
  },
  "auto_map": {
    "AutoConfig": "configuration_lfm3_audio.Lfm3AudioConfig",
    "AutoModel": "modeling_lfm3_audio.Lfm3AudioModel",
    "AutoModelForMultimodalLM": "modeling_lfm3_audio.Lfm3AudioForConditionalGeneration",
    "AutoModelForSeq2SeqLM": "modeling_lfm3_audio.Lfm3AudioForConditionalGeneration"
  }
}