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 files12345618 unmodified lines2526272829303116 unmodified lines4849505152535416 unmodified lines7172737475767716 unmodified lines949596979899{"phase": 2,"epoch_global": 21,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {18 unmodified lines0.2985667884349823,0.2807298004627228,0.26365476846694946,0.2574348449707031],"accuracy": [0.7721806168556213,16 unmodified lines0.8742152452468872,0.8817033767700195,0.8875274062156677,0.8936540484428406],"val_loss": [0.23263464868068695,16 unmodified lines0.09917833656072617,0.09357432276010513,0.09879012405872345,0.10157313942909241],"val_accuracy": [0.9222221970558167,16 unmodified lines0.9722222089767456,0.9666666388511658,0.9722222089767456,0.9722222089767456]}12345618 unmodified lines252627282930313216 unmodified lines495051525354555616 unmodified lines737475767778798016 unmodified lines979899100101102103{"phase": 2,"epoch_global": 22,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {18 unmodified lines0.2985667884349823,0.2807298004627228,0.26365476846694946,0.2574348449707031,0.24194025993347168],"accuracy": [0.7721806168556213,16 unmodified lines0.8742152452468872,0.8817033767700195,0.8875274062156677,0.8936540484428406,0.8977384567260742],"val_loss": [0.23263464868068695,16 unmodified lines0.09917833656072617,0.09357432276010513,0.09879012405872345,0.10157313942909241,0.10498888045549393],"val_accuracy": [0.9222221970558167,16 unmodified lines0.9722222089767456,0.9666666388511658,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4