Run this model with HF Jobs
Run basant18/Smoking-detection-MobileNet on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/basant18/Smoking-detection-MobileNet. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/basant18/Smoking-detection-MobileNet on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use basant18/Smoking-detection-MobileNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use basant18/Smoking-detection-MobileNet 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://basant18/Smoking-detection-MobileNet") - Notebooks
- Google Colab
- Kaggle
Upload training_stats.json with huggingface_hub
Browse files12345622 unmodified lines2930313233343520 unmodified lines5657585960616220 unmodified lines8384858687888920 unmodified lines110111112113114115{"phase": 2,"epoch_global": 25,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {22 unmodified lines0.24194025993347168,0.23161178827285767,0.22409576177597046,0.22456999123096466],"accuracy": [0.7721806168556213,20 unmodified lines0.8977384567260742,0.9022010564804077,0.9084032773971558,0.907344400882721],"val_loss": [0.23263464868068695,20 unmodified lines0.10498888045549393,0.10086889564990997,0.1027996689081192,0.10608465224504471],"val_accuracy": [0.9222221970558167,20 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}12345622 unmodified lines293031323334353620 unmodified lines575859606162636420 unmodified lines858687888990919220 unmodified lines113114115116117118119{"phase": 2,"epoch_global": 26,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {22 unmodified lines0.24194025993347168,0.23161178827285767,0.22409576177597046,0.22456999123096466,0.22122134268283844],"accuracy": [0.7721806168556213,20 unmodified lines0.8977384567260742,0.9022010564804077,0.9084032773971558,0.907344400882721,0.9115800857543945],"val_loss": [0.23263464868068695,20 unmodified lines0.10498888045549393,0.10086889564990997,0.1027996689081192,0.10608465224504471,0.10064270347356796],"val_accuracy": [0.9222221970558167,20 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4