Hemg commited on
Commit
cd64de7
·
verified ·
1 Parent(s): 9c015a3

Training in progress, epoch 2

Browse files
Files changed (4) hide show
  1. README.md +13 -25
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. training_args.bin +1 -1
README.md CHANGED
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  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.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.7646
21
- - Accuracy: 0.0
22
 
23
  ## Model description
24
 
@@ -37,42 +37,30 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - learning_rate: 1e-05
41
  - train_batch_size: 8
42
- - eval_batch_size: 8
43
  - seed: 42
44
- - gradient_accumulation_steps: 2
45
- - total_train_batch_size: 16
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
  - lr_scheduler_warmup_ratio: 0.1
49
- - num_epochs: 15
50
- - mixed_precision_training: Native AMP
51
 
52
  ### Training results
53
 
54
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
- | 0.3519 | 1.0 | 1 | 0.6382 | 1.0 |
57
- | 0.3553 | 2.0 | 2 | 0.6523 | 1.0 |
58
- | 0.3574 | 3.0 | 3 | 0.6724 | 1.0 |
59
- | 0.352 | 4.0 | 4 | 0.6655 | 1.0 |
60
- | 0.3405 | 5.0 | 5 | 0.6904 | 1.0 |
61
- | 0.3372 | 6.0 | 6 | 0.6934 | 0.0 |
62
- | 0.3352 | 7.0 | 7 | 0.7046 | 0.0 |
63
- | 0.3277 | 8.0 | 8 | 0.7319 | 0.0 |
64
- | 0.3285 | 9.0 | 9 | 0.7397 | 0.0 |
65
- | 0.3337 | 10.0 | 10 | 0.7129 | 0.0 |
66
- | 0.3354 | 11.0 | 11 | 0.7261 | 0.0 |
67
- | 0.3179 | 12.0 | 12 | 0.7651 | 0.0 |
68
- | 0.3199 | 13.0 | 13 | 0.7427 | 0.0 |
69
- | 0.3051 | 14.0 | 14 | 0.7729 | 0.0 |
70
- | 0.3191 | 15.0 | 15 | 0.7646 | 0.0 |
71
 
72
 
73
  ### Framework versions
74
 
75
- - Transformers 4.38.2
76
- - Pytorch 2.1.0+cu121
77
  - Datasets 2.17.1
78
  - Tokenizers 0.15.2
 
17
 
18
  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.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.6915
21
+ - Accuracy: 1.0
22
 
23
  ## Model description
24
 
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - learning_rate: 3e-05
41
  - train_batch_size: 8
42
+ - eval_batch_size: 16
43
  - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 32
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
  - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 16
 
50
 
51
  ### Training results
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.1803 | 1.0 | 1 | 0.6093 | 1.0 |
56
+ | 0.1831 | 2.0 | 2 | 0.6375 | 1.0 |
57
+ | 0.1762 | 3.0 | 3 | 0.6897 | 1.0 |
58
+ | 0.1753 | 4.0 | 4 | 0.6915 | 1.0 |
 
 
 
 
 
 
 
 
 
 
 
59
 
60
 
61
  ### Framework versions
62
 
63
+ - Transformers 4.38.1
64
+ - Pytorch 2.2.1+cpu
65
  - Datasets 2.17.1
66
  - Tokenizers 0.15.2
config.json CHANGED
@@ -28,5 +28,5 @@
28
  "problem_type": "single_label_classification",
29
  "qkv_bias": true,
30
  "torch_dtype": "float32",
31
- "transformers_version": "4.38.2"
32
  }
 
28
  "problem_type": "single_label_classification",
29
  "qkv_bias": true,
30
  "torch_dtype": "float32",
31
+ "transformers_version": "4.38.1"
32
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:245fc7a721894ed0b5b468b75dae2989c0ec817a4e9272aca9b8c253dcdfa68c
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48342570b35fd6c88d9dbc474a25b71beb82f5cbc56201084cb1e41bbd66c7a0
3
  size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d259fc755a8e20cd982caf031788bae046c4e0559ea31f2475c479176f95bf4
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48da36374a1503d4d4aff556724d41b7437cb95b8f59b5a58ae6e8ac53c74dd0
3
  size 4856