sksatyam commited on
Commit
bd7d6a4
·
verified ·
1 Parent(s): 548b6a6

Model save

Browse files
README.md CHANGED
@@ -6,9 +6,24 @@ tags:
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
 
 
9
  model-index:
10
  - name: finetuned-websites
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -17,6 +32,9 @@ should probably proofread and complete it, then remove this comment. -->
17
  # finetuned-websites
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 the imagefolder dataset.
 
 
 
20
 
21
  ## Model description
22
 
@@ -35,17 +53,26 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - learning_rate: 0.0002
39
- - train_batch_size: 16
40
  - eval_batch_size: 8
41
  - seed: 42
 
 
42
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
  - lr_scheduler_type: linear
44
- - num_epochs: 4
 
45
  - mixed_precision_training: Native AMP
46
 
47
  ### Training results
48
 
 
 
 
 
 
 
49
 
50
 
51
  ### Framework versions
 
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
9
+ metrics:
10
+ - accuracy
11
  model-index:
12
  - name: finetuned-websites
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.39705882352941174
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
32
  # finetuned-websites
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: 1.5660
37
+ - Accuracy: 0.3971
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: 8
58
  - eval_batch_size: 8
59
  - seed: 42
60
+ - gradient_accumulation_steps: 2
61
+ - total_train_batch_size: 16
62
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
63
  - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_steps: 500
65
+ - num_epochs: 10
66
  - mixed_precision_training: Native AMP
67
 
68
  ### Training results
69
 
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
72
+ | 1.8678 | 2.0833 | 50 | 1.8966 | 0.3088 |
73
+ | 1.6483 | 4.1667 | 100 | 1.7938 | 0.3382 |
74
+ | 1.3419 | 6.25 | 150 | 1.6614 | 0.3824 |
75
+ | 1.1189 | 8.3333 | 200 | 1.5660 | 0.3971 |
76
 
77
 
78
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d9933abc9e69a9af1be5a27d975f4f17af110876b08c1e56b66638ea4b8a8d8c
3
  size 343239356
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:086b8fe62b0d5fed3e346f2a9d99dc00d9f5731dde320e3d0146aecb147105ea
3
  size 343239356
preprocessor_config.json CHANGED
@@ -7,7 +7,7 @@
7
  0.5,
8
  0.5
9
  ],
10
- "image_processor_type": "ViTFeatureExtractor",
11
  "image_std": [
12
  0.5,
13
  0.5,
 
7
  0.5,
8
  0.5
9
  ],
10
+ "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
  0.5,
13
  0.5,
runs/Dec05_11-51-50_edab03f22c59/events.out.tfevents.1733399523.edab03f22c59.4058.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b667a81a89bd23391a7d6289a5e1ec13ab1ea430d1dcf10363ccdc54f625bd3e
3
+ size 11892
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:506da4b0a84eacfb75e0f69de927254c79eee1db1f8a3fb0649150c5c0f94687
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10a6bd5335dcbeb330a5b30b2ffd7d502c27ce6f6343e794c3eb34529d57ad1d
3
  size 5240