itsLeen commited on
Commit
e6c99c5
1 Parent(s): d56c4dc

Model save

Browse files
README.md CHANGED
@@ -3,7 +3,6 @@ library_name: transformers
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224-in21k
5
  tags:
6
- - image-classification
7
  - generated_from_trainer
8
  metrics:
9
  - accuracy
@@ -17,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  # finetuned-fake-food
19
 
20
- 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 indian_food_images dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.6574
23
- - Accuracy: 0.6164
24
 
25
  ## Model description
26
 
@@ -40,59 +39,38 @@ More information needed
40
 
41
  The following hyperparameters were used during training:
42
  - learning_rate: 0.0002
43
- - train_batch_size: 2
44
  - eval_batch_size: 8
45
  - seed: 42
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
- - num_epochs: 10
49
  - mixed_precision_training: Native AMP
50
 
51
  ### Training results
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
  |:-------------:|:------:|:----:|:---------------:|:--------:|
55
- | 0.6977 | 0.2421 | 100 | 0.6805 | 0.5822 |
56
- | 0.6956 | 0.4843 | 200 | 0.6936 | 0.4178 |
57
- | 0.6795 | 0.7264 | 300 | 0.6734 | 0.6507 |
58
- | 0.7061 | 0.9685 | 400 | 0.6760 | 0.5822 |
59
- | 0.6941 | 1.2107 | 500 | 0.6746 | 0.5822 |
60
- | 0.6898 | 1.4528 | 600 | 0.6675 | 0.6027 |
61
- | 0.6956 | 1.6949 | 700 | 0.6846 | 0.5753 |
62
- | 0.6847 | 1.9370 | 800 | 0.6746 | 0.5822 |
63
- | 0.6949 | 2.1792 | 900 | 0.6780 | 0.5890 |
64
- | 0.703 | 2.4213 | 1000 | 0.6895 | 0.5753 |
65
- | 0.6851 | 2.6634 | 1100 | 0.6742 | 0.5822 |
66
- | 0.6878 | 2.9056 | 1200 | 0.6742 | 0.6301 |
67
- | 0.68 | 3.1477 | 1300 | 0.6713 | 0.5822 |
68
- | 0.6728 | 3.3898 | 1400 | 0.6838 | 0.5959 |
69
- | 0.698 | 3.6320 | 1500 | 0.6775 | 0.5822 |
70
- | 0.7033 | 3.8741 | 1600 | 0.6735 | 0.5822 |
71
- | 0.6973 | 4.1162 | 1700 | 0.6804 | 0.6233 |
72
- | 0.6822 | 4.3584 | 1800 | 0.6848 | 0.6027 |
73
- | 0.6896 | 4.6005 | 1900 | 0.6835 | 0.5411 |
74
- | 0.6772 | 4.8426 | 2000 | 0.6753 | 0.6096 |
75
- | 0.6843 | 5.0847 | 2100 | 0.6667 | 0.5890 |
76
- | 0.6898 | 5.3269 | 2200 | 0.6726 | 0.5822 |
77
- | 0.6868 | 5.5690 | 2300 | 0.6784 | 0.5616 |
78
- | 0.6636 | 5.8111 | 2400 | 0.6640 | 0.6301 |
79
- | 0.6833 | 6.0533 | 2500 | 0.6768 | 0.5137 |
80
- | 0.678 | 6.2954 | 2600 | 0.6652 | 0.6233 |
81
- | 0.6672 | 6.5375 | 2700 | 0.6735 | 0.5479 |
82
- | 0.6975 | 6.7797 | 2800 | 0.6687 | 0.5890 |
83
- | 0.6858 | 7.0218 | 2900 | 0.6672 | 0.6027 |
84
- | 0.6687 | 7.2639 | 3000 | 0.6648 | 0.5753 |
85
- | 0.6636 | 7.5061 | 3100 | 0.6674 | 0.5685 |
86
- | 0.6904 | 7.7482 | 3200 | 0.6752 | 0.5342 |
87
- | 0.6585 | 7.9903 | 3300 | 0.7023 | 0.5959 |
88
- | 0.6874 | 8.2324 | 3400 | 0.6615 | 0.5753 |
89
- | 0.6444 | 8.4746 | 3500 | 0.7721 | 0.5205 |
90
- | 0.6803 | 8.7167 | 3600 | 0.6809 | 0.5822 |
91
- | 0.6782 | 8.9588 | 3700 | 0.6638 | 0.5822 |
92
- | 0.6536 | 9.2010 | 3800 | 0.6607 | 0.6233 |
93
- | 0.6188 | 9.4431 | 3900 | 0.7090 | 0.5685 |
94
- | 0.7026 | 9.6852 | 4000 | 0.6574 | 0.6164 |
95
- | 0.7008 | 9.9274 | 4100 | 0.6577 | 0.6096 |
96
 
