aningddd commited on
Commit
75a0ee4
·
verified ·
1 Parent(s): 9c88a33

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: vit-augmented
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # vit-augmented
18
+
19
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7627
22
+ - Accuracy: 0.8096
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 32
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 128
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 10
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 1.2553 | 1.0 | 240 | 1.2678 | 0.4939 |
57
+ | 0.9239 | 2.0 | 480 | 0.9428 | 0.6534 |
58
+ | 0.5559 | 3.0 | 720 | 0.8016 | 0.7161 |
59
+ | 0.303 | 4.0 | 960 | 0.7304 | 0.7509 |
60
+ | 0.1581 | 5.0 | 1200 | 0.7179 | 0.7684 |
61
+ | 0.1043 | 6.0 | 1440 | 0.6920 | 0.7911 |
62
+ | 0.0394 | 7.0 | 1680 | 0.7819 | 0.7840 |
63
+ | 0.0214 | 8.0 | 1920 | 0.7248 | 0.8047 |
64
+ | 0.0173 | 9.0 | 2160 | 0.7635 | 0.8083 |
65
+ | 0.0114 | 10.0 | 2400 | 0.7627 | 0.8096 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.44.2
71
+ - Pytorch 2.4.1+cu121
72
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "LABEL_0": 0,
24
+ "LABEL_1": 1,
25
+ "LABEL_2": 2,
26
+ "LABEL_3": 3,
27
+ "LABEL_4": 4,
28
+ "LABEL_5": 5
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "vit",
32
+ "num_attention_heads": 12,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "problem_type": "single_label_classification",
37
+ "qkv_bias": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.44.2"
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e039d5a61c29acb540db95a0529570032d4021f5423fc9b38457e210eb063c6
3
+ size 343236280
runs/Oct19_02-43-37_98071d0550f1/events.out.tfevents.1729305820.98071d0550f1.1100.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:556982967f548221270f35f6cf458d69d8c6274108a19ec99bfc0650ace872a7
3
+ size 5057
runs/Oct19_02-45-17_98071d0550f1/events.out.tfevents.1729305920.98071d0550f1.1100.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3165a547c551e62dda7e1f23da072f257d41a048296eaecfe4272b5b17ff7aa7
3
+ size 5057
runs/Oct19_02-45-39_98071d0550f1/events.out.tfevents.1729305944.98071d0550f1.1100.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea9e4d4346a0a574ed5b9e024f558b0e443f201d66ea3a5f8bd3f4e5db580aec
3
+ size 59233
runs/Oct19_02-45-39_98071d0550f1/events.out.tfevents.1729317895.98071d0550f1.1100.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f629e9451617633d62affe108e41ac5f3d0f1f3d6eaa9e268823b1df1a3a6224
3
+ size 411
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4001d84517e2b0cd1959df73fdaefd06406e25679dc3ff0d7db67c0ca8248b92
3
+ size 5176