arpanl commited on
Commit
f403b1b
·
verified ·
1 Parent(s): 6bf4654

Model save

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: Fine-Tuned_Model3
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.592
27
+ - name: F1
28
+ type: f1
29
+ value: 0.43854957441913966
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # Fine-Tuned_Model3
36
+
37
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.8979
40
+ - Accuracy: 0.592
41
+ - F1: 0.4385
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 8
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 30
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | No log | 5.0 | 20 | 2.0563 | 0.512 | 0.2812 |
73
+ | No log | 10.0 | 40 | 1.4346 | 0.576 | 0.3752 |
74
+ | 2.1474 | 15.0 | 60 | 1.3222 | 0.576 | 0.3873 |
75
+ | 2.1474 | 20.0 | 80 | 1.2946 | 0.576 | 0.3880 |
76
+ | 1.2873 | 25.0 | 100 | 1.0957 | 0.6 | 0.4013 |
77
+ | 1.2873 | 30.0 | 120 | 0.8979 | 0.592 | 0.4385 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.37.2
83
+ - Pytorch 2.1.0+cu121
84
+ - Datasets 2.16.1
85
+ - Tokenizers 0.15.1