97
 
98
  ### Framework versions
 
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224-in21k
5
  tags:
 
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
 
16
 
17
  # finetuned-fake-food
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.3455
22
+ - Accuracy: 0.8541
23
 
24
  ## Model description
25
 
 
39
 
40
  The following hyperparameters were used during training:
41
  - learning_rate: 0.0002
42
+ - train_batch_size: 8
43
  - eval_batch_size: 8
44
  - seed: 42
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
+ - training_steps: 2000
48
  - mixed_precision_training: Native AMP
49
 
50
  ### Training results
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
  |:-------------:|:------:|:----:|:---------------:|:--------:|
54
+ | 0.5416 | 0.1264 | 100 | 0.5593 | 0.7081 |
55
+ | 0.5299 | 0.2528 | 200 | 0.5342 | 0.7422 |
56
+ | 0.5503 | 0.3793 | 300 | 0.4875 | 0.7717 |
57
+ | 0.5561 | 0.5057 | 400 | 0.4622 | 0.7941 |
58
+ | 0.5581 | 0.6321 | 500 | 0.5501 | 0.7457 |
59
+ | 0.5845 | 0.7585 | 600 | 0.5088 | 0.7475 |
60
+ | 0.5695 | 0.8850 | 700 | 0.4740 | 0.7860 |
61
+ | 0.5406 | 1.0114 | 800 | 0.4856 | 0.7816 |
62
+ | 0.5353 | 1.1378 | 900 | 0.4252 | 0.8156 |
63
+ | 0.5345 | 1.2642 | 1000 | 0.5014 | 0.7762 |
64
+ | 0.5105 | 1.3906 | 1100 | 0.4800 | 0.7860 |
65
+ | 0.5266 | 1.5171 | 1200 | 0.4618 | 0.7959 |
66
+ | 0.4709 | 1.6435 | 1300 | 0.3906 | 0.8281 |
67
+ | 0.4624 | 1.7699 | 1400 | 0.4208 | 0.8129 |
68
+ | 0.4677 | 1.8963 | 1500 | 0.4207 | 0.8174 |
69
+ | 0.4478 | 2.0228 | 1600 | 0.3557 | 0.8478 |
70
+ | 0.4451 | 2.1492 | 1700 | 0.3546 | 0.8442 |
71
+ | 0.3796 | 2.2756 | 1800 | 0.3199 | 0.8720 |
72
+ | 0.4358 | 2.4020 | 1900 | 0.3308 | 0.8603 |
73
+ | 0.3373 | 2.5284 | 2000 | 0.3455 | 0.8541 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
 
76
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dde9420eb0997f29012590658a704407737a26d7cc385216ab7147d1efcb21c5
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ea877a6b7f6eda3773b42ff1dd9ba49292e95c4fef1339a50afaee39b996af1
3
  size 343223968
runs/Oct01_11-46-07_a59caee1d103/events.out.tfevents.1727783176.a59caee1d103.4704.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd5a71d3addc17a2bfc637beff12d04fed308b53fa88483782dbb9ca4fe7f9d8
3
+ size 4874
runs/Oct01_11-46-38_a59caee1d103/events.out.tfevents.1727783205.a59caee1d103.4704.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:426788332634314b561e1aed92d8d39501c325e030ebc4b19d178a7024172586
3
+ size 5659
runs/Oct01_11-51-38_a59caee1d103/events.out.tfevents.1727783507.a59caee1d103.4704.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3643ed9e97ceee428e3410c588509b8e362c13095812df793e6b8f820af9ab7
3
+ size 9764
runs/Oct01_12-13-49_a59caee1d103/events.out.tfevents.1727784840.a59caee1d103.4704.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8155b68c6d1242d71e782d69e3385157bf99fed18d4649fe80ca46c7e126c558
3
+ size 15992
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3d4f20e9bce0cfe4a34b00c194391e7bbf00012ed048cb8adbe8d15059e859d0
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dff082020ef725b95702987c72700717daa69dc65c543eca57e94965c646aa58
3
  size 5176