File size: 2,713 Bytes
0f48a55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "architectures": [
    "KmoshiForConditionalGeneration"
  ],
  "attention_dropout": 0.0,
  "audio_encoder_config": {
    "_frame_rate": null,
    "attention_bias": false,
    "attention_dropout": 0.0,
    "audio_channels": 1,
    "codebook_dim": 256,
    "codebook_size": 2048,
    "compress": 2,
    "dilation_growth_rate": 2,
    "dtype": "bfloat16",
    "head_dim": 64,
    "hidden_act": "gelu",
    "hidden_size": 512,
    "initializer_range": 0.02,
    "intermediate_size": 2048,
    "kernel_size": 7,
    "last_kernel_size": 3,
    "layer_scale_initial_scale": 0.01,
    "max_position_embeddings": 8000,
    "model_type": "mimi",
    "norm_eps": 1e-05,
    "num_attention_heads": 8,
    "num_filters": 64,
    "num_hidden_layers": 8,
    "num_key_value_heads": 8,
    "num_quantizers": 32,
    "num_residual_layers": 1,
    "num_semantic_quantizers": 1,
    "pad_mode": "constant",
    "residual_kernel_size": 3,
    "rope_parameters": {
      "rope_theta": 10000.0,
      "rope_type": "default"
    },
    "sampling_rate": 24000,
    "sliding_window": 250,
    "tie_word_embeddings": true,
    "trim_right_ratio": 1.0,
    "upsample_groups": 512,
    "upsampling_ratios": [
      8,
      6,
      5,
      4
    ],
    "use_cache": false,
    "use_causal_conv": true,
    "use_conv_shortcut": false,
    "use_streaming": false,
    "vector_quantization_hidden_dimension": 256
  },
  "audio_vocab_size": 2048,
  "bos_token_id": null,
  "depth_decoder_config": {
    "attention_dropout": 0.0,
    "audio_vocab_size": 2048,
    "bos_token_id": null,
    "dtype": "bfloat16",
    "eos_token_id": null,
    "ffn_dim": 5632,
    "head_dim": 64,
    "hidden_act": "silu",
    "hidden_size": 1024,
    "initializer_range": 0.02,
    "input_size": 4096,
    "max_position_embeddings": 17,
    "model_type": "kmoshi_depth",
    "num_attention_heads": 16,
    "num_codebooks": 16,
    "num_hidden_layers": 6,
    "num_key_value_heads": 16,
    "pad_token_id": null,
    "rms_norm_eps": 1e-08,
    "sliding_window": 8,
    "tie_word_embeddings": false,
    "use_cache": true,
    "vocab_size": 151936
  },
  "dtype": "bfloat16",
  "eos_token_id": null,
  "ffn_dim": 24576,
  "head_dim": 128,
  "hidden_act": "silu",
  "hidden_size": 4096,
  "initializer_range": 0.02,
  "max_position_embeddings": 3000,
  "model_type": "kmoshi",
  "num_attention_heads": 32,
  "num_codebooks": 8,
  "num_hidden_layers": 36,
  "num_key_value_heads": 8,
  "pad_token_id": null,
  "rms_norm_eps": 1e-06,
  "rope_parameters": {
    "rope_theta": 1000000.0,
    "rope_type": "default"
  },
  "sliding_window": 3000,
  "tie_word_embeddings": false,
  "transformers_version": "5.14.0.dev0",
  "use_cache": true,
  "vocab_size": 151936
}