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 files12345620 unmodified lines2728293031323318 unmodified lines5253545556575818 unmodified lines7778798081828318 unmodified lines102103104105106107{"phase": 2,"epoch_global": 23,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {20 unmodified lines0.26365476846694946,0.2574348449707031,0.24194025993347168,0.23161178827285767],"accuracy": [0.7721806168556213,18 unmodified lines0.8875274062156677,0.8936540484428406,0.8977384567260742,0.9022010564804077],"val_loss": [0.23263464868068695,18 unmodified lines0.09879012405872345,0.10157313942909241,0.10498888045549393,0.10086889564990997],"val_accuracy": [0.9222221970558167,18 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}12345620 unmodified lines272829303132333418 unmodified lines535455565758596018 unmodified lines798081828384858618 unmodified lines105106107108109110111{"phase": 2,"epoch_global": 24,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {20 unmodified lines0.26365476846694946,0.2574348449707031,0.24194025993347168,0.23161178827285767,0.22409576177597046],"accuracy": [0.7721806168556213,18 unmodified lines0.8875274062156677,0.8936540484428406,0.8977384567260742,0.9022010564804077,0.9084032773971558],"val_loss": [0.23263464868068695,18 unmodified lines0.09879012405872345,0.10157313942909241,0.10498888045549393,0.10086889564990997,0.1027996689081192],"val_accuracy": [0.9222221970558167,18 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4