Docty commited on
Commit
aa05bcb
·
verified ·
1 Parent(s): 54cfd7c

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,67 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - image-classification
7
+ - vision
8
+ - generated_from_trainer
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: mango_output12
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # mango_output12
20
+
21
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the Docty/Mangovariety dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3909
24
+ - Accuracy: 0.9917
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 16
46
+ - seed: 1337
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 5.0
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | No log | 1.0 | 85 | 1.2826 | 0.9375 |
56
+ | No log | 2.0 | 170 | 0.7519 | 0.975 |
57
+ | No log | 3.0 | 255 | 0.5236 | 0.9792 |
58
+ | No log | 4.0 | 340 | 0.4190 | 0.9875 |
59
+ | No log | 5.0 | 425 | 0.3909 | 0.9917 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.51.1
65
+ - Pytorch 2.5.1+cu124
66
+ - Datasets 3.5.0
67
+ - Tokenizers 0.21.0
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.9916666666666667,
4
+ "eval_loss": 0.3908880949020386,
5
+ "eval_runtime": 3.3275,
6
+ "eval_samples_per_second": 72.126,
7
+ "eval_steps_per_second": 4.508,
8
+ "total_flos": 5.269738664558592e+17,
9
+ "train_loss": 0.843348819508272,
10
+ "train_runtime": 218.539,
11
+ "train_samples_per_second": 31.116,
12
+ "train_steps_per_second": 1.945
13
+ }
checkpoint-255/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "finetuning_task": "image-classification",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Dosehri",
13
+ "1": "Sindhri",
14
+ "2": "Fajri",
15
+ "3": "Anwar Ratool",
16
+ "4": "Chaunsa (White)",
17
+ "5": "Langra",
18
+ "6": "Chaunsa (Black)",
19
+ "7": "Chaunsa (Summer Bahisht)"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "Anwar Ratool": "3",
26
+ "Chaunsa (Black)": "6",
27
+ "Chaunsa (Summer Bahisht)": "7",
28
+ "Chaunsa (White)": "4",
29
+ "Dosehri": "0",
30
+ "Fajri": "2",
31
+ "Langra": "5",
32
+ "Sindhri": "1"
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
+ "pooler_act": "tanh",
41
+ "pooler_output_size": 768,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.51.1"
46
+ }
checkpoint-255/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e407b2ecaa85e4356ce4078f0a020b234be4bf6e126596c600369384411fe78
3
+ size 343242432
checkpoint-255/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1da2a50aa95dcbcfc2a0f3424d095f40e336ee772d14092e9a3986814d049de7
3
+ size 686605754
checkpoint-255/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
+ }
checkpoint-255/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3166e63866471b9e62438729bb93242bb1dd3007c49de73466d91b151cd50e4d
3
+ size 14308
checkpoint-255/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d63e0a704c7f2f3081c4e8d76fe00f34970cebdc99d26e2d21dd008c68d60a29
3
+ size 1064
checkpoint-255/trainer_state.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 255,
3
+ "best_metric": 0.5236374139785767,
4
+ "best_model_checkpoint": "./mango_output12/checkpoint-255",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 255,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.9375,
15
+ "eval_loss": 1.282586693763733,
16
+ "eval_runtime": 3.427,
17
+ "eval_samples_per_second": 70.032,
18
+ "eval_steps_per_second": 4.377,
19
+ "step": 85
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.975,
24
+ "eval_loss": 0.7518740296363831,
25
+ "eval_runtime": 3.254,
26
+ "eval_samples_per_second": 73.755,
27
+ "eval_steps_per_second": 4.61,
28
+ "step": 170
29
+ },
30
+ {
31
+ "epoch": 3.0,
32
+ "eval_accuracy": 0.9791666666666666,
33
+ "eval_loss": 0.5236374139785767,
34
+ "eval_runtime": 3.3453,
35
+ "eval_samples_per_second": 71.742,
36
+ "eval_steps_per_second": 4.484,
37
+ "step": 255
38
+ }
39
+ ],
40
+ "logging_steps": 500,
41
+ "max_steps": 425,
42
+ "num_input_tokens_seen": 0,
43
+ "num_train_epochs": 5,
44
+ "save_steps": 500,
45
+ "stateful_callbacks": {
46
+ "TrainerControl": {
47
+ "args": {
48
+ "should_epoch_stop": false,
49
+ "should_evaluate": false,
50
+ "should_log": false,
51
+ "should_save": true,
52
+ "should_training_stop": false
53
+ },
54
+ "attributes": {}
55
+ }
56
+ },
57
+ "total_flos": 3.161843198735155e+17,
58
+ "train_batch_size": 16,
59
+ "trial_name": null,
60
+ "trial_params": null
61
+ }
checkpoint-255/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:250d06b01c5455b9ba137bb94d1e4742f2b4b253ab0e93004dd47358889e4395
3
+ size 5304
checkpoint-340/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "finetuning_task": "image-classification",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Dosehri",
13
+ "1": "Sindhri",
14
+ "2": "Fajri",
15
+ "3": "Anwar Ratool",
16
+ "4": "Chaunsa (White)",
17
+ "5": "Langra",
18
+ "6": "Chaunsa (Black)",
19
+ "7": "Chaunsa (Summer Bahisht)"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "Anwar Ratool": "3",
26
+ "Chaunsa (Black)": "6",
27
+ "Chaunsa (Summer Bahisht)": "7",
28
+ "Chaunsa (White)": "4",
29
+ "Dosehri": "0",
30
+ "Fajri": "2",
31
+ "Langra": "5",
32
+ "Sindhri": "1"
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
+ "pooler_act": "tanh",
41
+ "pooler_output_size": 768,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.51.1"
46
+ }
checkpoint-340/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faf0881be51041e498aa2319d2788a30954e907a535afa46d65f58f716f228fd
3
+ size 343242432
checkpoint-340/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca75b15ad2406edd8d206fca927ff9f2afe74ce1f66e1107b9520214b5c71d28
3
+ size 686605754
checkpoint-340/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
+ }
checkpoint-340/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ca2d731cdf11e61aca1efb6e04db72d6f67cdb17f46c8b32d2ca8c812b81ad7
3
+ size 14308
checkpoint-340/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:830d8f4c72d8b3874239a7f7554ac78b06590daed1f7036d839d27316f9d0a9d
3
+ size 1064
checkpoint-340/trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 340,
3
+ "best_metric": 0.4190078675746918,
4
+ "best_model_checkpoint": "./mango_output12/checkpoint-340",
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 340,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.9375,
15
+ "eval_loss": 1.282586693763733,
16
+ "eval_runtime": 3.427,
17
+ "eval_samples_per_second": 70.032,
18
+ "eval_steps_per_second": 4.377,
19
+ "step": 85
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.975,
24
+ "eval_loss": 0.7518740296363831,
25
+ "eval_runtime": 3.254,
26
+ "eval_samples_per_second": 73.755,
27
+ "eval_steps_per_second": 4.61,
28
+ "step": 170
29
+ },
30
+ {
31
+ "epoch": 3.0,
32
+ "eval_accuracy": 0.9791666666666666,
33
+ "eval_loss": 0.5236374139785767,
34
+ "eval_runtime": 3.3453,
35
+ "eval_samples_per_second": 71.742,
36
+ "eval_steps_per_second": 4.484,
37
+ "step": 255
38
+ },
39
+ {
40
+ "epoch": 4.0,
41
+ "eval_accuracy": 0.9875,
42
+ "eval_loss": 0.4190078675746918,
43
+ "eval_runtime": 3.2437,
44
+ "eval_samples_per_second": 73.989,
45
+ "eval_steps_per_second": 4.624,
46
+ "step": 340
47
+ }
48
+ ],
49
+ "logging_steps": 500,
50
+ "max_steps": 425,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 5,
53
+ "save_steps": 500,
54
+ "stateful_callbacks": {
55
+ "TrainerControl": {
56
+ "args": {
57
+ "should_epoch_stop": false,
58
+ "should_evaluate": false,
59
+ "should_log": false,
60
+ "should_save": true,
61
+ "should_training_stop": false
62
+ },
63
+ "attributes": {}
64
+ }
65
+ },
66
+ "total_flos": 4.2157909316468736e+17,
67
+ "train_batch_size": 16,
68
+ "trial_name": null,
69
+ "trial_params": null
70
+ }
checkpoint-340/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:250d06b01c5455b9ba137bb94d1e4742f2b4b253ab0e93004dd47358889e4395
3
+ size 5304
checkpoint-425/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "finetuning_task": "image-classification",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Dosehri",
13
+ "1": "Sindhri",
14
+ "2": "Fajri",
15
+ "3": "Anwar Ratool",
16
+ "4": "Chaunsa (White)",
17
+ "5": "Langra",
18
+ "6": "Chaunsa (Black)",
19
+ "7": "Chaunsa (Summer Bahisht)"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "Anwar Ratool": "3",
26
+ "Chaunsa (Black)": "6",
27
+ "Chaunsa (Summer Bahisht)": "7",
28
+ "Chaunsa (White)": "4",
29
+ "Dosehri": "0",
30
+ "Fajri": "2",
31
+ "Langra": "5",
32
+ "Sindhri": "1"
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
+ "pooler_act": "tanh",
41
+ "pooler_output_size": 768,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.51.1"
46
+ }
checkpoint-425/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af1ba25a96166f112eafa7d5ed2b9b660d010b0de4920aec57a9af26a7632496
3
+ size 343242432
checkpoint-425/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44fcd5429b3d905b806ebac248bd2d6d9c525c823a12a480b27f82e90bb854ae
3
+ size 686605754
checkpoint-425/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
+ }
checkpoint-425/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f00dcf2113d82361540ad490eb86dd9ca20430f074af92174d6ace669fe763a9
3
+ size 14308
checkpoint-425/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7162e09bdb9fa086ca895492ad389068254e6081ed80f82902ef216ad0f1506
3
+ size 1064
checkpoint-425/trainer_state.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 425,
3
+ "best_metric": 0.3908880949020386,
4
+ "best_model_checkpoint": "./mango_output12/checkpoint-425",
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 425,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.9375,
15
+ "eval_loss": 1.282586693763733,
16
+ "eval_runtime": 3.427,
17
+ "eval_samples_per_second": 70.032,
18
+ "eval_steps_per_second": 4.377,
19
+ "step": 85
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.975,
24
+ "eval_loss": 0.7518740296363831,
25
+ "eval_runtime": 3.254,
26
+ "eval_samples_per_second": 73.755,
27
+ "eval_steps_per_second": 4.61,
28
+ "step": 170
29
+ },
30
+ {
31
+ "epoch": 3.0,
32
+ "eval_accuracy": 0.9791666666666666,
33
+ "eval_loss": 0.5236374139785767,
34
+ "eval_runtime": 3.3453,
35
+ "eval_samples_per_second": 71.742,
36
+ "eval_steps_per_second": 4.484,
37
+ "step": 255
38
+ },
39
+ {
40
+ "epoch": 4.0,
41
+ "eval_accuracy": 0.9875,
42
+ "eval_loss": 0.4190078675746918,
43
+ "eval_runtime": 3.2437,
44
+ "eval_samples_per_second": 73.989,
45
+ "eval_steps_per_second": 4.624,
46
+ "step": 340
47
+ },
48
+ {
49
+ "epoch": 5.0,
50
+ "eval_accuracy": 0.9916666666666667,
51
+ "eval_loss": 0.3908880949020386,
52
+ "eval_runtime": 3.3096,
53
+ "eval_samples_per_second": 72.515,
54
+ "eval_steps_per_second": 4.532,
55
+ "step": 425
56
+ }
57
+ ],
58
+ "logging_steps": 500,
59
+ "max_steps": 425,
60
+ "num_input_tokens_seen": 0,
61
+ "num_train_epochs": 5,
62
+ "save_steps": 500,
63
+ "stateful_callbacks": {
64
+ "TrainerControl": {
65
+ "args": {
66
+ "should_epoch_stop": false,
67
+ "should_evaluate": false,
68
+ "should_log": false,
69
+ "should_save": true,
70
+ "should_training_stop": true
71
+ },
72
+ "attributes": {}
73
+ }
74
+ },
75
+ "total_flos": 5.269738664558592e+17,
76
+ "train_batch_size": 16,
77
+ "trial_name": null,
78
+ "trial_params": null
79
+ }
checkpoint-425/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:250d06b01c5455b9ba137bb94d1e4742f2b4b253ab0e93004dd47358889e4395
3
+ size 5304
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "finetuning_task": "image-classification",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Dosehri",
13
+ "1": "Sindhri",
14
+ "2": "Fajri",
15
+ "3": "Anwar Ratool",
16
+ "4": "Chaunsa (White)",
17
+ "5": "Langra",
18
+ "6": "Chaunsa (Black)",
19
+ "7": "Chaunsa (Summer Bahisht)"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "Anwar Ratool": "3",
26
+ "Chaunsa (Black)": "6",
27
+ "Chaunsa (Summer Bahisht)": "7",
28
+ "Chaunsa (White)": "4",
29
+ "Dosehri": "0",
30
+ "Fajri": "2",
31
+ "Langra": "5",
32
+ "Sindhri": "1"
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
+ "pooler_act": "tanh",
41
+ "pooler_output_size": 768,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.51.1"
46
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.9916666666666667,
4
+ "eval_loss": 0.3908880949020386,
5
+ "eval_runtime": 3.3275,
6
+ "eval_samples_per_second": 72.126,
7
+ "eval_steps_per_second": 4.508
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af1ba25a96166f112eafa7d5ed2b9b660d010b0de4920aec57a9af26a7632496
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
+ }
runs/Apr14_01-40-09_77dd292560cf/events.out.tfevents.1744594812.77dd292560cf.339.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ec829dbd6b06e7a2d774c274499fbec36bdc0bbb6d75c5dcdbd855d9e546a02
3
+ size 7316
runs/Apr14_01-40-09_77dd292560cf/events.out.tfevents.1744595035.77dd292560cf.339.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f63a14fe9c04c0e07ecab9ba7a5d98eab9274465f920bd7d5644f01ac3e33be
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "total_flos": 5.269738664558592e+17,
4
+ "train_loss": 0.843348819508272,
5
+ "train_runtime": 218.539,
6
+ "train_samples_per_second": 31.116,
7
+ "train_steps_per_second": 1.945
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 425,
3
+ "best_metric": 0.3908880949020386,
4
+ "best_model_checkpoint": "./mango_output12/checkpoint-425",
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 425,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.9375,
15
+ "eval_loss": 1.282586693763733,
16
+ "eval_runtime": 3.427,
17
+ "eval_samples_per_second": 70.032,
18
+ "eval_steps_per_second": 4.377,
19
+ "step": 85
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.975,
24
+ "eval_loss": 0.7518740296363831,
25
+ "eval_runtime": 3.254,
26
+ "eval_samples_per_second": 73.755,
27
+ "eval_steps_per_second": 4.61,
28
+ "step": 170
29
+ },
30
+ {
31
+ "epoch": 3.0,
32
+ "eval_accuracy": 0.9791666666666666,
33
+ "eval_loss": 0.5236374139785767,
34
+ "eval_runtime": 3.3453,
35
+ "eval_samples_per_second": 71.742,
36
+ "eval_steps_per_second": 4.484,
37
+ "step": 255
38
+ },
39
+ {
40
+ "epoch": 4.0,
41
+ "eval_accuracy": 0.9875,
42
+ "eval_loss": 0.4190078675746918,
43
+ "eval_runtime": 3.2437,
44
+ "eval_samples_per_second": 73.989,
45
+ "eval_steps_per_second": 4.624,
46
+ "step": 340
47
+ },
48
+ {
49
+ "epoch": 5.0,
50
+ "eval_accuracy": 0.9916666666666667,
51
+ "eval_loss": 0.3908880949020386,
52
+ "eval_runtime": 3.3096,
53
+ "eval_samples_per_second": 72.515,
54
+ "eval_steps_per_second": 4.532,
55
+ "step": 425
56
+ },
57
+ {
58
+ "epoch": 5.0,
59
+ "step": 425,
60
+ "total_flos": 5.269738664558592e+17,
61
+ "train_loss": 0.843348819508272,
62
+ "train_runtime": 218.539,
63
+ "train_samples_per_second": 31.116,
64
+ "train_steps_per_second": 1.945
65
+ }
66
+ ],
67
+ "logging_steps": 500,
68
+ "max_steps": 425,
69
+ "num_input_tokens_seen": 0,
70
+ "num_train_epochs": 5,
71
+ "save_steps": 500,
72
+ "stateful_callbacks": {
73
+ "TrainerControl": {
74
+ "args": {
75
+ "should_epoch_stop": false,
76
+ "should_evaluate": false,
77
+ "should_log": false,
78
+ "should_save": true,
79
+ "should_training_stop": true
80
+ },
81
+ "attributes": {}
82
+ }
83
+ },
84
+ "total_flos": 5.269738664558592e+17,
85
+ "train_batch_size": 16,
86
+ "trial_name": null,
87
+ "trial_params": null
88
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:250d06b01c5455b9ba137bb94d1e4742f2b4b253ab0e93004dd47358889e4395
3
+ size 5304