pk3388 commited on
Commit
2cfd6ab
1 Parent(s): 0bce5f2

Model save

Browse files
Files changed (2) hide show
  1. README.md +72 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: vit-base-patch16-224-masaratti
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # vit-base-patch16-224-masaratti
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2993
21
+ - Accuracy: 0.8806
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0002
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 64
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: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.6663 | 1.0 | 10 | 0.8463 | 0.6269 |
56
+ | 0.4895 | 2.0 | 20 | 0.6918 | 0.6940 |
57
+ | 0.3694 | 3.0 | 30 | 0.5267 | 0.7612 |
58
+ | 0.2751 | 4.0 | 40 | 0.3793 | 0.8433 |
59
+ | 0.2724 | 5.0 | 50 | 0.4968 | 0.7836 |
60
+ | 0.1872 | 6.0 | 60 | 0.2743 | 0.9030 |
61
+ | 0.1388 | 7.0 | 70 | 0.3087 | 0.8657 |
62
+ | 0.1249 | 8.0 | 80 | 0.2829 | 0.8731 |
63
+ | 0.1006 | 9.0 | 90 | 0.3123 | 0.8881 |
64
+ | 0.0973 | 10.0 | 100 | 0.2993 | 0.8806 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.41.1
70
+ - Pytorch 2.3.0+cu121
71
+ - Datasets 2.19.1
72
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f78059a579c608448579ed95b4f73a69c9eacf2941f11dfc0844004ed7ef1928
3
  size 343227052
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff7bf463cd41454b96b3159c7749db445d293ba06fb70d67537802b135351a65
3
  size 343227052