sajjadi commited on
Commit
94c4db5
1 Parent(s): 570a104

Training in progress, epoch 0

Browse files
README.md CHANGED
@@ -2,6 +2,8 @@
2
  base_model: google/vit-base-patch16-224-in21k
3
  library_name: peft
4
  license: apache-2.0
 
 
5
  tags:
6
  - generated_from_trainer
7
  model-index:
@@ -15,6 +17,9 @@ should probably proofread and complete it, then remove this comment. -->
15
  # vit-base-patch16-224-in21k-finetuned-lora-food101
16
 
17
  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.
 
 
 
18
 
19
  ## Model description
20
 
@@ -34,21 +39,30 @@ More information needed
34
 
35
  The following hyperparameters were used during training:
36
  - learning_rate: 0.005
37
- - train_batch_size: 16
38
- - eval_batch_size: 16
39
  - seed: 42
40
  - gradient_accumulation_steps: 4
41
- - total_train_batch_size: 64
42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
  - lr_scheduler_type: linear
44
- - num_epochs: 1
45
  - mixed_precision_training: Native AMP
46
 
47
  ### Training results
48
 
49
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
50
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
51
- | No log | 1.0 | 1 | 4.6952 | 0.0 |
 
 
 
 
 
 
 
 
 
52
 
53
 
54
  ### Framework versions
 
2
  base_model: google/vit-base-patch16-224-in21k
3
  library_name: peft
4
  license: apache-2.0
5
+ metrics:
6
+ - accuracy
7
  tags:
8
  - generated_from_trainer
9
  model-index:
 
17
  # vit-base-patch16-224-in21k-finetuned-lora-food101
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.2481
22
+ - Accuracy: 0.9279
23
 
24
  ## Model description
25
 
 
39
 
40
  The following hyperparameters were used during training:
41
  - learning_rate: 0.005
42
+ - train_batch_size: 168
43
+ - eval_batch_size: 168
44
  - seed: 42
45
  - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 672
47
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
  - lr_scheduler_type: linear
49
+ - num_epochs: 10
50
  - mixed_precision_training: Native AMP
51
 
52
  ### Training results
53
 
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
56
+ | 0.8568 | 0.9933 | 74 | 0.3500 | 0.8978 |
57
+ | 0.7674 | 2.0 | 149 | 0.3065 | 0.9089 |
58
+ | 0.724 | 2.9933 | 223 | 0.2805 | 0.9164 |
59
+ | 0.6316 | 4.0 | 298 | 0.2725 | 0.9197 |
60
+ | 0.6462 | 4.9933 | 372 | 0.2659 | 0.9195 |
61
+ | 0.5809 | 6.0 | 447 | 0.2623 | 0.9223 |
62
+ | 0.5212 | 6.9933 | 521 | 0.2624 | 0.9217 |
63
+ | 0.5561 | 8.0 | 596 | 0.2523 | 0.9259 |
64
+ | 0.5061 | 8.9933 | 670 | 0.2502 | 0.9268 |
65
+ | 0.4955 | 9.9329 | 740 | 0.2481 | 0.9279 |
66
 
67
 
68
  ### Framework versions
adapter_config.json CHANGED
@@ -21,7 +21,7 @@
21
  "classifier"
22
  ],
23
  "peft_type": "LORA",
24
- "r": 1,
25
  "rank_pattern": {},
26
  "revision": null,
27
  "target_modules": [
 
21
  "classifier"
22
  ],
23
  "peft_type": "LORA",
24
+ "r": 3,
25
  "rank_pattern": {},
26
  "revision": null,
27
  "target_modules": [
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6a8707eb6e59e4e4edfea91dfc2917d7500b6c15db552493239fa5df8cab54f9
3
- size 384968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56789546fdb6023a143c07d38ee5f6d4bcf7ad89ce568f2dbf76d5ffa2344330
3
+ size 532424
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0baf7def2b62c05bab251a353dd34922eb47fa36235bd217fc597dd6930c23a
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfcb1f59566c364a2fdaba80322f1d152b06f46c17c2d2a126256dc5cf4c018d
3
  size 5304