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 files1234564 unmodified lines111213141516172 unmodified lines202122232425262 unmodified lines293031323334352 unmodified lines383940414243{"phase": 1,"epoch_global": 7,"best_val_acc": 0.9666666388511658,"best_val_loss": 0.1529870182275772,"history": {4 unmodified lines0.35668617486953735,0.34522300958633423,0.33733460307121277,0.3224019408226013],"accuracy": [0.7721806168556213,2 unmodified lines0.8433552384376526,0.8463807702064514,0.8516753911972046,0.859466016292572],"val_loss": [0.23263464868068695,2 unmodified lines0.16919085383415222,0.15985532104969025,0.1529870182275772,0.17427904903888702],"val_accuracy": [0.9222221970558167,2 unmodified lines0.9333333373069763,0.9444444179534912,0.9666666388511658,0.9444444179534912]}1234564 unmodified lines11121314151617182 unmodified lines21222324252627282 unmodified lines31323334353637382 unmodified lines41424344454647{"phase": 1,"epoch_global": 8,"best_val_acc": 0.9666666388511658,"best_val_loss": 0.1529870182275772,"history": {4 unmodified lines0.35668617486953735,0.34522300958633423,0.33733460307121277,0.3224019408226013,0.3135400116443634],"accuracy": [0.7721806168556213,2 unmodified lines0.8433552384376526,0.8463807702064514,0.8516753911972046,0.859466016292572,0.8641555309295654],"val_loss": [0.23263464868068695,2 unmodified lines0.16919085383415222,0.15985532104969025,0.1529870182275772,0.17427904903888702,0.16664457321166992],"val_accuracy": [0.9222221970558167,2 unmodified lines0.9333333373069763,0.9444444179534912,0.9666666388511658,0.9444444179534912,0.9444444179534912]}
training_stats.json+8-4