Run this model with HF Jobs
Run cvmil/deit-base-patch16-224_augmented-v2_fft 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/cvmil/deit-base-patch16-224_augmented-v2_fft. 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/cvmil/deit-base-patch16-224_augmented-v2_fft 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 cvmil/deit-base-patch16-224_augmented-v2_fft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cvmil/deit-base-patch16-224_augmented-v2_fft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="cvmil/deit-base-patch16-224_augmented-v2_fft") 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("cvmil/deit-base-patch16-224_augmented-v2_fft") model = AutoModelForImageClassification.from_pretrained("cvmil/deit-base-patch16-224_augmented-v2_fft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (9)
- README.mdAdded+51
- config.jsonAdded+43
- logs/events.out.tfevents.1740258792.694aa7296547.6955.0Added+3
- logs/events.out.tfevents.1740259188.694aa7296547.8731.0Added+3
- logs/events.out.tfevents.1740277178.ca6c489f7bbc.211.0Added+3
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+23
- trainer_state.jsonAdded+32
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051---library_name: transformerslicense: apache-2.0base_model: facebook/deit-base-patch16-224tags:- generated_from_trainermodel-index:- name: deit-base-patch16-224_rice-leaf-disease-augmented-v2_fft results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# deit-base-patch16-224_rice-leaf-disease-augmented-v2_fft
This model is a fine-tuned version of [facebook/deit-base-patch16-224](https://huggingface.co/facebook/deit-base-patch16-224) on an unknown dataset.
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 5e-05- train_batch_size: 64- eval_batch_size: 64- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine_with_restarts- lr_scheduler_warmup_ratio: 0.1- num_epochs: 15- mixed_precision_training: Native AMP
### Framework versions
- Transformers 4.48.3- Pytorch 2.5.1+cu124- Datasets 3.3.2- Tokenizers 0.21.012345678910111213141516171819202122232425262728293031323334353637383940414243{ "_name_or_path": "facebook/deit-base-patch16-224", "architectures": [ "ViTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "encoder_stride": 16, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "Bacterial Leaf Blight", "1": "Brown Spot", "2": "Healthy Rice Leaf", "3": "Leaf Blast", "4": "Leaf scald", "5": "Narrow Brown Leaf Spot", "6": "Rice Hispa", "7": "Sheath Blight" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Bacterial Leaf Blight": 0, "Brown Spot": 1, "Healthy Rice Leaf": 2, "Leaf Blast": 3, "Leaf scald": 4, "Narrow Brown Leaf Spot": 5, "Rice Hispa": 6, "Sheath Blight": 7 }, "layer_norm_eps": 1e-12, "model_type": "vit", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.48.3"}123version https://git-lfs.github.com/spec/v1oid sha256:8f5b2b1264fff1530d23dd4c0c4a9ad3b25747b97a1e792eccc6cc72d115aca0size 6186123version https://git-lfs.github.com/spec/v1oid sha256:d52d220fcca0c8619ff4d21666dccf5a325c27221622f50ca0a9692bff9dd17fsize 88123version https://git-lfs.github.com/spec/v1oid sha256:83143f430a73062202008ff1f634815898f30429e056b5683defa0cbf476183fsize 88123version https://git-lfs.github.com/spec/v1oid sha256:66c88b1397259d7714a44b4a5113acd6e7515032f9c8ba3eceeb21ef06349f46size 3432424321234567891011121314151617181920212223{ "do_convert_rgb": null, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "ViTImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}1234567891011121314151617181920212223242526272829303132{ "best_metric": null, "best_model_checkpoint": null, "epoch": 0, "eval_steps": 500, "global_step": 0, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [], "logging_steps": 500, "max_steps": 1875, "num_input_tokens_seen": 0, "num_train_epochs": 15, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": false, "should_training_stop": false }, "attributes": {} } }, "total_flos": 0, "train_batch_size": 64, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:c9e36ec85b300475ee91a161abba743e4fc17692513e41666acb71b610791722size 5496README.mdAdded+51
config.jsonAdded+43
logs/events.out.tfevents.1740258792.694aa7296547.6955.0Added+3
logs/events.out.tfevents.1740259188.694aa7296547.8731.0Added+3
logs/events.out.tfevents.1740277178.ca6c489f7bbc.211.0Added+3
model.safetensorsAdded+3
preprocessor_config.jsonAdded+23
trainer_state.jsonAdded+32
training_args.binAdded+3