th041 commited on
Commit
78d5e3a
·
verified ·
1 Parent(s): f9732d4

Model save

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: vit-weldclassifyv2
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.8561151079136691
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # vit-weldclassifyv2
32
+
33
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.6228
36
+ - Accuracy: 0.8561
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 0.0002
56
+ - train_batch_size: 16
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - num_epochs: 13
62
+ - mixed_precision_training: Native AMP
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
68
+ | 1.035 | 0.6410 | 100 | 1.1332 | 0.4029 |
69
+ | 0.6893 | 1.2821 | 200 | 0.7341 | 0.6655 |
70
+ | 0.5618 | 1.9231 | 300 | 0.5596 | 0.7554 |
71
+ | 0.4344 | 2.5641 | 400 | 0.5951 | 0.7770 |
72
+ | 0.1591 | 3.2051 | 500 | 0.4667 | 0.8453 |
73
+ | 0.1821 | 3.8462 | 600 | 0.5082 | 0.8345 |
74
+ | 0.0811 | 4.4872 | 700 | 0.4613 | 0.8633 |
75
+ | 0.1729 | 5.1282 | 800 | 0.6382 | 0.7986 |
76
+ | 0.1174 | 5.7692 | 900 | 0.4974 | 0.8669 |
77
+ | 0.0389 | 6.4103 | 1000 | 0.6049 | 0.8453 |
78
+ | 0.0099 | 7.0513 | 1100 | 0.6147 | 0.8561 |
79
+ | 0.0342 | 7.6923 | 1200 | 0.5603 | 0.8741 |
80
+ | 0.0175 | 8.3333 | 1300 | 0.5679 | 0.8849 |
81
+ | 0.0177 | 8.9744 | 1400 | 0.6592 | 0.8669 |
82
+ | 0.0025 | 9.6154 | 1500 | 0.6000 | 0.8669 |
83
+ | 0.0021 | 10.2564 | 1600 | 0.6060 | 0.8597 |
84
+ | 0.002 | 10.8974 | 1700 | 0.6113 | 0.8597 |
85
+ | 0.0019 | 11.5385 | 1800 | 0.6178 | 0.8561 |
86
+ | 0.0019 | 12.1795 | 1900 | 0.6214 | 0.8561 |
87
+ | 0.002 | 12.8205 | 2000 | 0.6228 | 0.8561 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.41.2
93
+ - Pytorch 2.3.0+cu121
94
+ - Datasets 2.20.0
95
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0e3cfb7b51b8675632d0d81aa8f3a189c112dd054c0260d0f790cfeadb55e8e3
3
  size 343230128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42ac608101ac6878963568ed604c414fcb89ad7bc6071a28682d60dbc69932d4
3
  size 343230128
runs/Jun18_09-18-24_0d141cb2c9f1/events.out.tfevents.1718702311.0d141cb2c9f1.868.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc8a5af5d03f9544720b6ee4ff6f135e5a73f716505ff478c30f5364cea48493
3
- size 53444
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82e4d5a7a5987c3a1fad2528aa784ea29fe9ebd6fa7a02046a518f6afcb123ec
3
+ size 54220