ahmedesmail16 commited on
Commit
ef61af1
·
verified ·
1 Parent(s): 52441f1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-large-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: 0.50-Train-Test-vit-large
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # 0.50-Train-Test-vit-large
17
+
18
+ This model is a fine-tuned version of [google/vit-large-patch16-224](https://huggingface.co/google/vit-large-patch16-224) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.8804
21
+ - Accuracy: 0.8098
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 64
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 25
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
55
+ | 2.3722 | 0.9825 | 14 | 1.8140 | 0.3758 |
56
+ | 1.7117 | 1.9649 | 28 | 0.9446 | 0.7383 |
57
+ | 0.3741 | 2.9474 | 42 | 0.8083 | 0.7338 |
58
+ | 0.1709 | 4.0 | 57 | 0.7460 | 0.7562 |
59
+ | 0.0166 | 4.9825 | 71 | 0.7632 | 0.7763 |
60
+ | 0.0087 | 5.9649 | 85 | 0.9165 | 0.7629 |
61
+ | 0.013 | 6.9474 | 99 | 0.8161 | 0.7942 |
62
+ | 0.0029 | 8.0 | 114 | 0.8216 | 0.7964 |
63
+ | 0.0016 | 8.9825 | 128 | 0.8461 | 0.7919 |
64
+ | 0.0009 | 9.9649 | 142 | 0.8528 | 0.7919 |
65
+ | 0.0007 | 10.9474 | 156 | 0.8539 | 0.8031 |
66
+ | 0.0006 | 12.0 | 171 | 0.8586 | 0.8054 |
67
+ | 0.0006 | 12.9825 | 185 | 0.8622 | 0.8076 |
68
+ | 0.0005 | 13.9649 | 199 | 0.8649 | 0.8098 |
69
+ | 0.0005 | 14.9474 | 213 | 0.8677 | 0.8098 |
70
+ | 0.0005 | 16.0 | 228 | 0.8706 | 0.8098 |
71
+ | 0.0004 | 16.9825 | 242 | 0.8729 | 0.8098 |
72
+ | 0.0004 | 17.9649 | 256 | 0.8747 | 0.8098 |
73
+ | 0.0004 | 18.9474 | 270 | 0.8764 | 0.8076 |
74
+ | 0.0004 | 20.0 | 285 | 0.8776 | 0.8098 |
75
+ | 0.0004 | 20.9825 | 299 | 0.8789 | 0.8076 |
76
+ | 0.0003 | 21.9649 | 313 | 0.8794 | 0.8098 |
77
+ | 0.0003 | 22.9474 | 327 | 0.8801 | 0.8098 |
78
+ | 0.0003 | 24.0 | 342 | 0.8804 | 0.8098 |
79
+ | 0.0003 | 24.5614 | 350 | 0.8804 | 0.8098 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.41.2
85
+ - Pytorch 2.1.2
86
+ - Datasets 2.19.2
87
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-large-patch16-224",
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": 1024,
11
+ "id2label": {
12
+ "0": "Abnormal",
13
+ "1": "Erythrodermic",
14
+ "2": "Guttate",
15
+ "3": "Inverse",
16
+ "4": "Nail",
17
+ "5": "Normal",
18
+ "6": "Not Define",
19
+ "7": "Palm Soles",
20
+ "8": "Plaque",
21
+ "9": "Psoriatic Arthritis",
22
+ "10": "Pustular",
23
+ "11": "Scalp"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 4096,
28
+ "label2id": {
29
+ "Abnormal": 0,
30
+ "Erythrodermic": 1,
31
+ "Guttate": 2,
32
+ "Inverse": 3,
33
+ "Nail": 4,
34
+ "Normal": 5,
35
+ "Not Define": 6,
36
+ "Palm Soles": 7,
37
+ "Plaque": 8,
38
+ "Psoriatic Arthritis": 9,
39
+ "Pustular": 10,
40
+ "Scalp": 11
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "model_type": "vit",
44
+ "num_attention_heads": 16,
45
+ "num_channels": 3,
46
+ "num_hidden_layers": 24,
47
+ "patch_size": 16,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.41.2"
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34a58b14551c53cb8450220ef9f1de973eaa6bf3e1c49b1c20f6e7a9cd4c3107
3
+ size 1213302272
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
+ }
runs/Jun21_18-29-41_a36257f75335/events.out.tfevents.1718994582.a36257f75335.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b70f6b90b7afba622d7fd4edbeabc54b2ef9641eafb4d0f2f77d7e767d663961
3
+ size 21002
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7041d08d44ebf67f901476b9570c841e36b899f80492e3ee82e1a73bd045f211
3
+ size 5112