NeuronZero commited on
Commit
1dc1e8f
1 Parent(s): 49bc633

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ widget:
7
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
8
+ example_title: Tiger
9
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
10
+ example_title: Teapot
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
12
+ example_title: Palace
13
+ datasets:
14
+ - Falah/Blood_8_classes_Dataset
15
+ ---
16
+
17
+ # Model Trained Using AutoTrain
18
+
19
+ - Problem type: Image Classification
20
+
21
+ ## Validation Metrics
22
+ No validation metrics available
checkpoint-6411/config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 8,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "basophil",
25
+ "1": "eosinophil",
26
+ "2": "erythroblast",
27
+ "3": "ig",
28
+ "4": "lymphocyte",
29
+ "5": "monocyte",
30
+ "6": "neutrophil",
31
+ "7": "platelet"
32
+ },
33
+ "label2id": {
34
+ "basophil": 0,
35
+ "eosinophil": 1,
36
+ "erythroblast": 2,
37
+ "ig": 3,
38
+ "lymphocyte": 4,
39
+ "monocyte": 5,
40
+ "neutrophil": 6,
41
+ "platelet": 7
42
+ },
43
+ "layer_type": "bottleneck",
44
+ "model_type": "resnet",
45
+ "num_channels": 3,
46
+ "out_features": [
47
+ "stage4"
48
+ ],
49
+ "out_indices": [
50
+ 4
51
+ ],
52
+ "problem_type": "single_label_classification",
53
+ "stage_names": [
54
+ "stem",
55
+ "stage1",
56
+ "stage2",
57
+ "stage3",
58
+ "stage4"
59
+ ],
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.39.0"
62
+ }
checkpoint-6411/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb45a381a94d542f635e7a2536e4dcf04f8a597cc80df57f1fa1732077c9fff7
3
+ size 94352152
checkpoint-6411/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad5ef3df5d184537e05233a4fdb82eebafab51ab09cc9743bd10d33eca69eece
3
+ size 188326330
checkpoint-6411/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa4fe395fc7eac2b1ba59be8f15a541105007c71f6919f8d48fc87cdc1ee3e0a
3
+ size 13990
checkpoint-6411/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0640c7edf921c53f71167a8db6b7ec66db0939f20105c94be89d88da848942ed
3
+ size 1064
checkpoint-6411/trainer_state.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 6411,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.2,
13
+ "grad_norm": 6479046246400.0,
14
+ "learning_rate": 3.3255451713395644e-05,
15
+ "loss": 31699221108.3091,
16
+ "step": 427
17
+ },
18
+ {
19
+ "epoch": 0.4,
20
+ "grad_norm": 8700652158976.0,
21
+ "learning_rate": 4.8162593170393484e-05,
22
+ "loss": 14378762930.6604,
23
+ "step": 854
24
+ },
25
+ {
26
+ "epoch": 0.6,
27
+ "grad_norm": 16.28143310546875,
28
+ "learning_rate": 4.446177847113885e-05,
29
+ "loss": 3635725784.4309,
30
+ "step": 1281
31
+ },
32
+ {
33
+ "epoch": 0.8,
34
+ "grad_norm": 6.706409454345703,
35
+ "learning_rate": 4.076096377188421e-05,
36
+ "loss": 1017393142.4075,
37
+ "step": 1708
38
+ },
39
+ {
40
+ "epoch": 1.0,
41
+ "grad_norm": 9.295268058776855,
42
+ "learning_rate": 3.7060149072629574e-05,
43
+ "loss": 1230655574.3326,
44
+ "step": 2135
45
+ },
46
+ {
47
+ "epoch": 1.2,
48
+ "grad_norm": 7.9164958000183105,
49
+ "learning_rate": 3.335933437337493e-05,
50
+ "loss": 387735187.4848,
51
+ "step": 2562
52
+ },
53
+ {
54
+ "epoch": 1.4,
55
+ "grad_norm": 18.9678897857666,
56
+ "learning_rate": 2.96585196741203e-05,
57
+ "loss": 610998305.5738,
58
+ "step": 2989
59
+ },
60
+ {
61
+ "epoch": 1.6,
62
+ "grad_norm": 22.521636962890625,
63
+ "learning_rate": 2.595770497486566e-05,
64
+ "loss": 286763645.9016,
65
+ "step": 3416
66
+ },
67
+ {
68
+ "epoch": 1.8,
69
+ "grad_norm": 6.2225751876831055,
70
+ "learning_rate": 2.2256890275611026e-05,
71
+ "loss": 146726173.377,
72
+ "step": 3843
73
+ },
74
+ {
75
+ "epoch": 2.0,
76
+ "grad_norm": 4.1397271156311035,
77
+ "learning_rate": 1.8556075576356388e-05,
78
+ "loss": 153057112.1311,
79
+ "step": 4270
80
+ },
81
+ {
82
+ "epoch": 2.2,
83
+ "grad_norm": 20.3540096282959,
84
+ "learning_rate": 1.4855260877101752e-05,
85
+ "loss": 167597749.0585,
86
+ "step": 4697
87
+ },
88
+ {
89
+ "epoch": 2.4,
90
+ "grad_norm": 2.9089903831481934,
91
+ "learning_rate": 1.1154446177847114e-05,
92
+ "loss": 31491796.2342,
93
+ "step": 5124
94
+ },
95
+ {
96
+ "epoch": 2.6,
97
+ "grad_norm": 11.952803611755371,
98
+ "learning_rate": 7.453631478592478e-06,
99
+ "loss": 228096436.459,
100
+ "step": 5551
101
+ },
102
+ {
103
+ "epoch": 2.8,
104
+ "grad_norm": 8.380680084228516,
105
+ "learning_rate": 3.7528167793378402e-06,
106
+ "loss": 170669039.2131,
107
+ "step": 5978
108
+ },
109
+ {
110
+ "epoch": 3.0,
111
+ "grad_norm": 11.055083274841309,
112
+ "learning_rate": 5.2002080083203335e-08,
113
+ "loss": 77525903.2881,
114
+ "step": 6405
115
+ }
116
+ ],
117
+ "logging_steps": 427,
118
+ "max_steps": 6411,
119
+ "num_input_tokens_seen": 0,
120
+ "num_train_epochs": 3,
121
+ "save_steps": 500,
122
+ "total_flos": 1.089435891661996e+18,
123
+ "train_batch_size": 8,
124
+ "trial_name": null,
125
+ "trial_params": null
126
+ }
checkpoint-6411/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f7855f212d39180a74392ed00777ae962b15e47ad4528f0eec431cc0dd2b574
3
+ size 4920
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 8,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "basophil",
25
+ "1": "eosinophil",
26
+ "2": "erythroblast",
27
+ "3": "ig",
28
+ "4": "lymphocyte",
29
+ "5": "monocyte",
30
+ "6": "neutrophil",
31
+ "7": "platelet"
32
+ },
33
+ "label2id": {
34
+ "basophil": 0,
35
+ "eosinophil": 1,
36
+ "erythroblast": 2,
37
+ "ig": 3,
38
+ "lymphocyte": 4,
39
+ "monocyte": 5,
40
+ "neutrophil": 6,
41
+ "platelet": 7
42
+ },
43
+ "layer_type": "bottleneck",
44
+ "model_type": "resnet",
45
+ "num_channels": 3,
46
+ "out_features": [
47
+ "stage4"
48
+ ],
49
+ "out_indices": [
50
+ 4
51
+ ],
52
+ "problem_type": "single_label_classification",
53
+ "stage_names": [
54
+ "stem",
55
+ "stage1",
56
+ "stage2",
57
+ "stage3",
58
+ "stage4"
59
+ ],
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.39.0"
62
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb45a381a94d542f635e7a2536e4dcf04f8a597cc80df57f1fa1732077c9fff7
3
+ size 94352152
preprocessor_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "crop_pct",
7
+ "resample",
8
+ "do_rescale",
9
+ "rescale_factor",
10
+ "do_normalize",
11
+ "image_mean",
12
+ "image_std",
13
+ "return_tensors",
14
+ "data_format",
15
+ "input_data_format"
16
+ ],
17
+ "crop_pct": 0.875,
18
+ "do_normalize": true,
19
+ "do_rescale": true,
20
+ "do_resize": true,
21
+ "image_mean": [
22
+ 0.485,
23
+ 0.456,
24
+ 0.406
25
+ ],
26
+ "image_processor_type": "ConvNextImageProcessor",
27
+ "image_std": [
28
+ 0.229,
29
+ 0.224,
30
+ 0.225
31
+ ],
32
+ "resample": 3,
33
+ "rescale_factor": 0.00392156862745098,
34
+ "size": {
35
+ "shortest_edge": 224
36
+ }
37
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f7855f212d39180a74392ed00777ae962b15e47ad4528f0eec431cc0dd2b574
3
+ size 4920
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "Falah/Blood_8_classes_Dataset",
3
+ "model": "microsoft/resnet-50",
4
+ "username": "NeuronZero",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": null,
17
+ "logging_steps": -1,
18
+ "project_name": "WBC-Classifier",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp8",
21
+ "save_total_limit": 1,
22
+ "save_strategy": "epoch",
23
+ "push_to_hub": true,
24
+ "repo_id": "NeuronZero/WBC-Classifier",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "image",
27
+ "target_column": "label",
28
+ "log": "none"
29
+ }