jayanthspratap commited on
Commit
82143c6
1 Parent(s): 005ff98

Model save

Browse files
Files changed (2) hide show
  1. README.md +85 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - imagefolder
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: vit-base-patch16-224
10
+ results:
11
+ - task:
12
+ name: Image Classification
13
+ type: image-classification
14
+ dataset:
15
+ name: imagefolder
16
+ type: imagefolder
17
+ config: default
18
+ split: train
19
+ args: default
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.6984126984126984
24
+ ---
25
+
26
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
27
+ should probably proofread and complete it, then remove this comment. -->
28
+
29
+ # vit-base-patch16-224
30
+
31
+ This model was trained from scratch on the imagefolder dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.6466
34
+ - Accuracy: 0.6984
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 5e-06
54
+ - train_batch_size: 4
55
+ - eval_batch_size: 4
56
+ - seed: 42
57
+ - gradient_accumulation_steps: 4
58
+ - total_train_batch_size: 16
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.1
62
+ - num_epochs: 10
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | 0.6893 | 1.0 | 35 | 0.7319 | 0.4127 |
69
+ | 0.702 | 2.0 | 70 | 0.6863 | 0.5238 |
70
+ | 0.6644 | 3.0 | 105 | 0.6796 | 0.5873 |
71
+ | 0.645 | 4.0 | 140 | 0.6722 | 0.5714 |
72
+ | 0.6455 | 5.0 | 175 | 0.6545 | 0.6508 |
73
+ | 0.6456 | 6.0 | 210 | 0.6536 | 0.6508 |
74
+ | 0.6745 | 7.0 | 245 | 0.6463 | 0.6984 |
75
+ | 0.6369 | 8.0 | 280 | 0.6525 | 0.6667 |
76
+ | 0.6012 | 9.0 | 315 | 0.6486 | 0.6984 |
77
+ | 0.6219 | 10.0 | 350 | 0.6466 | 0.6984 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.43.3
83
+ - Pytorch 2.4.0+cu118
84
+ - Datasets 2.20.0
85
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c98fb0296596943595e01a68b00fbe677f41f292863c56fa03d2f75800f09d90
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9df31b2b9ce4e4a4cc1ea9e772130e5916ad55afe65085d6aa81ba9dd92bc0e
3
  size 343223968