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 files12345611 unmodified lines181920212223249 unmodified lines343536373839409 unmodified lines505152535455569 unmodified lines66676869707172{"phase": 1,"epoch_global": 14,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {11 unmodified lines0.2716752290725708,0.271904855966568,0.2636116147041321,0.25084540247917175],"accuracy": [0.7721806168556213,9 unmodified lines0.8815521001815796,0.8870735764503479,0.889267086982727,0.892595112323761],"val_loss": [0.23263464868068695,9 unmodified lines0.12756100296974182,0.12783141434192657,0.11841613799333572,0.11201294511556625],"val_accuracy": [0.9222221970558167,9 unmodified lines0.9611111283302307,0.9722222089767456,0.9722222089767456,0.9777777791023254]}}12345611 unmodified lines18192021222324259 unmodified lines35363738394041429 unmodified lines52535455565758599 unmodified lines6970717273747576{"phase": 1,"epoch_global": 15,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {11 unmodified lines0.2716752290725708,0.271904855966568,0.2636116147041321,0.25084540247917175,0.24979569017887115],"accuracy": [0.7721806168556213,9 unmodified lines0.8815521001815796,0.8870735764503479,0.889267086982727,0.892595112323761,0.8963769674301147],"val_loss": [0.23263464868068695,9 unmodified lines0.12756100296974182,0.12783141434192657,0.11841613799333572,0.11201294511556625,0.11613910645246506],"val_accuracy": [0.9222221970558167,9 unmodified lines0.9611111283302307,0.9722222089767456,0.9722222089767456,0.9777777791023254,0.9666666388511658]}}
training_stats.json+9-5