Upload folder using huggingface_hub

#1
Files changed (4) hide show
  1. README.md +14 -0
  2. config.json +40 -0
  3. model.safetensors +3 -0
  4. model.safetensors.index.json +179 -0
README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: other
4
+ tags:
5
+ - mlx
6
+ library: mlx
7
+ ---
8
+
9
+ The Model [mlx-community/encodec-48khz-bfloat16](https://huggingface.co/mlx-community/encodec-48khz-bfloat16) was
10
+ converted to MLX format from
11
+ [facebook/encodec_48khz](https://huggingface.co/facebook/encodec_48khz).
12
+
13
+ This model is intended to be used with the [EnCodec MLX
14
+ example](https://github.com/ml-explore/mlx-examples/tree/main/encodec).
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "EncodecModel"
4
+ ],
5
+ "audio_channels": 2,
6
+ "chunk_length_s": 1.0,
7
+ "codebook_dim": 128,
8
+ "codebook_size": 1024,
9
+ "compress": 2,
10
+ "dilation_growth_rate": 2,
11
+ "hidden_size": 128,
12
+ "kernel_size": 7,
13
+ "last_kernel_size": 7,
14
+ "model_type": "encodec",
15
+ "norm_type": "time_group_norm",
16
+ "normalize": true,
17
+ "num_filters": 32,
18
+ "num_lstm_layers": 2,
19
+ "num_residual_layers": 1,
20
+ "overlap": 0.01,
21
+ "pad_mode": "reflect",
22
+ "residual_kernel_size": 3,
23
+ "sampling_rate": 48000,
24
+ "target_bandwidths": [
25
+ 3.0,
26
+ 6.0,
27
+ 12.0,
28
+ 24.0
29
+ ],
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.31.0.dev0",
32
+ "trim_right_ratio": 1.0,
33
+ "upsampling_ratios": [
34
+ 8,
35
+ 5,
36
+ 4,
37
+ 2
38
+ ],
39
+ "use_causal_conv": false
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ffb6d719d82badf57e81e422f5b1762f1ba84cce8f835132f4c219418e233a9
3
+ size 33907990
model.safetensors.index.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 33890508
4
+ },
5
+ "weight_map": {
6
+ "decoder.layers.0.conv.bias": "model.safetensors",
7
+ "decoder.layers.0.conv.weight": "model.safetensors",
8
+ "decoder.layers.0.norm.bias": "model.safetensors",
9
+ "decoder.layers.0.norm.weight": "model.safetensors",
10
+ "decoder.layers.1.lstm.0.Wh": "model.safetensors",
11
+ "decoder.layers.1.lstm.0.Wx": "model.safetensors",
12
+ "decoder.layers.1.lstm.0.bias": "model.safetensors",
13
+ "decoder.layers.1.lstm.1.Wh": "model.safetensors",
14
+ "decoder.layers.1.lstm.1.Wx": "model.safetensors",
15
+ "decoder.layers.1.lstm.1.bias": "model.safetensors",
16
+ "decoder.layers.10.block.1.conv.bias": "model.safetensors",
17
+ "decoder.layers.10.block.1.conv.weight": "model.safetensors",
18
+ "decoder.layers.10.block.1.norm.bias": "model.safetensors",
19
+ "decoder.layers.10.block.1.norm.weight": "model.safetensors",
20
+ "decoder.layers.10.block.3.conv.bias": "model.safetensors",
21
+ "decoder.layers.10.block.3.conv.weight": "model.safetensors",
22
+ "decoder.layers.10.block.3.norm.bias": "model.safetensors",
23
+ "decoder.layers.10.block.3.norm.weight": "model.safetensors",
24
+ "decoder.layers.10.shortcut.conv.bias": "model.safetensors",
25
+ "decoder.layers.10.shortcut.conv.weight": "model.safetensors",
26
+ "decoder.layers.10.shortcut.norm.bias": "model.safetensors",
27
+ "decoder.layers.10.shortcut.norm.weight": "model.safetensors",
28
+ "decoder.layers.12.conv.bias": "model.safetensors",
29
+ "decoder.layers.12.conv.weight": "model.safetensors",
30
+ "decoder.layers.12.norm.bias": "model.safetensors",
31
+ "decoder.layers.12.norm.weight": "model.safetensors",
32
+ "decoder.layers.13.block.1.conv.bias": "model.safetensors",
33
+ "decoder.layers.13.block.1.conv.weight": "model.safetensors",
34
+ "decoder.layers.13.block.1.norm.bias": "model.safetensors",
35
+ "decoder.layers.13.block.1.norm.weight": "model.safetensors",
36
+ "decoder.layers.13.block.3.conv.bias": "model.safetensors",
37
+ "decoder.layers.13.block.3.conv.weight": "model.safetensors",
38
+ "decoder.layers.13.block.3.norm.bias": "model.safetensors",
39
+ "decoder.layers.13.block.3.norm.weight": "model.safetensors",
40
+ "decoder.layers.13.shortcut.conv.bias": "model.safetensors",
41
+ "decoder.layers.13.shortcut.conv.weight": "model.safetensors",
42
+ "decoder.layers.13.shortcut.norm.bias": "model.safetensors",
43
+ "decoder.layers.13.shortcut.norm.weight": "model.safetensors",
44
+ "decoder.layers.15.conv.bias": "model.safetensors",
45
+ "decoder.layers.15.conv.weight": "model.safetensors",
46
+ "decoder.layers.15.norm.bias": "model.safetensors",
47
+ "decoder.layers.15.norm.weight": "model.safetensors",
48
+ "decoder.layers.3.conv.bias": "model.safetensors",
49
+ "decoder.layers.3.conv.weight": "model.safetensors",
50
+ "decoder.layers.3.norm.bias": "model.safetensors",
51
+ "decoder.layers.3.norm.weight": "model.safetensors",
52
+ "decoder.layers.4.block.1.conv.bias": "model.safetensors",
53
+ "decoder.layers.4.block.1.conv.weight": "model.safetensors",
54
+ "decoder.layers.4.block.1.norm.bias": "model.safetensors",
55
+ "decoder.layers.4.block.1.norm.weight": "model.safetensors",
56
+ "decoder.layers.4.block.3.conv.bias": "model.safetensors",
57
+ "decoder.layers.4.block.3.conv.weight": "model.safetensors",
58
+ "decoder.layers.4.block.3.norm.bias": "model.safetensors",
59
+ "decoder.layers.4.block.3.norm.weight": "model.safetensors",
60
+ "decoder.layers.4.shortcut.conv.bias": "model.safetensors",
61
+ "decoder.layers.4.shortcut.conv.weight": "model.safetensors",
62
+ "decoder.layers.4.shortcut.norm.bias": "model.safetensors",
63
+ "decoder.layers.4.shortcut.norm.weight": "model.safetensors",
64
+ "decoder.layers.6.conv.bias": "model.safetensors",
65
+ "decoder.layers.6.conv.weight": "model.safetensors",
66
+ "decoder.layers.6.norm.bias": "model.safetensors",
67
+ "decoder.layers.6.norm.weight": "model.safetensors",
68
+ "decoder.layers.7.block.1.conv.bias": "model.safetensors",
69
+ "decoder.layers.7.block.1.conv.weight": "model.safetensors",
70
+ "decoder.layers.7.block.1.norm.bias": "model.safetensors",
71
+ "decoder.layers.7.block.1.norm.weight": "model.safetensors",
72
+ "decoder.layers.7.block.3.conv.bias": "model.safetensors",
73
+ "decoder.layers.7.block.3.conv.weight": "model.safetensors",
74
+ "decoder.layers.7.block.3.norm.bias": "model.safetensors",
75
+ "decoder.layers.7.block.3.norm.weight": "model.safetensors",
76
+ "decoder.layers.7.shortcut.conv.bias": "model.safetensors",
77
+ "decoder.layers.7.shortcut.conv.weight": "model.safetensors",
78
+ "decoder.layers.7.shortcut.norm.bias": "model.safetensors",
79
+ "decoder.layers.7.shortcut.norm.weight": "model.safetensors",
80
+ "decoder.layers.9.conv.bias": "model.safetensors",
81
+ "decoder.layers.9.conv.weight": "model.safetensors",
82
+ "decoder.layers.9.norm.bias": "model.safetensors",
83
+ "decoder.layers.9.norm.weight": "model.safetensors",
84
+ "encoder.layers.0.conv.bias": "model.safetensors",
85
+ "encoder.layers.0.conv.weight": "model.safetensors",
86
+ "encoder.layers.0.norm.bias": "model.safetensors",
87
+ "encoder.layers.0.norm.weight": "model.safetensors",
88
+ "encoder.layers.1.block.1.conv.bias": "model.safetensors",
89
+ "encoder.layers.1.block.1.conv.weight": "model.safetensors",
90
+ "encoder.layers.1.block.1.norm.bias": "model.safetensors",
91
+ "encoder.layers.1.block.1.norm.weight": "model.safetensors",
92
+ "encoder.layers.1.block.3.conv.bias": "model.safetensors",
93
+ "encoder.layers.1.block.3.conv.weight": "model.safetensors",
94
+ "encoder.layers.1.block.3.norm.bias": "model.safetensors",
95
+ "encoder.layers.1.block.3.norm.weight": "model.safetensors",
96
+ "encoder.layers.1.shortcut.conv.bias": "model.safetensors",
97
+ "encoder.layers.1.shortcut.conv.weight": "model.safetensors",
98
+ "encoder.layers.1.shortcut.norm.bias": "model.safetensors",
99
+ "encoder.layers.1.shortcut.norm.weight": "model.safetensors",
100
+ "encoder.layers.10.block.1.conv.bias": "model.safetensors",
101
+ "encoder.layers.10.block.1.conv.weight": "model.safetensors",
102
+ "encoder.layers.10.block.1.norm.bias": "model.safetensors",
103
+ "encoder.layers.10.block.1.norm.weight": "model.safetensors",
104
+ "encoder.layers.10.block.3.conv.bias": "model.safetensors",
105
+ "encoder.layers.10.block.3.conv.weight": "model.safetensors",
106
+ "encoder.layers.10.block.3.norm.bias": "model.safetensors",
107
+ "encoder.layers.10.block.3.norm.weight": "model.safetensors",
108
+ "encoder.layers.10.shortcut.conv.bias": "model.safetensors",
109
+ "encoder.layers.10.shortcut.conv.weight": "model.safetensors",
110
+ "encoder.layers.10.shortcut.norm.bias": "model.safetensors",
111
+ "encoder.layers.10.shortcut.norm.weight": "model.safetensors",
112
+ "encoder.layers.12.conv.bias": "model.safetensors",
113
+ "encoder.layers.12.conv.weight": "model.safetensors",
114
+ "encoder.layers.12.norm.bias": "model.safetensors",
115
+ "encoder.layers.12.norm.weight": "model.safetensors",
116
+ "encoder.layers.13.lstm.0.Wh": "model.safetensors",
117
+ "encoder.layers.13.lstm.0.Wx": "model.safetensors",
118
+ "encoder.layers.13.lstm.0.bias": "model.safetensors",
119
+ "encoder.layers.13.lstm.1.Wh": "model.safetensors",
120
+ "encoder.layers.13.lstm.1.Wx": "model.safetensors",
121
+ "encoder.layers.13.lstm.1.bias": "model.safetensors",
122
+ "encoder.layers.15.conv.bias": "model.safetensors",
123
+ "encoder.layers.15.conv.weight": "model.safetensors",
124
+ "encoder.layers.15.norm.bias": "model.safetensors",
125
+ "encoder.layers.15.norm.weight": "model.safetensors",
126
+ "encoder.layers.3.conv.bias": "model.safetensors",
127
+ "encoder.layers.3.conv.weight": "model.safetensors",
128
+ "encoder.layers.3.norm.bias": "model.safetensors",
129
+ "encoder.layers.3.norm.weight": "model.safetensors",
130
+ "encoder.layers.4.block.1.conv.bias": "model.safetensors",
131
+ "encoder.layers.4.block.1.conv.weight": "model.safetensors",
132
+ "encoder.layers.4.block.1.norm.bias": "model.safetensors",
133
+ "encoder.layers.4.block.1.norm.weight": "model.safetensors",
134
+ "encoder.layers.4.block.3.conv.bias": "model.safetensors",
135
+ "encoder.layers.4.block.3.conv.weight": "model.safetensors",
136
+ "encoder.layers.4.block.3.norm.bias": "model.safetensors",
137
+ "encoder.layers.4.block.3.norm.weight": "model.safetensors",
138
+ "encoder.layers.4.shortcut.conv.bias": "model.safetensors",
139
+ "encoder.layers.4.shortcut.conv.weight": "model.safetensors",
140
+ "encoder.layers.4.shortcut.norm.bias": "model.safetensors",
141
+ "encoder.layers.4.shortcut.norm.weight": "model.safetensors",
142
+ "encoder.layers.6.conv.bias": "model.safetensors",
143
+ "encoder.layers.6.conv.weight": "model.safetensors",
144
+ "encoder.layers.6.norm.bias": "model.safetensors",
145
+ "encoder.layers.6.norm.weight": "model.safetensors",
146
+ "encoder.layers.7.block.1.conv.bias": "model.safetensors",
147
+ "encoder.layers.7.block.1.conv.weight": "model.safetensors",
148
+ "encoder.layers.7.block.1.norm.bias": "model.safetensors",
149
+ "encoder.layers.7.block.1.norm.weight": "model.safetensors",
150
+ "encoder.layers.7.block.3.conv.bias": "model.safetensors",
151
+ "encoder.layers.7.block.3.conv.weight": "model.safetensors",
152
+ "encoder.layers.7.block.3.norm.bias": "model.safetensors",
153
+ "encoder.layers.7.block.3.norm.weight": "model.safetensors",
154
+ "encoder.layers.7.shortcut.conv.bias": "model.safetensors",
155
+ "encoder.layers.7.shortcut.conv.weight": "model.safetensors",
156
+ "encoder.layers.7.shortcut.norm.bias": "model.safetensors",
157
+ "encoder.layers.7.shortcut.norm.weight": "model.safetensors",
158
+ "encoder.layers.9.conv.bias": "model.safetensors",
159
+ "encoder.layers.9.conv.weight": "model.safetensors",
160
+ "encoder.layers.9.norm.bias": "model.safetensors",
161
+ "encoder.layers.9.norm.weight": "model.safetensors",
162
+ "quantizer.layers.0.codebook.embed": "model.safetensors",
163
+ "quantizer.layers.1.codebook.embed": "model.safetensors",
164
+ "quantizer.layers.10.codebook.embed": "model.safetensors",
165
+ "quantizer.layers.11.codebook.embed": "model.safetensors",
166
+ "quantizer.layers.12.codebook.embed": "model.safetensors",
167
+ "quantizer.layers.13.codebook.embed": "model.safetensors",
168
+ "quantizer.layers.14.codebook.embed": "model.safetensors",
169
+ "quantizer.layers.15.codebook.embed": "model.safetensors",
170
+ "quantizer.layers.2.codebook.embed": "model.safetensors",
171
+ "quantizer.layers.3.codebook.embed": "model.safetensors",
172
+ "quantizer.layers.4.codebook.embed": "model.safetensors",
173
+ "quantizer.layers.5.codebook.embed": "model.safetensors",
174
+ "quantizer.layers.6.codebook.embed": "model.safetensors",
175
+ "quantizer.layers.7.codebook.embed": "model.safetensors",
176
+ "quantizer.layers.8.codebook.embed": "model.safetensors",
177
+ "quantizer.layers.9.codebook.embed": "model.safetensors"
178
+ }
179
+ }