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 files12345631 unmodified lines3839404142434429 unmodified lines7475767778798029 unmodified lines11011111211311411511629 unmodified lines146147148149150151{"phase": 2,"epoch_global": 34,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {31 unmodified lines0.2125702202320099,0.2097943127155304,0.2046484798192978,0.21061262488365173],"accuracy": [0.7721806168556213,29 unmodified lines0.9116557240486145,0.916042685508728,0.9162696003913879,0.9115044474601746],"val_loss": [0.23263464868068695,29 unmodified lines0.09001041203737259,0.09129680693149567,0.09052718430757523,0.0898459255695343],"val_accuracy": [0.9222221970558167,29 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}12345631 unmodified lines383940414243444529 unmodified lines757677787980818229 unmodified lines11211311411511611711811929 unmodified lines149150151152153154155{"phase": 2,"epoch_global": 35,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {31 unmodified lines0.2125702202320099,0.2097943127155304,0.2046484798192978,0.21061262488365173,0.20049527287483215],"accuracy": [0.7721806168556213,29 unmodified lines0.9116557240486145,0.916042685508728,0.9162696003913879,0.9115044474601746,0.9178579449653625],"val_loss": [0.23263464868068695,29 unmodified lines0.09001041203737259,0.09129680693149567,0.09052718430757523,0.0898459255695343,0.09193039685487747],"val_accuracy": [0.9222221970558167,29 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4