dima806 commited on
Commit
3368326
1 Parent(s): e35652b

Upload folder using huggingface_hub

Browse files
checkpoint-446/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.38.1"
132
+ }
checkpoint-446/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df2a7d9bbcd893c60ed9ac390ac1d6c6bf680222c2a3958f56e797f3adfe175
3
+ size 343377784
checkpoint-446/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3e61e955f17886bced2546a8238d7cb75e398f9c4ae15a22e9483a8f5869669
3
+ size 686876037
checkpoint-446/preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
checkpoint-446/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd79cebd79fa256597d8e3557b705d986a8336076d92d2e13259498c18658679
3
+ size 14575
checkpoint-446/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe1348f03ca783ff07d5de0e69c7f3980b13bec2a3326c7e1b158a27d00fb6c1
3
+ size 627
checkpoint-446/trainer_state.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.20114386081695557,
3
+ "best_model_checkpoint": "medicinal_plants_image_detection/checkpoint-446",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 446,
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.9960718294051627,
14
+ "eval_loss": 0.20360320806503296,
15
+ "eval_runtime": 54.3218,
16
+ "eval_samples_per_second": 32.804,
17
+ "eval_steps_per_second": 4.105,
18
+ "step": 223
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9960718294051627,
23
+ "eval_loss": 0.20114386081695557,
24
+ "eval_runtime": 54.6489,
25
+ "eval_samples_per_second": 32.608,
26
+ "eval_steps_per_second": 4.081,
27
+ "step": 446
28
+ }
29
+ ],
30
+ "logging_steps": 500,
31
+ "max_steps": 446,
32
+ "num_input_tokens_seen": 0,
33
+ "num_train_epochs": 2,
34
+ "save_steps": 500,
35
+ "total_flos": 1.1046006556118876e+18,
36
+ "train_batch_size": 32,
37
+ "trial_name": null,
38
+ "trial_params": null
39
+ }
checkpoint-446/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:690501f837a660632141f3d1bb13f8add2bdc389eb9cfe8b011ddabeda62507c
3
+ size 4411
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.36.2"
132
  }
 
128
  "problem_type": "single_label_classification",
129
  "qkv_bias": true,
130
  "torch_dtype": "float32",
131
+ "transformers_version": "4.38.1"
132
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fca0c5f70caea2a088767c9409ec3c9c0e229cc5f63412082d8d7f7ab57cf87c
3
  size 343377784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df2a7d9bbcd893c60ed9ac390ac1d6c6bf680222c2a3958f56e797f3adfe175
3
  size 343377784
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f8b211ff932e19175bc7541070de451a6eab7f1906a0d94cab017f2ad81c940
3
- size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:690501f837a660632141f3d1bb13f8add2bdc389eb9cfe8b011ddabeda62507c
3
+ size 4411