Upload folder using huggingface_hub
#1
by
awni
- opened
- README.md +14 -0
- config.json +38 -0
- model.safetensors +3 -0
- model.safetensors.index.json +79 -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-32khz-float32](https://huggingface.co/mlx-community/encodec-32khz-float32) was
|
10 |
+
converted to MLX format from
|
11 |
+
[facebook/encodec_32khz](https://huggingface.co/facebook/encodec_32khz).
|
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,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"EncodecModel"
|
4 |
+
],
|
5 |
+
"audio_channels": 1,
|
6 |
+
"chunk_length_s": null,
|
7 |
+
"codebook_dim": 128,
|
8 |
+
"codebook_size": 2048,
|
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": "weight_norm",
|
16 |
+
"normalize": false,
|
17 |
+
"num_filters": 64,
|
18 |
+
"num_lstm_layers": 2,
|
19 |
+
"num_residual_layers": 1,
|
20 |
+
"overlap": null,
|
21 |
+
"pad_mode": "reflect",
|
22 |
+
"residual_kernel_size": 3,
|
23 |
+
"sampling_rate": 32000,
|
24 |
+
"target_bandwidths": [
|
25 |
+
2.2
|
26 |
+
],
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.31.0.dev0",
|
29 |
+
"trim_right_ratio": 1.0,
|
30 |
+
"upsampling_ratios": [
|
31 |
+
8,
|
32 |
+
5,
|
33 |
+
4,
|
34 |
+
4
|
35 |
+
],
|
36 |
+
"use_causal_conv": false,
|
37 |
+
"use_conv_shortcut": false
|
38 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83419adc669a1f196bb36634fd4e3da825d17cdbb8d3e427daa1dc399a463075
|
3 |
+
size 231643157
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 231635716
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"decoder.layers.0.conv.bias": "model.safetensors",
|
7 |
+
"decoder.layers.0.conv.weight": "model.safetensors",
|
8 |
+
"decoder.layers.1.lstm.0.Wh": "model.safetensors",
|
9 |
+
"decoder.layers.1.lstm.0.Wx": "model.safetensors",
|
10 |
+
"decoder.layers.1.lstm.0.bias": "model.safetensors",
|
11 |
+
"decoder.layers.1.lstm.1.Wh": "model.safetensors",
|
12 |
+
"decoder.layers.1.lstm.1.Wx": "model.safetensors",
|
13 |
+
"decoder.layers.1.lstm.1.bias": "model.safetensors",
|
14 |
+
"decoder.layers.10.block.1.conv.bias": "model.safetensors",
|
15 |
+
"decoder.layers.10.block.1.conv.weight": "model.safetensors",
|
16 |
+
"decoder.layers.10.block.3.conv.bias": "model.safetensors",
|
17 |
+
"decoder.layers.10.block.3.conv.weight": "model.safetensors",
|
18 |
+
"decoder.layers.12.conv.bias": "model.safetensors",
|
19 |
+
"decoder.layers.12.conv.weight": "model.safetensors",
|
20 |
+
"decoder.layers.13.block.1.conv.bias": "model.safetensors",
|
21 |
+
"decoder.layers.13.block.1.conv.weight": "model.safetensors",
|
22 |
+
"decoder.layers.13.block.3.conv.bias": "model.safetensors",
|
23 |
+
"decoder.layers.13.block.3.conv.weight": "model.safetensors",
|
24 |
+
"decoder.layers.15.conv.bias": "model.safetensors",
|
25 |
+
"decoder.layers.15.conv.weight": "model.safetensors",
|
26 |
+
"decoder.layers.3.conv.bias": "model.safetensors",
|
27 |
+
"decoder.layers.3.conv.weight": "model.safetensors",
|
28 |
+
"decoder.layers.4.block.1.conv.bias": "model.safetensors",
|
29 |
+
"decoder.layers.4.block.1.conv.weight": "model.safetensors",
|
30 |
+
"decoder.layers.4.block.3.conv.bias": "model.safetensors",
|
31 |
+
"decoder.layers.4.block.3.conv.weight": "model.safetensors",
|
32 |
+
"decoder.layers.6.conv.bias": "model.safetensors",
|
33 |
+
"decoder.layers.6.conv.weight": "model.safetensors",
|
34 |
+
"decoder.layers.7.block.1.conv.bias": "model.safetensors",
|
35 |
+
"decoder.layers.7.block.1.conv.weight": "model.safetensors",
|
36 |
+
"decoder.layers.7.block.3.conv.bias": "model.safetensors",
|
37 |
+
"decoder.layers.7.block.3.conv.weight": "model.safetensors",
|
38 |
+
"decoder.layers.9.conv.bias": "model.safetensors",
|
39 |
+
"decoder.layers.9.conv.weight": "model.safetensors",
|
40 |
+
"encoder.layers.0.conv.bias": "model.safetensors",
|
41 |
+
"encoder.layers.0.conv.weight": "model.safetensors",
|
42 |
+
"encoder.layers.1.block.1.conv.bias": "model.safetensors",
|
43 |
+
"encoder.layers.1.block.1.conv.weight": "model.safetensors",
|
44 |
+
"encoder.layers.1.block.3.conv.bias": "model.safetensors",
|
45 |
+
"encoder.layers.1.block.3.conv.weight": "model.safetensors",
|
46 |
+
"encoder.layers.10.block.1.conv.bias": "model.safetensors",
|
47 |
+
"encoder.layers.10.block.1.conv.weight": "model.safetensors",
|
48 |
+
"encoder.layers.10.block.3.conv.bias": "model.safetensors",
|
49 |
+
"encoder.layers.10.block.3.conv.weight": "model.safetensors",
|
50 |
+
"encoder.layers.12.conv.bias": "model.safetensors",
|
51 |
+
"encoder.layers.12.conv.weight": "model.safetensors",
|
52 |
+
"encoder.layers.13.lstm.0.Wh": "model.safetensors",
|
53 |
+
"encoder.layers.13.lstm.0.Wx": "model.safetensors",
|
54 |
+
"encoder.layers.13.lstm.0.bias": "model.safetensors",
|
55 |
+
"encoder.layers.13.lstm.1.Wh": "model.safetensors",
|
56 |
+
"encoder.layers.13.lstm.1.Wx": "model.safetensors",
|
57 |
+
"encoder.layers.13.lstm.1.bias": "model.safetensors",
|
58 |
+
"encoder.layers.15.conv.bias": "model.safetensors",
|
59 |
+
"encoder.layers.15.conv.weight": "model.safetensors",
|
60 |
+
"encoder.layers.3.conv.bias": "model.safetensors",
|
61 |
+
"encoder.layers.3.conv.weight": "model.safetensors",
|
62 |
+
"encoder.layers.4.block.1.conv.bias": "model.safetensors",
|
63 |
+
"encoder.layers.4.block.1.conv.weight": "model.safetensors",
|
64 |
+
"encoder.layers.4.block.3.conv.bias": "model.safetensors",
|
65 |
+
"encoder.layers.4.block.3.conv.weight": "model.safetensors",
|
66 |
+
"encoder.layers.6.conv.bias": "model.safetensors",
|
67 |
+
"encoder.layers.6.conv.weight": "model.safetensors",
|
68 |
+
"encoder.layers.7.block.1.conv.bias": "model.safetensors",
|
69 |
+
"encoder.layers.7.block.1.conv.weight": "model.safetensors",
|
70 |
+
"encoder.layers.7.block.3.conv.bias": "model.safetensors",
|
71 |
+
"encoder.layers.7.block.3.conv.weight": "model.safetensors",
|
72 |
+
"encoder.layers.9.conv.bias": "model.safetensors",
|
73 |
+
"encoder.layers.9.conv.weight": "model.safetensors",
|
74 |
+
"quantizer.layers.0.codebook.embed": "model.safetensors",
|
75 |
+
"quantizer.layers.1.codebook.embed": "model.safetensors",
|
76 |
+
"quantizer.layers.2.codebook.embed": "model.safetensors",
|
77 |
+
"quantizer.layers.3.codebook.embed": "model.safetensors"
|
78 |
+
}
|
79 |
+
}
|