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 files12345615 unmodified lines2223242526272813 unmodified lines4243444546474813 unmodified lines6263646566676813 unmodified lines82838485868788{"phase": 2,"epoch_global": 18,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {15 unmodified lines0.24979569017887115,0.3537147641181946,0.3216423988342285,0.2985667884349823],"accuracy": [0.7721806168556213,13 unmodified lines0.8963769674301147,0.8523560762405396,0.8636260628700256,0.8742152452468872],"val_loss": [0.23263464868068695,13 unmodified lines0.11613910645246506,0.09671363979578018,0.09473103284835815,0.09917833656072617],"val_accuracy": [0.9222221970558167,13 unmodified lines0.9666666388511658,0.9611111283302307,0.9666666388511658,0.9722222089767456]}}12345615 unmodified lines222324252627282913 unmodified lines434445464748495013 unmodified lines646566676869707113 unmodified lines8586878889909192{"phase": 2,"epoch_global": 19,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {15 unmodified lines0.24979569017887115,0.3537147641181946,0.3216423988342285,0.2985667884349823,0.2807298004627228],"accuracy": [0.7721806168556213,13 unmodified lines0.8963769674301147,0.8523560762405396,0.8636260628700256,0.8742152452468872,0.8817033767700195],"val_loss": [0.23263464868068695,13 unmodified lines0.11613910645246506,0.09671363979578018,0.09473103284835815,0.09917833656072617,0.09357432276010513],"val_accuracy": [0.9222221970558167,13 unmodified lines0.9666666388511658,0.9611111283302307,0.9666666388511658,0.9722222089767456,0.9666666388511658]}}
training_stats.json+9-5