dima806 commited on
Commit
3ebb0d0
1 Parent(s): 3cedbf5

Upload folder using huggingface_hub

Browse files
checkpoint-564/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.2"
132
+ }
checkpoint-564/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61b3cc0b602c4802781ac212a5f35e1ed14405de2aa6d23ac152bb14930b9a9e
3
+ size 343377784
checkpoint-564/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5baf1b8cebfe08a871464baa4fde73219ba8cd4b10e7b0737547b1030511e39e
3
+ size 686876037
checkpoint-564/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-564/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63b6c38ae5f6a4baa31af16d7c12eb3a0e01ac06003e2e8978bc2c859e8fad0c
3
+ size 14575
checkpoint-564/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a741ebedf8b0c7037244a8548e6069992e15ca5c23841ac29d9ffb54a452afee
3
+ size 627
checkpoint-564/trainer_state.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.2104332149028778,
3
+ "best_model_checkpoint": "medicinal_plants_image_detection/checkpoint-564",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 564,
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.9961743180306054,
14
+ "eval_loss": 0.21090003848075867,
15
+ "eval_runtime": 166.6333,
16
+ "eval_samples_per_second": 36.079,
17
+ "eval_steps_per_second": 4.513,
18
+ "step": 282
19
+ },
20
+ {
21
+ "epoch": 1.773049645390071,
22
+ "grad_norm": 0.7829970717430115,
23
+ "learning_rate": 2.490272373540856e-08,
24
+ "loss": 0.188,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.9961743180306054,
30
+ "eval_loss": 0.2104332149028778,
31
+ "eval_runtime": 166.1359,
32
+ "eval_samples_per_second": 36.187,
33
+ "eval_steps_per_second": 4.526,
34
+ "step": 564
35
+ }
36
+ ],
37
+ "logging_steps": 500,
38
+ "max_steps": 564,
39
+ "num_input_tokens_seen": 0,
40
+ "num_train_epochs": 2,
41
+ "save_steps": 500,
42
+ "total_flos": 1.3979617505610301e+18,
43
+ "train_batch_size": 32,
44
+ "trial_name": null,
45
+ "trial_params": null
46
+ }
checkpoint-564/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d74662b9419b83ba33a1c5121809b497df384f1331b933de1506fd73ab1cf432
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.40.0"
132
  }
 
128
  "problem_type": "single_label_classification",
129
  "qkv_bias": true,
130
  "torch_dtype": "float32",
131
+ "transformers_version": "4.40.2"
132
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:030d4e0b6cc70cdd0dc2f9404e202b0bfda87ace67692ec1a9884d727ecf0319
3
  size 343377784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61b3cc0b602c4802781ac212a5f35e1ed14405de2aa6d23ac152bb14930b9a9e
3
  size 343377784
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6979b9bdf8e93dd08d4f7ee4489828b811fd2b14775f3062eeaa4b673581fe4b
3
  size 4475
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d74662b9419b83ba33a1c5121809b497df384f1331b933de1506fd73ab1cf432
3
  size 4475