dima806 commited on
Commit
748022f
1 Parent(s): 2877f1d

Upload folder using huggingface_hub

Browse files
checkpoint-835/config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/medicinal_plants_image_detection",
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": "Amla",
13
+ "1": "Curry",
14
+ "2": "Betel",
15
+ "3": "Bamboo",
16
+ "4": "Palak(Spinach)",
17
+ "5": "Coriender",
18
+ "6": "Ashoka",
19
+ "7": "Seethapala",
20
+ "8": "Lemon_grass",
21
+ "9": "Pappaya",
22
+ "10": "Curry_Leaf",
23
+ "11": "Lemon",
24
+ "12": "Nooni",
25
+ "13": "Henna",
26
+ "14": "Mango",
27
+ "15": "Doddpathre",
28
+ "16": "Amruta_Balli",
29
+ "17": "Betel_Nut",
30
+ "18": "Tulsi",
31
+ "19": "Pomegranate",
32
+ "20": "Castor",
33
+ "21": "Jackfruit",
34
+ "22": "Insulin",
35
+ "23": "Pepper",
36
+ "24": "Raktachandini",
37
+ "25": "Aloevera",
38
+ "26": "Jasmine",
39
+ "27": "Doddapatre",
40
+ "28": "Neem",
41
+ "29": "Geranium",
42
+ "30": "Rose",
43
+ "31": "Gauva",
44
+ "32": "Hibiscus",
45
+ "33": "Nithyapushpa",
46
+ "34": "Wood_sorel",
47
+ "35": "Tamarind",
48
+ "36": "Guava",
49
+ "37": "Bhrami",
50
+ "38": "Sapota",
51
+ "39": "Basale",
52
+ "40": "Avacado",
53
+ "41": "Ashwagandha",
54
+ "42": "Nagadali",
55
+ "43": "Arali",
56
+ "44": "Ekka",
57
+ "45": "Ganike",
58
+ "46": "Tulasi",
59
+ "47": "Honge",
60
+ "48": "Mint",
61
+ "49": "Catharanthus",
62
+ "50": "Papaya",
63
+ "51": "Brahmi"
64
+ },
65
+ "image_size": 224,
66
+ "initializer_range": 0.02,
67
+ "intermediate_size": 3072,
68
+ "label2id": {
69
+ "Aloevera": 25,
70
+ "Amla": 0,
71
+ "Amruta_Balli": 16,
72
+ "Arali": 43,
73
+ "Ashoka": 6,
74
+ "Ashwagandha": 41,
75
+ "Avacado": 40,
76
+ "Bamboo": 3,
77
+ "Basale": 39,
78
+ "Betel": 2,
79
+ "Betel_Nut": 17,
80
+ "Bhrami": 37,
81
+ "Brahmi": 51,
82
+ "Castor": 20,
83
+ "Catharanthus": 49,
84
+ "Coriender": 5,
85
+ "Curry": 1,
86
+ "Curry_Leaf": 10,
87
+ "Doddapatre": 27,
88
+ "Doddpathre": 15,
89
+ "Ekka": 44,
90
+ "Ganike": 45,
91
+ "Gauva": 31,
92
+ "Geranium": 29,
93
+ "Guava": 36,
94
+ "Henna": 13,
95
+ "Hibiscus": 32,
96
+ "Honge": 47,
97
+ "Insulin": 22,
98
+ "Jackfruit": 21,
99
+ "Jasmine": 26,
100
+ "Lemon": 11,
101
+ "Lemon_grass": 8,
102
+ "Mango": 14,
103
+ "Mint": 48,
104
+ "Nagadali": 42,
105
+ "Neem": 28,
106
+ "Nithyapushpa": 33,
107
+ "Nooni": 12,
108
+ "Palak(Spinach)": 4,
109
+ "Papaya": 50,
110
+ "Pappaya": 9,
111
+ "Pepper": 23,
112
+ "Pomegranate": 19,
113
+ "Raktachandini": 24,
114
+ "Rose": 30,
115
+ "Sapota": 38,
116
+ "Seethapala": 7,
117
+ "Tamarind": 35,
118
+ "Tulasi": 46,
119
+ "Tulsi": 18,
120
+ "Wood_sorel": 34
121
+ },
122
+ "layer_norm_eps": 1e-12,
123
+ "model_type": "vit",
124
+ "num_attention_heads": 12,
125
+ "num_channels": 3,
126
+ "num_hidden_layers": 12,
127
+ "patch_size": 16,
128
+ "problem_type": "single_label_classification",
129
+ "qkv_bias": true,
130
+ "torch_dtype": "float32",
131
+ "transformers_version": "4.40.0"
132
+ }
checkpoint-835/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030d4e0b6cc70cdd0dc2f9404e202b0bfda87ace67692ec1a9884d727ecf0319
3
+ size 343377784
checkpoint-835/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3391c687e8e0a87703fc79832897bf5f33b019b1ae6ee2315e2856586277fae3
3
+ size 686876037
checkpoint-835/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
checkpoint-835/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5507b1ee72ec5546abb597649876e9004ee944d7068000bf048fb9e6779aa278
3
+ size 14575
checkpoint-835/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99e313c37a058266634c0d78468f85f04a990a7e6283dbe878dbb31915122454
3
+ size 627
checkpoint-835/trainer_state.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.1951761394739151,
3
+ "best_model_checkpoint": "medicinal_plants_image_detection/checkpoint-835",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 835,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.9969127140050519,
14
+ "eval_loss": 0.19725103676319122,
15
+ "eval_runtime": 108.0824,
16
+ "eval_samples_per_second": 32.966,
17
+ "eval_steps_per_second": 4.126,
18
+ "step": 167
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9969127140050519,
23
+ "eval_loss": 0.19647938013076782,
24
+ "eval_runtime": 108.5317,
25
+ "eval_samples_per_second": 32.829,
26
+ "eval_steps_per_second": 4.109,
27
+ "step": 334
28
+ },
29
+ {
30
+ "epoch": 2.9940119760479043,
31
+ "grad_norm": 2.3671224117279053,
32
+ "learning_rate": 2.1337579617834394e-07,
33
+ "loss": 0.1796,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.9969127140050519,
39
+ "eval_loss": 0.1956968903541565,
40
+ "eval_runtime": 109.0018,
41
+ "eval_samples_per_second": 32.688,
42
+ "eval_steps_per_second": 4.092,
43
+ "step": 501
44
+ },
45
+ {
46
+ "epoch": 4.0,
47
+ "eval_accuracy": 0.9969127140050519,
48
+ "eval_loss": 0.1952677220106125,
49
+ "eval_runtime": 108.6179,
50
+ "eval_samples_per_second": 32.803,
51
+ "eval_steps_per_second": 4.106,
52
+ "step": 668
53
+ },
54
+ {
55
+ "epoch": 5.0,
56
+ "eval_accuracy": 0.997193376368229,
57
+ "eval_loss": 0.1951761394739151,
58
+ "eval_runtime": 108.2776,
59
+ "eval_samples_per_second": 32.906,
60
+ "eval_steps_per_second": 4.119,
61
+ "step": 835
62
+ }
63
+ ],
64
+ "logging_steps": 500,
65
+ "max_steps": 835,
66
+ "num_input_tokens_seen": 0,
67
+ "num_train_epochs": 5,
68
+ "save_steps": 500,
69
+ "total_flos": 2.0711262292722893e+18,
70
+ "train_batch_size": 32,
71
+ "trial_name": null,
72
+ "trial_params": null
73
+ }
checkpoint-835/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6979b9bdf8e93dd08d4f7ee4489828b811fd2b14775f3062eeaa4b673581fe4b
3
+ size 4475
config.json CHANGED
@@ -128,5 +128,5 @@
128
  "problem_type": "single_label_classification",
129
  "qkv_bias": true,
130
  "torch_dtype": "float32",
131
- "transformers_version": "4.38.1"
132
  }
 
128
  "problem_type": "single_label_classification",
129
  "qkv_bias": true,
130
  "torch_dtype": "float32",
131
+ "transformers_version": "4.40.0"
132
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0df2a7d9bbcd893c60ed9ac390ac1d6c6bf680222c2a3958f56e797f3adfe175
3
  size 343377784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030d4e0b6cc70cdd0dc2f9404e202b0bfda87ace67692ec1a9884d727ecf0319
3
  size 343377784
preprocessor_config.json CHANGED
@@ -1,4 +1,18 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "do_normalize": true,
3
  "do_rescale": true,
4
  "do_resize": true,
 
1
  {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
  "do_normalize": true,
17
  "do_rescale": true,
18
  "do_resize": true,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:690501f837a660632141f3d1bb13f8add2bdc389eb9cfe8b011ddabeda62507c
3
- size 4411
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6979b9bdf8e93dd08d4f7ee4489828b811fd2b14775f3062eeaa4b673581fe4b
3
+ size 4475