Model save
Browse files- README.md +79 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-384
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: 10-vit-base-patch16-384-finetuned-spiderTraining20-500
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# 10-vit-base-patch16-384-finetuned-spiderTraining20-500
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google/vit-base-patch16-384](https://huggingface.co/google/vit-base-patch16-384) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.3427
|
24 |
+
- Accuracy: 0.9029
|
25 |
+
- Precision: 0.9012
|
26 |
+
- Recall: 0.9032
|
27 |
+
- F1: 0.9009
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 0.0005
|
47 |
+
- train_batch_size: 25
|
48 |
+
- eval_batch_size: 25
|
49 |
+
- seed: 42
|
50 |
+
- distributed_type: multi-GPU
|
51 |
+
- gradient_accumulation_steps: 4
|
52 |
+
- total_train_batch_size: 100
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- lr_scheduler_warmup_ratio: 0.1
|
56 |
+
- num_epochs: 10
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
61 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
62 |
+
| 0.6925 | 1.0 | 80 | 0.6605 | 0.7938 | 0.8012 | 0.7887 | 0.7869 |
|
63 |
+
| 0.5869 | 2.0 | 160 | 0.5574 | 0.8298 | 0.8350 | 0.8254 | 0.8214 |
|
64 |
+
| 0.4858 | 3.0 | 240 | 0.4335 | 0.8689 | 0.8692 | 0.8644 | 0.8644 |
|
65 |
+
| 0.3921 | 4.0 | 320 | 0.4455 | 0.8739 | 0.8737 | 0.8722 | 0.8699 |
|
66 |
+
| 0.2915 | 5.0 | 400 | 0.4707 | 0.8629 | 0.8708 | 0.8612 | 0.8571 |
|
67 |
+
| 0.2727 | 6.0 | 480 | 0.4471 | 0.8819 | 0.8795 | 0.8808 | 0.8777 |
|
68 |
+
| 0.216 | 7.0 | 560 | 0.3809 | 0.8899 | 0.8879 | 0.8874 | 0.8862 |
|
69 |
+
| 0.1685 | 8.0 | 640 | 0.3760 | 0.8949 | 0.8938 | 0.8934 | 0.8915 |
|
70 |
+
| 0.1292 | 9.0 | 720 | 0.3427 | 0.9049 | 0.9034 | 0.9032 | 0.9021 |
|
71 |
+
| 0.1321 | 10.0 | 800 | 0.3427 | 0.9029 | 0.9012 | 0.9032 | 0.9009 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.33.3
|
77 |
+
- Pytorch 2.0.1+cu117
|
78 |
+
- Datasets 2.14.5
|
79 |
+
- Tokenizers 0.13.3
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 344491437
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f699ec7f6c060a596714e224053cc833960e9f35a3cf38c9b46487d1e17fe40
|
3 |
size 344491437
|