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 files12345632 unmodified lines3940414243444530 unmodified lines7677787980818230 unmodified lines11311411511611711811930 unmodified lines150151152153154155{"phase": 2,"epoch_global": 35,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {32 unmodified lines0.2097943127155304,0.2046484798192978,0.21061262488365173,0.20049527287483215],"accuracy": [0.7721806168556213,30 unmodified lines0.916042685508728,0.9162696003913879,0.9115044474601746,0.9178579449653625],"val_loss": [0.23263464868068695,30 unmodified lines0.09129680693149567,0.09052718430757523,0.0898459255695343,0.09193039685487747],"val_accuracy": [0.9222221970558167,30 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}12345632 unmodified lines394041424344454630 unmodified lines777879808182838430 unmodified lines11511611711811912012112230 unmodified lines153154155156157158159{"phase": 2,"epoch_global": 36,"best_val_acc": 0.9777777791023254,"best_val_loss": 0.11201294511556625,"history": {32 unmodified lines0.2097943127155304,0.2046484798192978,0.21061262488365173,0.20049527287483215,0.20789550244808197],"accuracy": [0.7721806168556213,30 unmodified lines0.916042685508728,0.9162696003913879,0.9115044474601746,0.9178579449653625,0.916042685508728],"val_loss": [0.23263464868068695,30 unmodified lines0.09129680693149567,0.09052718430757523,0.0898459255695343,0.09193039685487747,0.09189973771572113],"val_accuracy": [0.9222221970558167,30 unmodified lines0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456,0.9722222089767456]}
training_stats.json+8-4