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 files1234566 unmodified lines131415161718194 unmodified lines242526272829304 unmodified lines353637383940414 unmodified lines464748495051{"phase": 1,"epoch_global": 9,"best_val_acc": 0.9666666388511658,"best_val_loss": 0.1529870182275772,"history": {6 unmodified lines0.33733460307121277,0.3224019408226013,0.3135400116443634,0.3115611970424652],"accuracy": [0.7721806168556213,4 unmodified lines0.8516753911972046,0.859466016292572,0.8641555309295654,0.8642311692237854],"val_loss": [0.23263464868068695,4 unmodified lines0.1529870182275772,0.17427904903888702,0.16664457321166992,0.1646467000246048],"val_accuracy": [0.9222221970558167,4 unmodified lines0.9666666388511658,0.9444444179534912,0.9444444179534912,0.9444444179534912]}1234566 unmodified lines13141516171819204 unmodified lines25262728293031324 unmodified lines37383940414243444 unmodified lines49505152535455{"phase": 1,"epoch_global": 10,"best_val_acc": 0.9666666388511658,"best_val_loss": 0.1529870182275772,"history": {6 unmodified lines0.33733460307121277,0.3224019408226013,0.3135400116443634,0.3115611970424652,0.28520792722702026],"accuracy": [0.7721806168556213,4 unmodified lines0.8516753911972046,0.859466016292572,0.8641555309295654,0.8642311692237854,0.877921462059021],"val_loss": [0.23263464868068695,4 unmodified lines0.1529870182275772,0.17427904903888702,0.16664457321166992,0.1646467000246048,0.1460321843624115],"val_accuracy": [0.9222221970558167,4 unmodified lines0.9666666388511658,0.9444444179534912,0.9444444179534912,0.9444444179534912,0.9444444179534912]}
training_stats.json+8-4