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 (14)
- config.jsonAdded+84
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+27
- runs/Apr06_18-52-29_c23hpda1/events.out.tfevents.1712422351.c23hpda1.4002043.0Added+3
- runs/Apr06_19-04-35_c23hpda1/events.out.tfevents.1712423078.c23hpda1.4002043.1Added+3
- runs/Apr06_19-08-09_c23hpda1/events.out.tfevents.1712423292.c23hpda1.4002043.2Added+3
- runs/Apr06_19-32-54_c23hpda1/events.out.tfevents.1712424777.c23hpda1.4002043.3Added+3
- runs/Apr06_19-55-28_c23hpda1/events.out.tfevents.1712426131.c23hpda1.4045362.0Added+3
- runs/Apr06_19-59-30_c23hpda1/events.out.tfevents.1712426371.c23hpda1.4045362.1Added+3
- runs/Apr06_20-01-51_c23hpda1/events.out.tfevents.1712426512.c23hpda1.4045362.2Added+3
- runs/Apr06_20-02-36_c23hpda1/events.out.tfevents.1712426557.c23hpda1.4045362.3Added+3
- runs/Apr06_20-05-46_c23hpda1/events.out.tfevents.1712426747.c23hpda1.4045362.4Added+3
- runs/Apr06_20-06-35_c23hpda1/events.out.tfevents.1712426796.c23hpda1.4045362.5Added+3
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ "_name_or_path": "facebook/deit-base-distilled-patch16-224", "architectures": [ "DeiTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "encoder_stride": 16, "hidden_act": "gelu", "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", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "problem_type": "single_label_classification", "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.38.0"}123version https://git-lfs.github.com/spec/v1oid sha256:5e4e7acf181e9cac002a37583c83a187c2e1d6e116deb2f26734efd6ee4a9a97size 343310400123456789101112131415161718192021222324252627{ "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "DeiTImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "height": 256, "width": 256 }}123version https://git-lfs.github.com/spec/v1oid sha256:e18e6b727096554497c58f0847371abf3a20d811db4567926113cf1077ea8321size 6286123version https://git-lfs.github.com/spec/v1oid sha256:7b817bfc6818bc2a27bf6a18de74321fc079bdc459efed68d943680d8f970f91size 6286123version https://git-lfs.github.com/spec/v1oid sha256:8cc46bd0346b0f1e026802400c8b184d4a9b33fa602cbf22aff70b3f7083b59esize 6286123version https://git-lfs.github.com/spec/v1oid sha256:ebdac8123e4fcb138d880fe45388c10377e71f31630fcd40e16f367409e139c2size 6286123version https://git-lfs.github.com/spec/v1oid sha256:42d6c88e261fd867f2b5552ede710b3357434e8104b06ffc2e546a652c227074size 5684123version https://git-lfs.github.com/spec/v1oid sha256:69144bc0695cfe301dbd18a20b19045091eb8a23e4b20dea4fd84ea83446de50size 5684123version https://git-lfs.github.com/spec/v1oid sha256:2d584393fa4d272462e5bfd1a3025c764d9ab3b2d3dbabc27600594203a7477bsize 5684123version https://git-lfs.github.com/spec/v1oid sha256:f7bc9b935fbf7447d4bdc228b17421c5beeded68e3d31a711c0174ba9400b84asize 5684123version https://git-lfs.github.com/spec/v1oid sha256:f7e60d9507d635341556c20c72f95552112d5dc310217d829bee30a39c826dd6size 5684123version https://git-lfs.github.com/spec/v1oid sha256:957c0edf4bb256ffbf8c5d85a208629afaee55bcb57255526d1e8651e14609c3size 6001123version https://git-lfs.github.com/spec/v1oid sha256:9c107fa53f7d439c7e3b63891f618196c91127fed31e7225cb847de0cfca9d68size 4475config.jsonAdded+84
model.safetensorsAdded+3
preprocessor_config.jsonAdded+27
runs/Apr06_18-52-29_c23hpda1/events.out.tfevents.1712422351.c23hpda1.4002043.0Added+3
runs/Apr06_19-04-35_c23hpda1/events.out.tfevents.1712423078.c23hpda1.4002043.1Added+3
runs/Apr06_19-08-09_c23hpda1/events.out.tfevents.1712423292.c23hpda1.4002043.2Added+3
runs/Apr06_19-32-54_c23hpda1/events.out.tfevents.1712424777.c23hpda1.4002043.3Added+3
runs/Apr06_19-55-28_c23hpda1/events.out.tfevents.1712426131.c23hpda1.4045362.0Added+3
runs/Apr06_19-59-30_c23hpda1/events.out.tfevents.1712426371.c23hpda1.4045362.1Added+3
runs/Apr06_20-01-51_c23hpda1/events.out.tfevents.1712426512.c23hpda1.4045362.2Added+3
runs/Apr06_20-02-36_c23hpda1/events.out.tfevents.1712426557.c23hpda1.4045362.3Added+3
runs/Apr06_20-05-46_c23hpda1/events.out.tfevents.1712426747.c23hpda1.4045362.4Added+3
runs/Apr06_20-06-35_c23hpda1/events.out.tfevents.1712426796.c23hpda1.4045362.5Added+3
training_args.binAdded+3