Commit ·
1f09dde
0
Parent(s):
Super-squash branch 'main' using huggingface_hub
Browse files- .gitattributes +35 -0
- README.md +26 -0
- compressor.onnx +3 -0
- contour.onnx +3 -0
- stats.json +201 -0
- tension.onnx +3 -0
- trim.onnx +3 -0
- wavlm_base_plus.onnx +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- audio
|
| 5 |
+
- voice
|
| 6 |
+
- onnx
|
| 7 |
+
- wavlm
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# pbTrueVoiceLeveler ONNX models
|
| 11 |
+
|
| 12 |
+
ONNX models for **pbTrueVoiceLeveler** (idempotent voice leveling).
|
| 13 |
+
|
| 14 |
+
| file | content |
|
| 15 |
+
|---|---|
|
| 16 |
+
| `wavlm_base_plus.onnx` | WavLM Base+ 12-layer feature extractor. input `audio[B,N]` (16k, RMS-normalized) -> `layers[B,T,12,768]` |
|
| 17 |
+
| `tension.onnx` | TensionNet: clip features -> target LUFS/dynrange + bounded 16-band residual |
|
| 18 |
+
| `compressor.onnx` | CompressorNet: clip features -> (strength, thr_off) |
|
| 19 |
+
| `trim.onnx` | TrimNet: frame features -> keep logit [B,T] |
|
| 20 |
+
| `contour.onnx` | LoudnessContourNet: frame features -> relative loudness [B,T] |
|
| 21 |
+
| `stats.json` | standardization stats + band centers (pre/post-processing) |
|
| 22 |
+
|
| 23 |
+
All fp32, opset 17, dynamic batch/time axes. Numerically equivalent to the PyTorch originals
|
| 24 |
+
(max abs diff < 1e-4 for nets, < 1e-3 for WavLM).
|
| 25 |
+
|
| 26 |
+
WavLM Base+ original weights: Microsoft WavLM (MIT). This is an ONNX export for inference use.
|
compressor.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6c47e8775dbe83f33c64b169e4245cd9563d14c360773e9dc4100cef1651e6e
|
| 3 |
+
size 4128
|
contour.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc48b20f256fd5feeba983088d0fa1f7c810ed7f95699dc507f5612ad2326d22
|
| 3 |
+
size 323527
|
stats.json
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"hand_mean": [
|
| 3 |
+
0.8247005939483643,
|
| 4 |
+
1.0876652002334595,
|
| 5 |
+
1.3980737924575806,
|
| 6 |
+
0.003092983039095998,
|
| 7 |
+
0.016998110339045525,
|
| 8 |
+
0.5430187582969666,
|
| 9 |
+
0.36897987127304077,
|
| 10 |
+
0.04390266165137291,
|
| 11 |
+
0.021645288914442062,
|
| 12 |
+
0.005342323333024979,
|
| 13 |
+
-10.406497955322266,
|
| 14 |
+
6.043864727020264,
|
| 15 |
+
0.7134523391723633,
|
| 16 |
+
0.5468224883079529,
|
| 17 |
+
18.207645416259766,
|
| 18 |
+
17.32281494140625
|
| 19 |
+
],
|
| 20 |
+
"hand_std": [
|
| 21 |
+
0.43672510981559753,
|
| 22 |
+
0.6927884817123413,
|
| 23 |
+
1.577569842338562,
|
| 24 |
+
0.0030944424215704203,
|
| 25 |
+
0.034547824412584305,
|
| 26 |
+
0.22783923149108887,
|
| 27 |
+
0.23976890742778778,
|
| 28 |
+
0.05253620445728302,
|
| 29 |
+
0.04673965275287628,
|
| 30 |
+
0.01221376657485962,
|
| 31 |
+
2.648101329803467,
|
| 32 |
+
2.599325656890869,
|
| 33 |
+
0.36470016837120056,
|
| 34 |
+
0.10297990590333939,
|
| 35 |
+
2.1968021392822266,
|
| 36 |
+
2.201693296432495
|
| 37 |
+
],
|
| 38 |
+
"tgt_mean": [
|
| 39 |
+
-28.275049209594727,
|
| 40 |
+
15.87100887298584,
|
| 41 |
+
16.849992752075195,
|
| 42 |
+
1.1245465278625488,
|
| 43 |
+
1.8059496879577637,
|
| 44 |
+
1.5384730100631714,
|
| 45 |
+
2.1794867515563965,
|
| 46 |
+
1.0911192893981934,
|
| 47 |
+
0.1668255478143692,
|
| 48 |
+
-0.3728558123111725,
|
| 49 |
+
-0.5393341183662415,
|
| 50 |
+
-0.4481179118156433,
|
| 51 |
+
-0.626317024230957,
|
| 52 |
+
-0.5533212423324585,
|
| 53 |
+
-1.257381796836853,
|
| 54 |
+
-1.4533828496932983,
|
| 55 |
+
-1.2536845207214355,
|
| 56 |
+
-1.0984221696853638,
|
| 57 |
+
-0.2648342549800873
|
| 58 |
+
],
|
| 59 |
+
"tgt_std": [
|
| 60 |
+
2.976301908493042,
|
| 61 |
+
1.8337033987045288,
|
| 62 |
+
2.3204894065856934,
|
| 63 |
+
2.503650665283203,
|
| 64 |
+
2.658596992492676,
|
| 65 |
+
2.2184300422668457,
|
| 66 |
+
3.0965473651885986,
|
| 67 |
+
2.2954437732696533,
|
| 68 |
+
1.703050971031189,
|
| 69 |
+
1.7998127937316895,
|
| 70 |
+
2.5607945919036865,
|
| 71 |
+
2.648752450942993,
|
| 72 |
+
1.7743725776672363,
|
| 73 |
+
1.8354082107543945,
|
| 74 |
+
2.1120643615722656,
|
| 75 |
+
2.8958237171173096,
|
| 76 |
+
3.065124273300171,
|
| 77 |
+
2.741800546646118,
|
| 78 |
+
1.4787986278533936
|
| 79 |
+
],
|
| 80 |
+
"contour_mean": 0.0,
|
| 81 |
+
"contour_std": 1.7811644077301025,
|
| 82 |
+
"band_centers": [
|
| 83 |
+
31.5,
|
| 84 |
+
50.0,
|
| 85 |
+
80.0,
|
| 86 |
+
125.0,
|
| 87 |
+
200.0,
|
| 88 |
+
315.0,
|
| 89 |
+
500.0,
|
| 90 |
+
800.0,
|
| 91 |
+
1250.0,
|
| 92 |
+
2000.0,
|
| 93 |
+
3150.0,
|
| 94 |
+
5000.0,
|
| 95 |
+
6300.0,
|
| 96 |
+
8000.0,
|
| 97 |
+
11000.0,
|
| 98 |
+
16000.0
|
| 99 |
+
],
|
| 100 |
+
"meta": {
|
| 101 |
+
"artifact_layout_version": 5,
|
| 102 |
+
"model_name": "voiceleveler",
|
| 103 |
+
"source_pt_sha256": "d828bc0286dc846400ea85b2f45d560e91fc16454fcc8999c47e08db94014174",
|
| 104 |
+
"source_pt_size_bytes": 997894,
|
| 105 |
+
"generated_at_utc": "2026-09-16T05:14:46Z",
|
| 106 |
+
"onnx_sha256": {
|
| 107 |
+
"tension.onnx": "f97dc24954f7d2bb08d35654883010071ae1714a3fae80e3a9c2091f46d2e4b0",
|
| 108 |
+
"compressor.onnx": "d6c47e8775dbe83f33c64b169e4245cd9563d14c360773e9dc4100cef1651e6e",
|
| 109 |
+
"trim.onnx": "14225047b122debd331f93ab827fb275b7f127dd76a800282b6b4d1d89779222",
|
| 110 |
+
"contour.onnx": "cc48b20f256fd5feeba983088d0fa1f7c810ed7f95699dc507f5612ad2326d22"
|
| 111 |
+
},
|
| 112 |
+
"shared_wavlm_sha256": "64ce575658c0d50b8e9ce23390f9b2db731977ac8c3c8ace34ad7cce0e7ce0ea",
|
| 113 |
+
"shared_wavlm_provenance": "verified_training",
|
| 114 |
+
"n_handcraft_clip": 16,
|
| 115 |
+
"n_handcraft_frame": 10,
|
| 116 |
+
"wavlm_layers": 12,
|
| 117 |
+
"wavlm_dim": 768,
|
| 118 |
+
"n_targets": 19,
|
| 119 |
+
"n_bands": 16,
|
| 120 |
+
"opset": 17,
|
| 121 |
+
"tension_schema": "lufs_crest_dyn_residual_env_v4",
|
| 122 |
+
"spectral_mode": "residual",
|
| 123 |
+
"dynamics_projection": true,
|
| 124 |
+
"contour_runtime_projection": false,
|
| 125 |
+
"contour_conditioning": "wavlm_handcraft_peak_v2",
|
| 126 |
+
"compressor_schema": "soft_knee_downward_v2",
|
| 127 |
+
"dynamics_contour_schema": "residual_gain_v2",
|
| 128 |
+
"trim_schema": "soft_boundary_v2",
|
| 129 |
+
"clip_feature_schema": "hand16_relpitch_iqr_diffmad_v2",
|
| 130 |
+
"tension_arch_schema": "mlp_state_wav_bounded_v3",
|
| 131 |
+
"compressor_conditioning_schema": "tension_shape_hand_zerofloor_v2",
|
| 132 |
+
"tension_state_indices": [
|
| 133 |
+
0,
|
| 134 |
+
1,
|
| 135 |
+
2,
|
| 136 |
+
3,
|
| 137 |
+
4,
|
| 138 |
+
5,
|
| 139 |
+
6,
|
| 140 |
+
7,
|
| 141 |
+
8,
|
| 142 |
+
9,
|
| 143 |
+
10,
|
| 144 |
+
11,
|
| 145 |
+
12,
|
| 146 |
+
13,
|
| 147 |
+
14,
|
| 148 |
+
15
|
| 149 |
+
],
|
| 150 |
+
"compressor_hand_indices": [
|
| 151 |
+
13,
|
| 152 |
+
14,
|
| 153 |
+
15
|
| 154 |
+
],
|
| 155 |
+
"tension_state_shrink": 1.0,
|
| 156 |
+
"tension_state_ridge_lambda": 0.0,
|
| 157 |
+
"compressor_zero_floor": 0.05,
|
| 158 |
+
"frame_feature_schema": "frame10_peak_v2"
|
| 159 |
+
},
|
| 160 |
+
"training": {
|
| 161 |
+
"training_schema": 5,
|
| 162 |
+
"tension_schema": "lufs_crest_dyn_residual_env_v4",
|
| 163 |
+
"frame_feature_schema": "frame10_peak_v2",
|
| 164 |
+
"spectral_mode": "residual",
|
| 165 |
+
"dynamics_projection": true,
|
| 166 |
+
"contour_runtime_projection": false,
|
| 167 |
+
"contour_conditioning": "wavlm_handcraft_peak_v2",
|
| 168 |
+
"compressor_schema": "soft_knee_downward_v2",
|
| 169 |
+
"dynamics_contour_schema": "residual_gain_v2",
|
| 170 |
+
"trim_schema": "soft_boundary_v2",
|
| 171 |
+
"clip_feature_schema": "hand16_relpitch_iqr_diffmad_v2",
|
| 172 |
+
"tension_arch_schema": "mlp_state_wav_bounded_v3",
|
| 173 |
+
"tension_state_shrink": 1.0,
|
| 174 |
+
"tension_state_ridge_lambda": 0.0,
|
| 175 |
+
"compressor_conditioning_schema": "tension_shape_hand_zerofloor_v2",
|
| 176 |
+
"tension_state_indices": [
|
| 177 |
+
0,
|
| 178 |
+
1,
|
| 179 |
+
2,
|
| 180 |
+
3,
|
| 181 |
+
4,
|
| 182 |
+
5,
|
| 183 |
+
6,
|
| 184 |
+
7,
|
| 185 |
+
8,
|
| 186 |
+
9,
|
| 187 |
+
10,
|
| 188 |
+
11,
|
| 189 |
+
12,
|
| 190 |
+
13,
|
| 191 |
+
14,
|
| 192 |
+
15
|
| 193 |
+
],
|
| 194 |
+
"compressor_hand_indices": [
|
| 195 |
+
13,
|
| 196 |
+
14,
|
| 197 |
+
15
|
| 198 |
+
],
|
| 199 |
+
"compressor_zero_floor": 0.05
|
| 200 |
+
}
|
| 201 |
+
}
|
tension.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f97dc24954f7d2bb08d35654883010071ae1714a3fae80e3a9c2091f46d2e4b0
|
| 3 |
+
size 106692
|
trim.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14225047b122debd331f93ab827fb275b7f127dd76a800282b6b4d1d89779222
|
| 3 |
+
size 483481
|
wavlm_base_plus.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64ce575658c0d50b8e9ce23390f9b2db731977ac8c3c8ace34ad7cce0e7ce0ea
|
| 3 |
+
size 377837042
|