itsLeen commited on
Commit
7e26f12
·
verified ·
1 Parent(s): def079a

Model save

Browse files
README.md CHANGED
@@ -3,28 +3,12 @@ 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
- datasets:
9
- - imagefolder
10
  metrics:
11
  - accuracy
12
  model-index:
13
  - name: finetuned-fake-food
14
- results:
15
- - task:
16
- name: Image Classification
17
- type: image-classification
18
- dataset:
19
- name: indian_food_images
20
- type: imagefolder
21
- config: default
22
- split: train
23
- args: default
24
- metrics:
25
- - name: Accuracy
26
- type: accuracy
27
- value: 0.9523809523809523
28
  ---
29
 
30
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -32,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
32
 
33
  # finetuned-fake-food
34
 
35
- 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.
36
  It achieves the following results on the evaluation set:
37
- - Loss: 0.1446
38
- - Accuracy: 0.9524
39
 
40
  ## Model description
41
 
@@ -55,21 +39,59 @@ More information needed
55
 
56
  The following hyperparameters were used during training:
57
  - learning_rate: 0.0002
58
- - train_batch_size: 8
59
  - eval_batch_size: 8
60
  - seed: 42
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
- - num_epochs: 20
64
  - mixed_precision_training: Native AMP
65
 
66
  ### Training results
67
 
68
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
- |:-------------:|:-------:|:----:|:---------------:|:--------:|
70
- | 0.328 | 6.6667 | 100 | 0.3854 | 0.8571 |
71
- | 0.1729 | 13.3333 | 200 | 0.1446 | 0.9524 |
72
- | 0.0508 | 20.0 | 300 | 0.2076 | 0.9524 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
 
75
  ### 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
9
  model-index:
10
  - name: finetuned-fake-food
11
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
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.6577
22
+ - Accuracy: 0.6096
23
 
24
  ## Model description
25
 
 
39
 
40
  The following hyperparameters were used during training:
41
  - learning_rate: 0.0002
42
+ - train_batch_size: 2
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
+ - num_epochs: 10
48
  - mixed_precision_training: Native AMP
49
 
50
  ### Training results
51
 
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
54
+ | 0.6977 | 0.2421 | 100 | 0.6805 | 0.5822 |
55
+ | 0.6956 | 0.4843 | 200 | 0.6936 | 0.4178 |
56
+ | 0.6795 | 0.7264 | 300 | 0.6734 | 0.6507 |
57
+ | 0.7061 | 0.9685 | 400 | 0.6760 | 0.5822 |
58
+ | 0.6941 | 1.2107 | 500 | 0.6746 | 0.5822 |
59
+ | 0.6898 | 1.4528 | 600 | 0.6675 | 0.6027 |
60
+ | 0.6956 | 1.6949 | 700 | 0.6846 | 0.5753 |
61
+ | 0.6847 | 1.9370 | 800 | 0.6746 | 0.5822 |
62
+ | 0.6949 | 2.1792 | 900 | 0.6780 | 0.5890 |
63
+ | 0.703 | 2.4213 | 1000 | 0.6895 | 0.5753 |
64
+ | 0.6851 | 2.6634 | 1100 | 0.6742 | 0.5822 |
65
+ | 0.6878 | 2.9056 | 1200 | 0.6742 | 0.6301 |
66
+ | 0.68 | 3.1477 | 1300 | 0.6713 | 0.5822 |
67
+ | 0.6728 | 3.3898 | 1400 | 0.6838 | 0.5959 |
68
+ | 0.698 | 3.6320 | 1500 | 0.6775 | 0.5822 |
69
+ | 0.7033 | 3.8741 | 1600 | 0.6735 | 0.5822 |
70
+ | 0.6973 | 4.1162 | 1700 | 0.6804 | 0.6233 |
71
+ | 0.6822 | 4.3584 | 1800 | 0.6848 | 0.6027 |
72
+ | 0.6896 | 4.6005 | 1900 | 0.6835 | 0.5411 |
73
+ | 0.6772 | 4.8426 | 2000 | 0.6753 | 0.6096 |
74
+ | 0.6843 | 5.0847 | 2100 | 0.6667 | 0.5890 |
75
+ | 0.6898 | 5.3269 | 2200 | 0.6726 | 0.5822 |
76
+ | 0.6868 | 5.5690 | 2300 | 0.6784 | 0.5616 |
77
+ | 0.6636 | 5.8111 | 2400 | 0.6640 | 0.6301 |
78
+ | 0.6833 | 6.0533 | 2500 | 0.6768 | 0.5137 |
79
+ | 0.678 | 6.2954 | 2600 | 0.6652 | 0.6233 |
80
+ | 0.6672 | 6.5375 | 2700 | 0.6735 | 0.5479 |
81
+ | 0.6975 | 6.7797 | 2800 | 0.6687 | 0.5890 |
82
+ | 0.6858 | 7.0218 | 2900 | 0.6672 | 0.6027 |
83
+ | 0.6687 | 7.2639 | 3000 | 0.6648 | 0.5753 |
84
+ | 0.6636 | 7.5061 | 3100 | 0.6674 | 0.5685 |
85
+ | 0.6904 | 7.7482 | 3200 | 0.6752 | 0.5342 |
86
+ | 0.6585 | 7.9903 | 3300 | 0.7023 | 0.5959 |
87
+ | 0.6874 | 8.2324 | 3400 | 0.6615 | 0.5753 |
88
+ | 0.6444 | 8.4746 | 3500 | 0.7721 | 0.5205 |
89
+ | 0.6803 | 8.7167 | 3600 | 0.6809 | 0.5822 |
90
+ | 0.6782 | 8.9588 | 3700 | 0.6638 | 0.5822 |
91
+ | 0.6536 | 9.2010 | 3800 | 0.6607 | 0.6233 |
92
+ | 0.6188 | 9.4431 | 3900 | 0.7090 | 0.5685 |
93
+ | 0.7026 | 9.6852 | 4000 | 0.6574 | 0.6164 |
94
+ | 0.7008 | 9.9274 | 4100 | 0.6577 | 0.6096 |
95
 
96
 
97
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:57a0f42eb555cf7f84b8068d7a5570c26bb79050ac4b62a86c16f177804068bc
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dde9420eb0997f29012590658a704407737a26d7cc385216ab7147d1efcb21c5
3
  size 343223968
runs/Oct01_10-56-27_a59caee1d103/events.out.tfevents.1727780199.a59caee1d103.4704.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7d023b6d409331a77ae79cc60dd6032ab44826dde5a21c6b12cc48a0b5108d9
3
+ size 5930
runs/Oct01_10-59-17_a59caee1d103/events.out.tfevents.1727780368.a59caee1d103.4704.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b70a61f2cbec5b2d558a8904d94866e4016d1a9b9e0d1d14dfef000b1de5b8d
3
+ size 27205
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:491f5ee4f5d28aebb4c244d7745661d13229ae30aa917a57c1397ff9a0e96751
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d4f20e9bce0cfe4a34b00c194391e7bbf00012ed048cb8adbe8d15059e859d0
3
  size 5176