Model save
Browse files- README.md +77 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/vit-base-patch16-224
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
model-index:
|
13 |
+
- name: vit-sports-cls
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# vit-sports-cls
|
21 |
+
|
22 |
+
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.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.0838
|
25 |
+
- Accuracy: 0.9742
|
26 |
+
- Precision: 0.9743
|
27 |
+
- Recall: 0.9742
|
28 |
+
- F1: 0.9741
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 5e-05
|
48 |
+
- train_batch_size: 64
|
49 |
+
- eval_batch_size: 64
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 10
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
60 |
+
| 0.171 | 1.0 | 104 | 0.1729 | 0.9489 | 0.9493 | 0.9489 | 0.9489 |
|
61 |
+
| 0.0979 | 2.0 | 208 | 0.1356 | 0.9585 | 0.9597 | 0.9585 | 0.9583 |
|
62 |
+
| 0.0408 | 3.0 | 312 | 0.1184 | 0.9561 | 0.9571 | 0.9561 | 0.9561 |
|
63 |
+
| 0.0703 | 4.0 | 416 | 0.0892 | 0.9700 | 0.9701 | 0.9700 | 0.9699 |
|
64 |
+
| 0.1375 | 5.0 | 520 | 0.1029 | 0.9681 | 0.9683 | 0.9681 | 0.9682 |
|
65 |
+
| 0.0061 | 6.0 | 624 | 0.1073 | 0.9681 | 0.9688 | 0.9681 | 0.9682 |
|
66 |
+
| 0.0083 | 7.0 | 728 | 0.0795 | 0.9700 | 0.9701 | 0.9700 | 0.9700 |
|
67 |
+
| 0.0079 | 8.0 | 832 | 0.0754 | 0.9814 | 0.9816 | 0.9814 | 0.9814 |
|
68 |
+
| 0.0594 | 9.0 | 936 | 0.0714 | 0.9754 | 0.9756 | 0.9754 | 0.9754 |
|
69 |
+
| 0.0391 | 10.0 | 1040 | 0.0838 | 0.9742 | 0.9743 | 0.9742 | 0.9741 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.47.1
|
75 |
+
- Pytorch 2.5.1+cu121
|
76 |
+
- Datasets 3.2.0
|
77 |
+
- Tokenizers 0.21.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343239356
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91beacf18593b4b8802cf3d2c3d68f10376c7f4924e0ef390300962e27df8e4f
|
3 |
size 343239356
|