Instructions to use Austin207/voice-fan-controller-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Austin207/voice-fan-controller-model with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://Austin207/voice-fan-controller-model") - Notebooks
- Google Colab
- Kaggle
Add func_mlp_l bundle
Browse files- .gitattributes +1 -0
- func_mlp_l/func_config.json +60 -0
- func_mlp_l/func_mlp_float.keras +3 -0
- func_mlp_l/func_mlp_int8.tflite +3 -0
- func_mlp_l/selected_indices.json +1 -0
- func_mlp_l/standardizer.npz +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
dscnn_xs_best.keras filter=lfs diff=lfs merge=lfs -text
|
| 37 |
func_mlp_m/func_mlp_float.keras filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
dscnn_xs_best.keras filter=lfs diff=lfs merge=lfs -text
|
| 37 |
func_mlp_m/func_mlp_float.keras filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
func_mlp_l/func_mlp_float.keras filter=lfs diff=lfs merge=lfs -text
|
func_mlp_l/func_config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"sample_rate_hz": 20000,
|
| 3 |
+
"capture_window_ms": 1600,
|
| 4 |
+
"n_mfcc": 20,
|
| 5 |
+
"n_mels": 40,
|
| 6 |
+
"n_fft": 512,
|
| 7 |
+
"hop_length": 256,
|
| 8 |
+
"fmin": 125,
|
| 9 |
+
"fmax": 7500,
|
| 10 |
+
"n_segments": 8,
|
| 11 |
+
"channels": [
|
| 12 |
+
"mfcc",
|
| 13 |
+
"delta",
|
| 14 |
+
"delta2"
|
| 15 |
+
],
|
| 16 |
+
"global_stats": [
|
| 17 |
+
"mean",
|
| 18 |
+
"std",
|
| 19 |
+
"p5",
|
| 20 |
+
"p95"
|
| 21 |
+
],
|
| 22 |
+
"segment_stats": [
|
| 23 |
+
"mean",
|
| 24 |
+
"std"
|
| 25 |
+
],
|
| 26 |
+
"full_dim": 1200,
|
| 27 |
+
"clip_sigma": 4.0,
|
| 28 |
+
"note": "1200 = 60 streams (20 mfcc + 20 delta + 20 delta2) x (4 global + 8*2 segment) stats",
|
| 29 |
+
"input_dim": 200,
|
| 30 |
+
"num_classes": 18,
|
| 31 |
+
"select_k": 200,
|
| 32 |
+
"hidden": [
|
| 33 |
+
128,
|
| 34 |
+
64
|
| 35 |
+
],
|
| 36 |
+
"labels": [
|
| 37 |
+
"_silence_",
|
| 38 |
+
"_unknown_",
|
| 39 |
+
"power_on",
|
| 40 |
+
"power_off",
|
| 41 |
+
"speed_1",
|
| 42 |
+
"speed_2",
|
| 43 |
+
"speed_3",
|
| 44 |
+
"speed_4",
|
| 45 |
+
"speed_5",
|
| 46 |
+
"speed_6",
|
| 47 |
+
"mode_boost",
|
| 48 |
+
"mode_nature",
|
| 49 |
+
"mode_reverse",
|
| 50 |
+
"mode_smart",
|
| 51 |
+
"timer_off",
|
| 52 |
+
"timer_2h",
|
| 53 |
+
"timer_4h",
|
| 54 |
+
"timer_8h"
|
| 55 |
+
],
|
| 56 |
+
"val_float_acc": 0.95,
|
| 57 |
+
"val_int8_acc": 0.95,
|
| 58 |
+
"seed": 3,
|
| 59 |
+
"int8_bytes": 38384
|
| 60 |
+
}
|
func_mlp_l/func_mlp_float.keras
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d47e1d938005e665011f09f5e89f59945cf9256a6f2c072c9b39528b2752c8c
|
| 3 |
+
size 473711
|
func_mlp_l/func_mlp_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eac1dec58a2a59db38b12455165ddd62e538e6249a21a4a7f182365a93f476da
|
| 3 |
+
size 38384
|
func_mlp_l/selected_indices.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20, 21, 22, 23, 26, 28, 30, 32, 34, 36, 38, 40, 41, 42, 43, 46, 48, 50, 52, 54, 56, 58, 60, 61, 62, 63, 66, 68, 70, 71, 72, 73, 74, 76, 80, 81, 82, 83, 86, 88, 90, 92, 94, 100, 101, 102, 103, 106, 108, 110, 116, 118, 120, 121, 122, 123, 126, 128, 130, 132, 134, 136, 138, 140, 141, 142, 143, 146, 148, 150, 152, 154, 156, 160, 161, 162, 163, 166, 168, 170, 172, 180, 181, 182, 183, 186, 188, 192, 194, 196, 198, 200, 201, 202, 203, 208, 212, 220, 221, 222, 223, 224, 226, 228, 230, 232, 236, 238, 240, 241, 242, 243, 246, 248, 250, 252, 254, 256, 258, 260, 262, 263, 266, 280, 281, 282, 283, 300, 320, 322, 323, 332, 334, 340, 342, 360, 363, 368, 370, 380, 401, 402, 403, 405, 421, 422, 423, 429, 431, 433, 441, 442, 443, 461, 462, 463, 481, 482, 483, 501, 521, 522, 523, 541, 542, 543, 581, 601, 603, 621, 622, 801, 802, 803, 805, 821, 822, 823, 831, 861, 862, 863, 881, 882, 883, 921, 941]
|
func_mlp_l/standardizer.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89703417f34f92b021019451200bb23161fc1526f0fd156d56f17597966625a5
|
| 3 |
+
size 2344
|