Instructions to use damilareisaac/parental-control-efficientnet-b0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use damilareisaac/parental-control-efficientnet-b0 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://damilareisaac/parental-control-efficientnet-b0") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_name": "ParentalControl_EfficientNetB0_MultiLabel", | |
| "version": "2.0", | |
| "architecture": "EfficientNetB0 + multi-label sigmoid head", | |
| "labels": [ | |
| "alcohol", | |
| "drugs", | |
| "sexual", | |
| "extremism" | |
| ], | |
| "label_indices": { | |
| "alcohol": 0, | |
| "drugs": 1, | |
| "sexual": 2, | |
| "extremism": 3 | |
| }, | |
| "input_size": [ | |
| 224, | |
| 224 | |
| ], | |
| "preprocessing": "Scale pixels to [0,255] float32 \u2014 EfficientNetB0 normalises internally", | |
| "output_type": "multi_label_sigmoid", | |
| "output_order": [ | |
| "alcohol", | |
| "drugs", | |
| "sexual", | |
| "extremism" | |
| ], | |
| "optimal_thresholds": { | |
| "alcohol": 0.5, | |
| "drugs": 0.5, | |
| "sexual": 0.5, | |
| "extremism": 0.5 | |
| }, | |
| "label_weights": { | |
| "alcohol": 1.5, | |
| "drugs": 1.5, | |
| "sexual": 2.0, | |
| "extremism": 2.5 | |
| }, | |
| "total_params": 4383655, | |
| "val_accuracy": { | |
| "alcohol": 0.996, | |
| "extremism": 0.995, | |
| "sexual": 0.99, | |
| "drugs": 0.982 | |
| }, | |
| "val_loss": 0.0948, | |
| "trained_on": "macOS-26.4.1-arm64-arm-64bit", | |
| "training": { | |
| "phase1_epochs": 20, | |
| "phase2_epochs": 40, | |
| "batch_size": 128 | |
| } | |
| } |