Reyga commited on
Commit
fa74ca8
1 Parent(s): 2b574d1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: nateraw/vit-age-classifier
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: results
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 1.0
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # results
32
+
33
+ This model is a fine-tuned version of [nateraw/vit-age-classifier](https://huggingface.co/nateraw/vit-age-classifier) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.0642
36
+ - Accuracy: 1.0
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 8
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - num_epochs: 5
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | No log | 1.0 | 100 | 1.5108 | 0.575 |
68
+ | No log | 2.0 | 200 | 0.6529 | 0.8125 |
69
+ | No log | 3.0 | 300 | 0.2589 | 1.0 |
70
+ | No log | 4.0 | 400 | 0.1071 | 1.0 |
71
+ | 0.8743 | 5.0 | 500 | 0.0642 | 1.0 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.44.2
77
+ - Pytorch 2.4.0+cu121
78
+ - Datasets 2.21.0
79
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nateraw/vit-age-classifier",
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": "0-2",
13
+ "1": "3-9",
14
+ "2": "10-19",
15
+ "3": "20-29",
16
+ "4": "30-39",
17
+ "5": "40-49",
18
+ "6": "50-59",
19
+ "7": "60-69",
20
+ "8": "more than 70"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "0-2": 0,
27
+ "10-19": 2,
28
+ "20-29": 3,
29
+ "3-9": 1,
30
+ "30-39": 4,
31
+ "40-49": 5,
32
+ "50-59": 6,
33
+ "60-69": 7,
34
+ "more than 70": 8
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "model_type": "vit",
38
+ "num_attention_heads": 12,
39
+ "num_channels": 3,
40
+ "num_hidden_layers": 12,
41
+ "patch_size": 16,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.44.2"
46
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ae326d6d9c2a6c7067b13fff2e9d13087bd0bf30736f584473dcaab61b4610
3
+ size 343245508
runs/Sep06_08-56-39_3b71eb21ac7e/events.out.tfevents.1725613014.3b71eb21ac7e.1452.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:857c5149e1089cea5f41fb5101b586bb6de35d7ced67115d092198602f4f51bd
3
+ size 5122
runs/Sep06_08-59-37_3b71eb21ac7e/events.out.tfevents.1725613196.3b71eb21ac7e.1452.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14cc7cf45007530c2903e99c4a87729183a05aca18c0f7b1dff2e0bdb6b6a632
3
+ size 5123
runs/Sep06_09-01-24_3b71eb21ac7e/events.out.tfevents.1725613388.3b71eb21ac7e.1452.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07f91e3888d5ff1247c9e8c6eaa2f488b10fac28a235563b2925f46416868d4c
3
+ size 5123
runs/Sep06_09-04-27_3b71eb21ac7e/events.out.tfevents.1725613490.3b71eb21ac7e.1452.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76ae7824e06cc0eee1befdefd71e82c17a211720d1a42bfda094309bca8be11f
3
+ size 5123
runs/Sep06_09-05-35_3b71eb21ac7e/events.out.tfevents.1725613538.3b71eb21ac7e.1452.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e11e6af60ef78b61795dd7b911491f43eee2a88c0843e93144164e10dbb4e4cb
3
+ size 5123
runs/Sep06_09-05-54_3b71eb21ac7e/events.out.tfevents.1725613555.3b71eb21ac7e.1452.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cfabf2ace1727a944e4b4b54de3b814913a54e5c76460d6c50cf4e679c6435d
3
+ size 5123
runs/Sep06_09-07-23_3b71eb21ac7e/events.out.tfevents.1725613661.3b71eb21ac7e.1452.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:544f6b75a76513ee01f2bd09d5b8ce364924560c23fdf5b8cada0fd17a6a25f5
3
+ size 6440
runs/Sep06_09-14-32_3b71eb21ac7e/events.out.tfevents.1725614073.3b71eb21ac7e.1452.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd181662efeac2e3f99f233c7025cfa3cb6de7e9a3f91772fae1474620584859
3
+ size 7297
runs/Sep06_09-14-32_3b71eb21ac7e/events.out.tfevents.1725614745.3b71eb21ac7e.1452.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dde43acbf0d274412fcf68b2b1cb9d1a63be6a887b861870d85f5f649b5910f
3
+ size 411
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04b0e9e907ea6b269efd1582d417102588cfbbf5487a3e83d04e6f39e3ccccc6
3
+ size 5176