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 files12345624 unmodified lines3132333435363722 unmodified lines60616263646523 unmodified lines8990919293949522 unmodified lines118119120121122123{"phase": 2,"epoch_global": 27,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {24 unmodified lines0.22409576177597046,0.22456999123096466,0.22122134268283844,0.2199689745903015],"accuracy": [0.7721806168556213,22 unmodified lines0.9084032773971558,0.907344400882721,0.9115800857543945,0.9094622135162354],"val_loss": [23 unmodified lines0.1027996689081192,0.10608465224504471,0.10064270347356796,0.08973866701126099],"val_accuracy": [0.9222221970558167,22 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}12345624 unmodified lines313233343536373822 unmodified lines6162636465666723 unmodified lines919293949596979822 unmodified lines121122123124125126127{"phase": 2,"epoch_global": 28,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {24 unmodified lines0.22409576177597046,0.22456999123096466,0.22122134268283844,0.2199689745903015,0.2189551740884781],"accuracy": [0.7721806168556213,22 unmodified lines0.9084032773971558,0.907344400882721,0.9115800857543945,0.9094622135162354,0.9094622135162354],"val_loss": [23 unmodified lines0.1027996689081192,0.10608465224504471,0.10064270347356796,0.08973866701126099,0.09406672418117523],"val_accuracy": [0.9222221970558167,22 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+7-3