itsLeen commited on
Commit
f796cce
1 Parent(s): 635f04a

Model save

Browse files
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
- value: 0.8011152416356877
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
33
 
34
  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 imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.5222
37
- - Accuracy: 0.8011
38
 
39
  ## Model description
40
 
@@ -53,8 +53,8 @@ More information needed
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
- - learning_rate: 0.0001
57
- - train_batch_size: 2
58
  - eval_batch_size: 8
59
  - seed: 42
60
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
@@ -64,18 +64,18 @@ The following hyperparameters were used during training:
64
 
65
  ### Training results
66
 
67
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
- |:-------------:|:-----:|:-----:|:---------------:|:--------:|
69
- | 0.717 | 1.0 | 1522 | 0.8198 | 0.5186 |
70
- | 0.7935 | 2.0 | 3044 | 0.6689 | 0.6989 |
71
- | 0.7885 | 3.0 | 4566 | 0.5983 | 0.7082 |
72
- | 0.7315 | 4.0 | 6088 | 0.6050 | 0.7398 |
73
- | 0.7526 | 5.0 | 7610 | 0.6488 | 0.7454 |
74
- | 0.7844 | 6.0 | 9132 | 0.6292 | 0.7584 |
75
- | 0.8785 | 7.0 | 10654 | 0.5291 | 0.7900 |
76
- | 0.529 | 8.0 | 12176 | 0.4577 | 0.8160 |
77
- | 0.9946 | 9.0 | 13698 | 0.4851 | 0.8160 |
78
- | 0.7006 | 10.0 | 15220 | 0.5222 | 0.8011 |
79
 
80
 
81
  ### Framework versions
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.8494423791821561
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
33
 
34
  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 imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.3989
37
+ - Accuracy: 0.8494
38
 
39
  ## Model description
40
 
 
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 4
58
  - eval_batch_size: 8
59
  - seed: 42
60
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
 
64
 
65
  ### Training results
66
 
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
+ | 0.5083 | 1.0 | 761 | 0.4226 | 0.8234 |
70
+ | 0.5171 | 2.0 | 1522 | 0.4868 | 0.7825 |
71
+ | 0.5042 | 3.0 | 2283 | 0.4948 | 0.7862 |
72
+ | 0.282 | 4.0 | 3044 | 0.4702 | 0.8067 |
73
+ | 0.8396 | 5.0 | 3805 | 0.4037 | 0.8290 |
74
+ | 0.2213 | 6.0 | 4566 | 0.5371 | 0.7918 |
75
+ | 0.636 | 7.0 | 5327 | 0.4830 | 0.8234 |
76
+ | 0.5217 | 8.0 | 6088 | 0.3411 | 0.8829 |
77
+ | 0.3796 | 9.0 | 6849 | 0.3674 | 0.8680 |
78
+ | 0.286 | 10.0 | 7610 | 0.3989 | 0.8494 |
79
 
80
 
81
  ### Framework versions
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 4.547751389590703,
3
- "eval_accuracy": 0.8986752595775153,
4
- "eval_loss": 0.23256993293762207,
5
- "eval_runtime": 23.3593,
6
- "eval_samples_per_second": 119.567,
7
- "eval_steps_per_second": 14.983,
8
- "total_flos": 5.577253476541415e+18,
9
- "train_loss": 0.37995564444859825,
10
- "train_runtime": 4981.1969,
11
- "train_samples_per_second": 14.454,
12
- "train_steps_per_second": 1.807
13
  }
 
1
  {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.8159851301115242,
4
+ "eval_loss": 0.4577201008796692,
5
+ "eval_runtime": 39.5349,
6
+ "eval_samples_per_second": 13.608,
7
+ "eval_steps_per_second": 1.72,
8
+ "total_flos": 2.3588561638681805e+18,
9
+ "train_loss": 0.6660665354183563,
10
+ "train_runtime": 3972.9927,
11
+ "train_samples_per_second": 7.662,
12
+ "train_steps_per_second": 3.831
13
  }
config.json CHANGED
@@ -8,17 +8,9 @@
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
- "id2label": {
12
- "0": 0,
13
- "1": 1
14
- },
15
  "image_size": 224,
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
- "label2id": {
19
- "0": "0",
20
- "1": "1"
21
- },
22
  "layer_norm_eps": 1e-12,
23
  "model_type": "vit",
24
  "num_attention_heads": 12,
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
 
 
 
 
11
  "image_size": 224,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
 
 
 
 
14
  "layer_norm_eps": 1e-12,
15
  "model_type": "vit",
16
  "num_attention_heads": 12,
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 4.547751389590703,
3
- "eval_accuracy": 0.8986752595775153,
4
- "eval_loss": 0.23256993293762207,
5
- "eval_runtime": 23.3593,
6
- "eval_samples_per_second": 119.567,
7
- "eval_steps_per_second": 14.983
8
  }
 
1
  {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.8159851301115242,
4
+ "eval_loss": 0.4577201008796692,
5
+ "eval_runtime": 39.5349,
6
+ "eval_samples_per_second": 13.608,
7
+ "eval_steps_per_second": 1.72
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f96ad6896ae934f3ebc65ef27bc7bc9170fa060f905eeba7398b34f6cfa6737
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e085bd41d3ced724160e4e6a831b38b59e2ceaa9fd4174c2be4c780e18fd9fa0
3
  size 343223968
runs/Oct02_14-40-06_dcbb13f74eeb/events.out.tfevents.1727884063.dcbb13f74eeb.1604.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0862fb5b9dad3e54293e69d2115044873ceccc7fa5a31412cda832fde852f45
3
+ size 411
runs/Oct02_15-48-20_dcbb13f74eeb/events.out.tfevents.1727884113.dcbb13f74eeb.1604.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4461684f37c01f570caf4685930105807c86449829d8cc62ab2782bb0bea48fb
3
+ size 168890
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 4.547751389590703,
3
- "total_flos": 5.577253476541415e+18,
4
- "train_loss": 0.37995564444859825,
5
- "train_runtime": 4981.1969,
6
- "train_samples_per_second": 14.454,
7
- "train_steps_per_second": 1.807
8
  }
 
1
  {
2
+ "epoch": 10.0,
3
+ "total_flos": 2.3588561638681805e+18,
4
+ "train_loss": 0.6660665354183563,
5
+ "train_runtime": 3972.9927,
6
+ "train_samples_per_second": 7.662,
7
+ "train_steps_per_second": 3.831
8
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:abeb52e96ac7f76ce392655f864ffc8d4f25020703f19d61bcd76e5c61524d99
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b02f5ba5c3d83c0ad50c77c85ef3a05cbfe37dda066133605acd4a4a5bd9d34b
3
  size 5176