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:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Austin207/voice-fan-controller-model") - Notebooks
- Google Colab
- Kaggle
Download func_mlp_m/func_config.json from Austin207/voice-fan-controller-model: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/Austin207/voice-fan-controller-model/resolve/main/func_mlp_m/func_config.json
- Command line
-
hf download hf://Austin207/voice-fan-controller-model/func_mlp_m/func_config.json
-
curl -L -o func_config.json https://huggingface.co/Austin207/voice-fan-controller-model/resolve/main/func_mlp_m/func_config.json
1.02 kB
| { | |
| "sample_rate_hz": 20000, | |
| "capture_window_ms": 1600, | |
| "n_mfcc": 20, | |
| "n_mels": 40, | |
| "n_fft": 512, | |
| "hop_length": 256, | |
| "fmin": 125, | |
| "fmax": 7500, | |
| "n_segments": 8, | |
| "channels": [ | |
| "mfcc", | |
| "delta", | |
| "delta2" | |
| ], | |
| "global_stats": [ | |
| "mean", | |
| "std", | |
| "p5", | |
| "p95" | |
| ], | |
| "segment_stats": [ | |
| "mean", | |
| "std" | |
| ], | |
| "full_dim": 1200, | |
| "clip_sigma": 4.0, | |
| "note": "1200 = 60 streams (20 mfcc + 20 delta + 20 delta2) x (4 global + 8*2 segment) stats", | |
| "input_dim": 96, | |
| "num_classes": 18, | |
| "select_k": 96, | |
| "hidden": 64, | |
| "labels": [ | |
| "_silence_", | |
| "_unknown_", | |
| "power_on", | |
| "power_off", | |
| "speed_1", | |
| "speed_2", | |
| "speed_3", | |
| "speed_4", | |
| "speed_5", | |
| "speed_6", | |
| "mode_boost", | |
| "mode_nature", | |
| "mode_reverse", | |
| "mode_smart", | |
| "timer_off", | |
| "timer_2h", | |
| "timer_4h", | |
| "timer_8h" | |
| ], | |
| "val_float_acc": 0.9346, | |
| "val_int8_acc": 0.9346, | |
| "seed": 2, | |
| "int8_bytes": 9712 | |
| } |