hemakumari commited on
Commit
f43d39b
1 Parent(s): 6bc6f73

Model save

Browse files
README.md CHANGED
@@ -4,7 +4,7 @@ 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:
@@ -14,15 +14,15 @@ model-index:
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.3103448275862069
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -30,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
30
 
31
  # vit-base-patch16-224-in21k-finetune
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: 1.5597
36
- - Accuracy: 0.3103
37
 
38
  ## Model description
39
 
@@ -52,7 +52,7 @@ More information needed
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
- - learning_rate: 2e-05
56
  - train_batch_size: 64
57
  - eval_batch_size: 64
58
  - seed: 42
@@ -61,22 +61,20 @@ The following hyperparameters were used during training:
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
  - lr_scheduler_warmup_ratio: 0.1
64
- - num_epochs: 5
65
 
66
  ### Training results
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
- | No log | 0.92 | 3 | 1.5697 | 0.2874 |
71
- | No log | 1.85 | 6 | 1.5657 | 0.2759 |
72
- | No log | 2.77 | 9 | 1.5628 | 0.2759 |
73
- | 1.5842 | 4.0 | 13 | 1.5602 | 0.3103 |
74
- | 1.5842 | 4.62 | 15 | 1.5597 | 0.3103 |
75
 
76
 
77
  ### Framework versions
78
 
79
- - Transformers 4.39.3
80
  - Pytorch 2.1.2
81
- - Datasets 2.18.0
82
  - Tokenizers 0.15.2
 
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
+ - image_folder
8
  metrics:
9
  - accuracy
10
  model-index:
 
14
  name: Image Classification
15
  type: image-classification
16
  dataset:
17
+ name: image_folder
18
+ type: image_folder
19
  config: default
20
  split: train
21
  args: default
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.9925
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # vit-base-patch16-224-in21k-finetune
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 image_folder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.8622
36
+ - Accuracy: 0.9925
37
 
38
  ## Model description
39
 
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
  - train_batch_size: 64
57
  - eval_batch_size: 64
58
  - seed: 42
 
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
  - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 3
65
 
66
  ### Training results
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.928 | 0.98 | 14 | 1.4445 | 0.9625 |
71
+ | 1.473 | 1.96 | 28 | 0.9995 | 0.985 |
72
+ | 0.957 | 2.95 | 42 | 0.8622 | 0.9925 |
 
 
73
 
74
 
75
  ### Framework versions
76
 
77
+ - Transformers 4.38.1
78
  - Pytorch 2.1.2
79
+ - Datasets 2.1.0
80
  - Tokenizers 0.15.2
runs/May07_05-38-56_7ee871a99c58/events.out.tfevents.1715060354.7ee871a99c58.34.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c246a3164f9a8850ec84ccdb6eb3ee21aec9e288a665b23d26746179043d525
3
- size 6707
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4826252f949056ebbabd88e5097bd49f580f199a6a0d6cdec5981394c91debd
3
+ size 7055