awni commited on
Commit
7a68265
1 Parent(s): 8837d53

1ee246a537292ad6b95172d20fbd509fd55bb30f0917f4d2328d7c6008281ceb

Browse files
Files changed (4) hide show
  1. README.md +14 -0
  2. config.json +41 -0
  3. model.safetensors +3 -0
  4. model.safetensors.index.json +123 -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-24khz-float32](https://huggingface.co/mlx-community/encodec-24khz-float32) was
10
+ converted to MLX format from
11
+ [facebook/encodec_24khz](https://huggingface.co/facebook/encodec_24khz).
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,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "EncodecModel"
4
+ ],
5
+ "audio_channels": 1,
6
+ "chunk_length_s": null,
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": "weight_norm",
16
+ "normalize": false,
17
+ "num_filters": 32,
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": 24000,
24
+ "target_bandwidths": [
25
+ 1.5,
26
+ 3.0,
27
+ 6.0,
28
+ 12.0,
29
+ 24.0
30
+ ],
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.31.0.dev0",
33
+ "trim_right_ratio": 1.0,
34
+ "upsampling_ratios": [
35
+ 8,
36
+ 5,
37
+ 4,
38
+ 2
39
+ ],
40
+ "use_causal_conv": true
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b910ca63030574b9d6c74ce32f43a8bf09bc40cc038dff22bf879f1b45f1ddc5
3
+ size 76143708
model.safetensors.index.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 76131716
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.10.shortcut.conv.bias": "model.safetensors",
19
+ "decoder.layers.10.shortcut.conv.weight": "model.safetensors",
20
+ "decoder.layers.12.conv.bias": "model.safetensors",
21
+ "decoder.layers.12.conv.weight": "model.safetensors",
22
+ "decoder.layers.13.block.1.conv.bias": "model.safetensors",
23
+ "decoder.layers.13.block.1.conv.weight": "model.safetensors",
24
+ "decoder.layers.13.block.3.conv.bias": "model.safetensors",
25
+ "decoder.layers.13.block.3.conv.weight": "model.safetensors",
26
+ "decoder.layers.13.shortcut.conv.bias": "model.safetensors",
27
+ "decoder.layers.13.shortcut.conv.weight": "model.safetensors",
28
+ "decoder.layers.15.conv.bias": "model.safetensors",
29
+ "decoder.layers.15.conv.weight": "model.safetensors",
30
+ "decoder.layers.3.conv.bias": "model.safetensors",
31
+ "decoder.layers.3.conv.weight": "model.safetensors",
32
+ "decoder.layers.4.block.1.conv.bias": "model.safetensors",
33
+ "decoder.layers.4.block.1.conv.weight": "model.safetensors",
34
+ "decoder.layers.4.block.3.conv.bias": "model.safetensors",
35
+ "decoder.layers.4.block.3.conv.weight": "model.safetensors",
36
+ "decoder.layers.4.shortcut.conv.bias": "model.safetensors",
37
+ "decoder.layers.4.shortcut.conv.weight": "model.safetensors",
38
+ "decoder.layers.6.conv.bias": "model.safetensors",
39
+ "decoder.layers.6.conv.weight": "model.safetensors",
40
+ "decoder.layers.7.block.1.conv.bias": "model.safetensors",
41
+ "decoder.layers.7.block.1.conv.weight": "model.safetensors",
42
+ "decoder.layers.7.block.3.conv.bias": "model.safetensors",
43
+ "decoder.layers.7.block.3.conv.weight": "model.safetensors",
44
+ "decoder.layers.7.shortcut.conv.bias": "model.safetensors",
45
+ "decoder.layers.7.shortcut.conv.weight": "model.safetensors",
46
+ "decoder.layers.9.conv.bias": "model.safetensors",
47
+ "decoder.layers.9.conv.weight": "model.safetensors",
48
+ "encoder.layers.0.conv.bias": "model.safetensors",
49
+ "encoder.layers.0.conv.weight": "model.safetensors",
50
+ "encoder.layers.1.block.1.conv.bias": "model.safetensors",
51
+ "encoder.layers.1.block.1.conv.weight": "model.safetensors",
52
+ "encoder.layers.1.block.3.conv.bias": "model.safetensors",
53
+ "encoder.layers.1.block.3.conv.weight": "model.safetensors",
54
+ "encoder.layers.1.shortcut.conv.bias": "model.safetensors",
55
+ "encoder.layers.1.shortcut.conv.weight": "model.safetensors",
56
+ "encoder.layers.10.block.1.conv.bias": "model.safetensors",
57
+ "encoder.layers.10.block.1.conv.weight": "model.safetensors",
58
+ "encoder.layers.10.block.3.conv.bias": "model.safetensors",
59
+ "encoder.layers.10.block.3.conv.weight": "model.safetensors",
60
+ "encoder.layers.10.shortcut.conv.bias": "model.safetensors",
61
+ "encoder.layers.10.shortcut.conv.weight": "model.safetensors",
62
+ "encoder.layers.12.conv.bias": "model.safetensors",
63
+ "encoder.layers.12.conv.weight": "model.safetensors",
64
+ "encoder.layers.13.lstm.0.Wh": "model.safetensors",
65
+ "encoder.layers.13.lstm.0.Wx": "model.safetensors",
66
+ "encoder.layers.13.lstm.0.bias": "model.safetensors",
67
+ "encoder.layers.13.lstm.1.Wh": "model.safetensors",
68
+ "encoder.layers.13.lstm.1.Wx": "model.safetensors",
69
+ "encoder.layers.13.lstm.1.bias": "model.safetensors",
70
+ "encoder.layers.15.conv.bias": "model.safetensors",
71
+ "encoder.layers.15.conv.weight": "model.safetensors",
72
+ "encoder.layers.3.conv.bias": "model.safetensors",
73
+ "encoder.layers.3.conv.weight": "model.safetensors",
74
+ "encoder.layers.4.block.1.conv.bias": "model.safetensors",
75
+ "encoder.layers.4.block.1.conv.weight": "model.safetensors",
76
+ "encoder.layers.4.block.3.conv.bias": "model.safetensors",
77
+ "encoder.layers.4.block.3.conv.weight": "model.safetensors",
78
+ "encoder.layers.4.shortcut.conv.bias": "model.safetensors",
79
+ "encoder.layers.4.shortcut.conv.weight": "model.safetensors",
80
+ "encoder.layers.6.conv.bias": "model.safetensors",
81
+ "encoder.layers.6.conv.weight": "model.safetensors",
82
+ "encoder.layers.7.block.1.conv.bias": "model.safetensors",
83
+ "encoder.layers.7.block.1.conv.weight": "model.safetensors",
84
+ "encoder.layers.7.block.3.conv.bias": "model.safetensors",
85
+ "encoder.layers.7.block.3.conv.weight": "model.safetensors",
86
+ "encoder.layers.7.shortcut.conv.bias": "model.safetensors",
87
+ "encoder.layers.7.shortcut.conv.weight": "model.safetensors",
88
+ "encoder.layers.9.conv.bias": "model.safetensors",
89
+ "encoder.layers.9.conv.weight": "model.safetensors",
90
+ "quantizer.layers.0.codebook.embed": "model.safetensors",
91
+ "quantizer.layers.1.codebook.embed": "model.safetensors",
92
+ "quantizer.layers.10.codebook.embed": "model.safetensors",
93
+ "quantizer.layers.11.codebook.embed": "model.safetensors",
94
+ "quantizer.layers.12.codebook.embed": "model.safetensors",
95
+ "quantizer.layers.13.codebook.embed": "model.safetensors",
96
+ "quantizer.layers.14.codebook.embed": "model.safetensors",
97
+ "quantizer.layers.15.codebook.embed": "model.safetensors",
98
+ "quantizer.layers.16.codebook.embed": "model.safetensors",
99
+ "quantizer.layers.17.codebook.embed": "model.safetensors",
100
+ "quantizer.layers.18.codebook.embed": "model.safetensors",
101
+ "quantizer.layers.19.codebook.embed": "model.safetensors",
102
+ "quantizer.layers.2.codebook.embed": "model.safetensors",
103
+ "quantizer.layers.20.codebook.embed": "model.safetensors",
104
+ "quantizer.layers.21.codebook.embed": "model.safetensors",
105
+ "quantizer.layers.22.codebook.embed": "model.safetensors",
106
+ "quantizer.layers.23.codebook.embed": "model.safetensors",
107
+ "quantizer.layers.24.codebook.embed": "model.safetensors",
108
+ "quantizer.layers.25.codebook.embed": "model.safetensors",
109
+ "quantizer.layers.26.codebook.embed": "model.safetensors",
110
+ "quantizer.layers.27.codebook.embed": "model.safetensors",
111
+ "quantizer.layers.28.codebook.embed": "model.safetensors",
112
+ "quantizer.layers.29.codebook.embed": "model.safetensors",
113
+ "quantizer.layers.3.codebook.embed": "model.safetensors",
114
+ "quantizer.layers.30.codebook.embed": "model.safetensors",
115
+ "quantizer.layers.31.codebook.embed": "model.safetensors",
116
+ "quantizer.layers.4.codebook.embed": "model.safetensors",
117
+ "quantizer.layers.5.codebook.embed": "model.safetensors",
118
+ "quantizer.layers.6.codebook.embed": "model.safetensors",
119
+ "quantizer.layers.7.codebook.embed": "model.safetensors",
120
+ "quantizer.layers.8.codebook.embed": "model.safetensors",
121
+ "quantizer.layers.9.codebook.embed": "model.safetensors"
122
+ }
123
+ }