ansilmbabl
commited on
Commit
•
712418d
1
Parent(s):
576ab7c
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: vit-base-patch16-224-in21k-cards-base-classifier-defects-finder
|
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-in21k-cards-base-classifier-defects-finder
|
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 the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0683
|
21 |
+
- Accuracy: 0.999
|
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: 5e-05
|
41 |
+
- train_batch_size: 32
|
42 |
+
- eval_batch_size: 32
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 128
|
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 |
+
| 1.4892 | 0.9929 | 70 | 1.3366 | 0.859 |
|
56 |
+
| 0.4362 | 2.0 | 141 | 0.4142 | 0.971 |
|
57 |
+
| 0.231 | 2.9929 | 211 | 0.2250 | 0.988 |
|
58 |
+
| 0.1654 | 4.0 | 282 | 0.1687 | 0.982 |
|
59 |
+
| 0.1289 | 4.9929 | 352 | 0.1322 | 0.991 |
|
60 |
+
| 0.0999 | 6.0 | 423 | 0.1184 | 0.988 |
|
61 |
+
| 0.0824 | 6.9929 | 493 | 0.0852 | 0.996 |
|
62 |
+
| 0.0789 | 8.0 | 564 | 0.0809 | 0.998 |
|
63 |
+
| 0.07 | 8.9929 | 634 | 0.0723 | 0.997 |
|
64 |
+
| 0.067 | 9.9291 | 700 | 0.0683 | 0.999 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.41.2
|
70 |
+
- Pytorch 2.0.1+cu117
|
71 |
+
- Datasets 2.19.2
|
72 |
+
- Tokenizers 0.19.1
|