ongkn commited on
Commit
9f3618a
1 Parent(s): d3c8b5f

Push Keras model using huggingface_hub.

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,40 +1,7 @@
1
  ---
2
- license: apache-2.0
3
- base_model: google/vit-base-patch16-224-in21k
4
- tags:
5
- - generated_from_trainer
6
- datasets:
7
- - imagefolder
8
- metrics:
9
- - accuracy
10
- model-index:
11
- - name: attraction-classifier
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: 0.7955974842767296
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
- # attraction-classifier
32
-
33
- 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.
34
- It achieves the following results on the evaluation set:
35
- - Loss: 0.4691
36
- - Accuracy: 0.7956
37
-
38
  ## Model description
39
 
40
  More information needed
@@ -52,53 +19,23 @@ More information needed
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
- - learning_rate: 5e-05
56
- - train_batch_size: 16
57
- - eval_batch_size: 16
58
- - seed: 69
59
- - gradient_accumulation_steps: 4
60
- - total_train_batch_size: 64
61
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
- - lr_scheduler_type: cosine
63
- - lr_scheduler_warmup_ratio: 0.15
64
- - num_epochs: 15
65
-
66
- ### Training results
67
-
68
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
- | 0.6703 | 0.34 | 15 | 0.6354 | 0.7327 |
71
- | 0.5449 | 0.67 | 30 | 0.5836 | 0.7421 |
72
- | 0.5407 | 1.01 | 45 | 0.5594 | 0.7421 |
73
- | 0.5255 | 1.34 | 60 | 0.5294 | 0.7547 |
74
- | 0.5586 | 1.68 | 75 | 0.5171 | 0.7642 |
75
- | 0.5438 | 2.01 | 90 | 0.5212 | 0.7704 |
76
- | 0.4807 | 2.35 | 105 | 0.5181 | 0.7390 |
77
- | 0.6202 | 2.68 | 120 | 0.4972 | 0.7704 |
78
- | 0.5021 | 3.02 | 135 | 0.4566 | 0.7987 |
79
- | 0.4313 | 3.35 | 150 | 0.4852 | 0.7925 |
80
- | 0.3532 | 3.69 | 165 | 0.4378 | 0.8113 |
81
- | 0.3577 | 4.02 | 180 | 0.4515 | 0.8019 |
82
- | 0.4736 | 4.36 | 195 | 0.4498 | 0.7893 |
83
- | 0.3516 | 4.69 | 210 | 0.4408 | 0.8239 |
84
- | 0.4437 | 5.03 | 225 | 0.4611 | 0.7799 |
85
- | 0.3543 | 5.36 | 240 | 0.4294 | 0.8208 |
86
- | 0.4029 | 5.7 | 255 | 0.4155 | 0.8428 |
87
- | 0.3808 | 6.03 | 270 | 0.4116 | 0.8302 |
88
- | 0.3211 | 6.37 | 285 | 0.4009 | 0.8302 |
89
- | 0.2949 | 6.7 | 300 | 0.4321 | 0.8176 |
90
- | 0.2663 | 7.04 | 315 | 0.4229 | 0.8396 |
91
- | 0.3049 | 7.37 | 330 | 0.4110 | 0.8365 |
92
- | 0.1303 | 7.71 | 345 | 0.4288 | 0.8333 |
93
- | 0.2079 | 8.04 | 360 | 0.4218 | 0.8208 |
94
- | 0.208 | 8.38 | 375 | 0.3908 | 0.8365 |
95
- | 0.2067 | 8.72 | 390 | 0.5191 | 0.7862 |
96
- | 0.1635 | 9.05 | 405 | 0.4691 | 0.7956 |
97
-
98
 
99
- ### Framework versions
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
 
101
- - Transformers 4.35.2
102
- - Pytorch 2.0.1+cu117
103
- - Datasets 2.15.0
104
- - Tokenizers 0.15.0
 
1
  ---
2
+ library_name: keras
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
4
 
 
 
 
 
 
 
 
 
 
 
5
  ## Model description
6
 
7
  More information needed
 
19
  ### Training hyperparameters
20
 
21
  The following hyperparameters were used during training:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
+ | Hyperparameters | Value |
24
+ | :-- | :-- |
25
+ | name | Adam |
26
+ | weight_decay | None |
27
+ | clipnorm | None |
28
+ | global_clipnorm | None |
29
+ | clipvalue | None |
30
+ | use_ema | False |
31
+ | ema_momentum | 0.99 |
32
+ | ema_overwrite_frequency | None |
33
+ | jit_compile | True |
34
+ | is_legacy_optimizer | False |
35
+ | learning_rate | 0.0010000000474974513 |
36
+ | beta_1 | 0.9 |
37
+ | beta_2 | 0.999 |
38
+ | epsilon | 1e-07 |
39
+ | amsgrad | False |
40
+ | training_precision | float32 |
41
 
 
 
 
 
