SodaXII commited on
Commit
6b4e51a
·
verified ·
1 Parent(s): 56c07d7

Model save

Browse files
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: vit-base-patch16-224_rice-leaf-disease-augmented-v2_fft
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # vit-base-patch16-224_rice-leaf-disease-augmented-v2_fft
16
+
17
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - epoch: 18.0
20
+ - eval_accuracy: 0.9196
21
+ - eval_loss: 0.3620
22
+ - eval_runtime: 11.0713
23
+ - eval_samples_per_second: 30.349
24
+ - eval_steps_per_second: 0.542
25
+ - step: 2250
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 64
46
+ - eval_batch_size: 64
47
+ - seed: 42
48
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: cosine_with_restarts
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 15
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.48.3
57
+ - Pytorch 2.5.1+cu124
58
+ - Datasets 3.3.2
59
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Bacterial Leaf Blight",
13
+ "1": "Brown Spot",
14
+ "2": "Healthy Rice Leaf",
15
+ "3": "Leaf Blast",
16
+ "4": "Leaf scald",
17
+ "5": "Narrow Brown Leaf Spot",
18
+ "6": "Rice Hispa",
19
+ "7": "Sheath Blight"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "Bacterial Leaf Blight": 0,
26
+ "Brown Spot": 1,
27
+ "Healthy Rice Leaf": 2,
28
+ "Leaf Blast": 3,
29
+ "Leaf scald": 4,
30
+ "Narrow Brown Leaf Spot": 5,
31
+ "Rice Hispa": 6,
32
+ "Sheath Blight": 7
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "qkv_bias": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.48.3"
43
+ }
logs/events.out.tfevents.1740256400.70ec7a35d943.2444.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a06d21f951170d96dd5475f59ba4b88577455ef0bf8c957f35ce626626a3ab7
3
+ size 88
logs/events.out.tfevents.1740256537.70ec7a35d943.3399.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:170aa8e1835f474fbec2f7355730d89a77d7998e32976aadf444dd91b3f61e46
3
+ size 5646
logs/events.out.tfevents.1740256746.70ec7a35d943.3399.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51da1650f6ba50144068a528b8746237bfedc0d5868d5ea1e684b8be9022234b
3
+ size 10442
logs/events.out.tfevents.1740261723.70ec7a35d943.3399.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b18ae76744f0b4c4fe31953916b0edfabd06e550981d43a8c028704fb4e8e6e
3
+ size 12880
logs/events.out.tfevents.1740263827.70ec7a35d943.3399.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c33c963fe2c7c9d050fedc26598f4bf460e07ddca4369ba26647b6f80007e63c
3
+ size 5683
logs/events.out.tfevents.1740268059.3ff50501de5c.162.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be647dcb25002c2fa23364fed8452267e81c60f61c7e7dcd719e5e4c29d70f5a
3
+ size 15269
logs/events.out.tfevents.1740444395.4a8a76f3e68a.1955.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa79a1d4ec4bca93aaf1b6810cbf2efcad36d9606487ce3e1c783c4f1bf89cc2
3
+ size 88
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ccfeb9fcbfcb69bb1dd3f91ab957cedb45851be3c8d25ba88c6576bc370a613
3
+ size 343242432
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
trainer_state.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0,
5
+ "eval_steps": 500,
6
+ "global_step": 0,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [],
11
+ "logging_steps": 500,
12
+ "max_steps": 2500,
13
+ "num_input_tokens_seen": 0,
14
+ "num_train_epochs": 20,
15
+ "save_steps": 500,
16
+ "stateful_callbacks": {
17
+ "TrainerControl": {
18
+ "args": {
19
+ "should_epoch_stop": false,
20
+ "should_evaluate": false,
21
+ "should_log": false,
22
+ "should_save": false,
23
+ "should_training_stop": false
24
+ },
25
+ "attributes": {}
26
+ }
27
+ },
28
+ "total_flos": 0,
29
+ "train_batch_size": 64,
30
+ "trial_name": null,
31
+ "trial_params": null
32
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d04abd6754084172d05ac2641c9aa43625d33f7ba671b44f748caf0a343b2f30
3
+ size 5496