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 files1234569 unmodified lines161718192021227 unmodified lines303132333435367 unmodified lines444546474849507 unmodified lines585960616263{"phase": 1,"epoch_global": 12,"best_val_acc": 0.9722222089767456,"best_val_loss": 0.12783141434192657,"history": {9 unmodified lines0.3115611970424652,0.28520792722702026,0.2716752290725708,0.271904855966568],"accuracy": [0.7721806168556213,7 unmodified lines0.8642311692237854,0.877921462059021,0.8815521001815796,0.8870735764503479],"val_loss": [0.23263464868068695,7 unmodified lines0.1646467000246048,0.1460321843624115,0.12756100296974182,0.12783141434192657],"val_accuracy": [0.9222221970558167,7 unmodified lines0.9444444179534912,0.9444444179534912,0.9611111283302307,0.9722222089767456]}1234569 unmodified lines16171819202122237 unmodified lines31323334353637387 unmodified lines46474849505152537 unmodified lines61626364656667{"phase": 1,"epoch_global": 13,"best_val_acc": 0.9722222089767456,"best_val_loss": 0.12783141434192657,"history": {9 unmodified lines0.3115611970424652,0.28520792722702026,0.2716752290725708,0.271904855966568,0.2636116147041321],"accuracy": [0.7721806168556213,7 unmodified lines0.8642311692237854,0.877921462059021,0.8815521001815796,0.8870735764503479,0.889267086982727],"val_loss": [0.23263464868068695,7 unmodified lines0.1646467000246048,0.1460321843624115,0.12756100296974182,0.12783141434192657,0.11841613799333572],"val_accuracy": [0.9222221970558167,7 unmodified lines0.9444444179534912,0.9444444179534912,0.9611111283302307,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4