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 files123456789101112131415161718192021222324{"phase": 1,"epoch_global": 2,"best_val_acc": 0.9388889074325562,"best_val_loss": 0.19750243425369263,"history": {"loss": [0.49225616455078125,0.40346693992614746],"accuracy": [0.7721806168556213,0.8166553378105164],"val_loss": [0.23263464868068695,0.19750243425369263],"val_accuracy": [0.9222221970558167,0.9388889074325562]}}12345678910111213141516171819202122232425262728{"phase": 1,"epoch_global": 3,"best_val_acc": 0.9388889074325562,"best_val_loss": 0.19750243425369263,"history": {"loss": [0.49225616455078125,0.40346693992614746,0.36795684695243835],"accuracy": [0.7721806168556213,0.8166553378105164,0.8393464684486389],"val_loss": [0.23263464868068695,0.19750243425369263,0.19446466863155365],"val_accuracy": [0.9222221970558167,0.9388889074325562,0.9222221970558167]}}
training_stats.json+9-5