Run this model with HF Jobs
Run SmartPy/plant-disease-severity 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/SmartPy/plant-disease-severity. 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/SmartPy/plant-disease-severity 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 SmartPy/plant-disease-severity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SmartPy/plant-disease-severity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="SmartPy/plant-disease-severity") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("SmartPy/plant-disease-severity") model = AutoModelForImageClassification.from_pretrained("SmartPy/plant-disease-severity", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (6)
- config.json+56-56
- model.safetensors+1-1
- runs/Apr06_20-40-05_c23hpda1/events.out.tfevents.1712428806.c23hpda1.4045362.8+2-2
- runs/Apr06_20-45-32_c23hpda1/events.out.tfevents.1712429135.c23hpda1.4048752.0Added+3
- runs/Apr06_21-22-59_c23hpda1/events.out.tfevents.1712431381.c23hpda1.4065500.0Added+3
- training_args.bin+1-1
8 unmodified lines91011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374758 unmodified lines"hidden_dropout_prob": 0.0,"hidden_size": 768,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4","5": "LABEL_5","6": "LABEL_6","7": "LABEL_7","8": "LABEL_8","9": "LABEL_9","10": "LABEL_10","11": "LABEL_11","12": "LABEL_12","13": "LABEL_13","14": "LABEL_14","15": "LABEL_15","16": "LABEL_16","17": "LABEL_17","18": "LABEL_18","19": "LABEL_19","20": "LABEL_20","21": "LABEL_21","22": "LABEL_22","23": "LABEL_23","24": "LABEL_24","25": "LABEL_25","26": "LABEL_26","27": "LABEL_27"},"image_size": 224,"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_10": 10,"LABEL_11": 11,"LABEL_12": 12,"LABEL_13": 13,"LABEL_14": 14,"LABEL_15": 15,"LABEL_16": 16,"LABEL_17": 17,"LABEL_18": 18,"LABEL_19": 19,"LABEL_2": 2,"LABEL_20": 20,"LABEL_21": 21,"LABEL_22": 22,"LABEL_23": 23,"LABEL_24": 24,"LABEL_25": 25,"LABEL_26": 26,"LABEL_27": 27,"LABEL_3": 3,"LABEL_4": 4,"LABEL_5": 5,"LABEL_6": 6,"LABEL_7": 7,"LABEL_8": 8,"LABEL_9": 9},"layer_norm_eps": 1e-12,"model_type": "deit",8 unmodified lines91011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374758 unmodified lines"hidden_dropout_prob": 0.0,"hidden_size": 768,"id2label": {"0": "Tomato leaf mosaic virus","1": "Apple Scab Leaf","2": "Tomato leaf bacterial spot","3": "Potato leaf early blight","4": "Bell_pepper leaf","5": "Tomato leaf yellow virus","6": "Squash Powdery mildew leaf","7": "Tomato mold leaf","8": "Apple rust leaf","9": "Tomato leaf late blight","10": "Tomato Early blight leaf","11": "Corn leaf blight","12": "Peach leaf","13": "Strawberry leaf","14": "Raspberry leaf","15": "grape leaf","16": "Blueberry leaf","17": "Potato leaf late blight","18": "Cherry leaf","19": "Tomato two spotted spider mites leaf","20": "Tomato Septoria leaf spot","21": "Apple leaf","22": "Soyabean leaf","23": "Bell_pepper leaf spot","24": "Tomato leaf","25": "Corn Gray leaf spot","26": "grape leaf black rot","27": "Corn rust leaf"},"image_size": 224,"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"Apple Scab Leaf": 1,"Apple leaf": 21,"Apple rust leaf": 8,"Bell_pepper leaf": 4,"Bell_pepper leaf spot": 23,"Blueberry leaf": 16,"Cherry leaf": 18,"Corn Gray leaf spot": 25,"Corn leaf blight": 11,"Corn rust leaf": 27,"Peach leaf": 12,"Potato leaf early blight": 3,"Potato leaf late blight": 17,"Raspberry leaf": 14,"Soyabean leaf": 22,"Squash Powdery mildew leaf": 6,"Strawberry leaf": 13,"Tomato Early blight leaf": 10,"Tomato Septoria leaf spot": 20,"Tomato leaf": 24,"Tomato leaf bacterial spot": 2,"Tomato leaf late blight": 9,"Tomato leaf mosaic virus": 0,"Tomato leaf yellow virus": 5,"Tomato mold leaf": 7,"Tomato two spotted spider mites leaf": 19,"grape leaf": 15,"grape leaf black rot": 26},"layer_norm_eps": 1e-12,"model_type": "deit",
123version https://git-lfs.github.com/spec/v1oid sha256:d71bfafef769fc70d47491c81c9699df29b4d50ab2729b0948f3685e29c3d3b1size 343310400123version https://git-lfs.github.com/spec/v1oid sha256:9e79be74de33f1b0e7012332abeca2991f418626bb7635d4a3acbbfe493f5e33size 343310400
123version https://git-lfs.github.com/spec/v1oid sha256:270c48c53b44a41e8fe0e07d98863eac353f406192e586f259b7d3ef406b159esize 6068123version https://git-lfs.github.com/spec/v1oid sha256:791d9503fd3d7a2616d30b6fdcdd4011b1c6caf820dd02862afbdbe4def12a90size 6275
123version https://git-lfs.github.com/spec/v1oid sha256:e5975bbe773ac92403354c2708c6ad119e043277d7f6f4a6a997e4b617155924size 6287123version https://git-lfs.github.com/spec/v1oid sha256:e7237936429aa60114f6d1326c526ab9c9d232b742423b32241ff6df1386e4c0size 6811123version https://git-lfs.github.com/spec/v1oid sha256:83cb25d3478b05e4be18d8ee4e9b5d3c2926753f413bd4c6690ca437f800aa52size 4475123version https://git-lfs.github.com/spec/v1oid sha256:74f92fdda3a1e7e56342ecf7f584a8a9be45bab75a9ed32c28d59d8c9e0d41desize 4475
config.json+56-56
model.safetensors+1-1
runs/Apr06_20-40-05_c23hpda1/events.out.tfevents.1712428806.c23hpda1.4045362.8+2-2
runs/Apr06_20-45-32_c23hpda1/events.out.tfevents.1712429135.c23hpda1.4048752.0Added+3
runs/Apr06_21-22-59_c23hpda1/events.out.tfevents.1712431381.c23hpda1.4065500.0Added+3
training_args.bin+1-1