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 files12345628 unmodified lines3536373839404126 unmodified lines6869707172737426 unmodified lines10110210310410510610726 unmodified lines134135136137138139{"phase": 2,"epoch_global": 31,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {28 unmodified lines0.2189551740884781,0.20979627966880798,0.21249495446681976,0.2125702202320099],"accuracy": [0.7721806168556213,26 unmodified lines0.9094622135162354,0.9152106642723083,0.913395345211029,0.9116557240486145],"val_loss": [0.23263464868068695,26 unmodified lines0.09406672418117523,0.09544801712036133,0.09003451466560364,0.09001041203737259],"val_accuracy": [0.9222221970558167,26 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}12345628 unmodified lines353637383940414226 unmodified lines697071727374757626 unmodified lines10310410510610710810911026 unmodified lines137138139140141142143{"phase": 2,"epoch_global": 32,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {28 unmodified lines0.2189551740884781,0.20979627966880798,0.21249495446681976,0.2125702202320099,0.2097943127155304],"accuracy": [0.7721806168556213,26 unmodified lines0.9094622135162354,0.9152106642723083,0.913395345211029,0.9116557240486145,0.916042685508728],"val_loss": [0.23263464868068695,26 unmodified lines0.09406672418117523,0.09544801712036133,0.09003451466560364,0.09001041203737259,0.09129680693149567],"val_accuracy": [0.9222221970558167,26 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4