Juhyang commited on
Commit
3864c76
1 Parent(s): 08e961d
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - 3_class
6
+ - multi_labels
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: ViT_face
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
+ # ViT_face
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the face dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2038
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 32
41
+ - eval_batch_size: 32
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 10
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | No log | 1.0 | 38 | 0.8817 |
52
+ | No log | 2.0 | 76 | 0.6110 |
53
+ | No log | 3.0 | 114 | 0.4243 |
54
+ | No log | 4.0 | 152 | 0.3180 |
55
+ | No log | 5.0 | 190 | 0.2811 |
56
+ | No log | 6.0 | 228 | 0.2286 |
57
+ | No log | 7.0 | 266 | 0.2133 |
58
+ | No log | 8.0 | 304 | 0.2082 |
59
+ | No log | 9.0 | 342 | 0.2050 |
60
+ | No log | 10.0 | 380 | 0.2038 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.42.4
66
+ - Pytorch 2.4.0+cu121
67
+ - Datasets 2.21.0
68
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "\u110c\u1169\u110b\u1175",
13
+ "1": "\u110f\u1161\u1105\u1175\u1102\u1161",
14
+ "2": "\u1110\u1162\u110b\u1167\u11ab"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "\u110c\u1169\u110b\u1175": "0",
21
+ "\u110f\u1161\u1105\u1175\u1102\u1161": "1",
22
+ "\u1110\u1162\u110b\u1167\u11ab": "2"
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.42.4"
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44ca1e171cd1f69eb803a5344ac3c9be29242ca916c062678e8bbef3e8dbe19c
3
+ size 343227052
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": "ViTFeatureExtractor",
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
+ }
runs/Sep03_02-20-40_c59c53a4c351/events.out.tfevents.1725330072.c59c53a4c351.1141.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d47812b65e4be0f1f0601a6beb1274e7e25901ccf0acee6105fadfc94b7ddea3
3
+ size 8044
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc65e462787003847159b7208d97d08a43f252eb311b14ee3b5f5609993c71a1
3
+ size 5112