fingerprint.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a3a3150a628fa534e70753216a94b95e3ba9fdd9e086b0ab8ad52fdd70a4967
3
+ size 58
history.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accuracy": [
3
+ 0.8278204202651978,
4
+ 0.9158298969268799,
5
+ 0.9214412569999695,
6
+ 0.9205552339553833,
7
+ 0.9220318794250488,
8
+ 0.9223272204399109,
9
+ 0.9220318794250488,
10
+ 0.9232132434844971,
11
+ 0.9211459159851074,
12
+ 0.9235085844993591
13
+ ],
14
+ "loss": [
15
+ 0.4260936975479126,
16
+ 0.29124197363853455,
17
+ 0.27790436148643494,
18
+ 0.26963627338409424,
19
+ 0.26571279764175415,
20
+ 0.2702747583389282,
21
+ 0.2667693495750427,
22
+ 0.2609739303588867,
23
+ 0.271837055683136,
24
+ 0.2600157558917999
25
+ ],
26
+ "val_accuracy": [
27
+ 0.9255319237709045,
28
+ 0.9308510422706604,
29
+ 0.9228723645210266,
30
+ 0.9308510422706604,
31
+ 0.9335106611251831,
32
+ 0.9335106611251831,
33
+ 0.9335106611251831,
34
+ 0.9335106611251831,
35
+ 0.9335106611251831,
36
+ 0.9335106611251831
37
+ ],
38
+ "val_loss": [
39
+ 0.2704508900642395,
40
+ 0.24956175684928894,
41
+ 0.24772974848747253,
42
+ 0.2475406527519226,
43
+ 0.24238541722297668,
44
+ 0.2552700936794281,
45
+ 0.25123029947280884,
46
+ 0.23097586631774902,
47
+ 0.2302578091621399,
48
+ 0.22908902168273926
49
+ ]
50
+ }
keras_metadata.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3027f96d86a34b0165a99326f1c374a82997ca5fa2fcce2535c0ddd32f8f041
3
+ size 46265
logs/events.out.tfevents.1701792988.TheHornyPrincess.307266.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c3cd300b8b9a6e9bf783d6de4595350d50256b9d4532852c09b90c722081f6e
3
+ size 76391
logs/train/events.out.tfevents.1701796075.TheHornyPrincess.372487.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:461a04e9e42d667cf031bc2419e0f02584a8472572d64c0cbb90e29560808fb7
3
+ size 5799
logs/train/events.out.tfevents.1701796635.TheHornyPrincess.383184.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38f14bea172d71ebfadb54006c55eb903ae04642e18e64d203e0f77df48ec7ad
3
+ size 220544
logs/train/events.out.tfevents.1701797356.TheHornyPrincess.408268.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04fee4601ae5072bef6cfd91cd798a04b2b9513e93989d95266cc86225f4986b
3
+ size 306291
logs/train/events.out.tfevents.1701798217.TheHornyPrincess.466354.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d8ffa2ac28b1efeb27dda92b9acc7801ccce1775f409a9fdbe0f1a3df936a79
3
+ size 457400
logs/train/events.out.tfevents.1701798421.TheHornyPrincess.481996.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9ec466f9db3ad7c86619f0208cf5f95f812d4f73c86214ecbe493f2343e73b3
3
+ size 455502
logs/validation/events.out.tfevents.1701796652.TheHornyPrincess.383184.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd1f8cfdd366cab353168a47199bfbee1b4179f001596c55337c0a210d6466b0
3
+ size 4874
logs/validation/events.out.tfevents.1701797371.TheHornyPrincess.408268.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:465476fd202694e076f9781fb7678912960e0aadea1e1aed11d6d973ff95d5b4
3
+ size 3274
logs/validation/events.out.tfevents.1701798239.TheHornyPrincess.466354.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c03db6272bb140ef2807abb06064bbcf917a510e1e46ea4e929a1feaf2cb138
3
+ size 3274
logs/validation/events.out.tfevents.1701798443.TheHornyPrincess.481996.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b71a7e9110d10e70fbf8a5fbbf4d29ed8baf80d76b45a6c44ef5d188ea6e344
3
+ size 3274
saved_model.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c21c1f3e4ef934bb9404417a5d284e5de7dba261fd303bebaf8285a97fb0c2f9
3
+ size 271600
variables/variables.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7efbb958efd6ebb2a60c628cad2934fc2f37aaf412f65b8ca32f20b83a2d8e9c
3
+ size 7792230
variables/variables.index ADDED
Binary file (2.16 kB). View file