zazazaChiang
commited on
Commit
•
3e44ef2
1
Parent(s):
de147e8
Model save
Browse files- README.md +10 -12
- config.json +0 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -3,8 +3,6 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
6 |
-
- image-classification
|
7 |
-
- vision
|
8 |
- generated_from_trainer
|
9 |
metrics:
|
10 |
- accuracy
|
@@ -18,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# vit-base-beans
|
20 |
|
21 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
-
|
24 |
-
-
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -50,13 +48,13 @@ The following hyperparameters were used during training:
|
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
54 |
-
|
55 |
-
| 0.2797 | 1.0 | 130 | 0.
|
56 |
-
| 0.1283 | 2.0 | 260 | 0.
|
57 |
-
| 0.1325 | 3.0 | 390 | 0.
|
58 |
-
| 0.0809 | 4.0 | 520 | 0.
|
59 |
-
| 0.1164 | 5.0 | 650 | 0.
|
60 |
|
61 |
|
62 |
### Framework versions
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
|
|
|
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
8 |
- accuracy
|
|
|
16 |
|
17 |
# vit-base-beans
|
18 |
|
19 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Accuracy: 0.9774
|
22 |
+
- Loss: 0.0842
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:--------:|:---------------:|
|
53 |
+
| 0.2797 | 1.0 | 130 | 0.9624 | 0.2229 |
|
54 |
+
| 0.1283 | 2.0 | 260 | 0.9774 | 0.1240 |
|
55 |
+
| 0.1325 | 3.0 | 390 | 0.9774 | 0.0953 |
|
56 |
+
| 0.0809 | 4.0 | 520 | 0.9925 | 0.0667 |
|
57 |
+
| 0.1164 | 5.0 | 650 | 0.9774 | 0.0842 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
config.json
CHANGED
@@ -28,7 +28,6 @@
|
|
28 |
"num_channels": 3,
|
29 |
"num_hidden_layers": 12,
|
30 |
"patch_size": 16,
|
31 |
-
"problem_type": "single_label_classification",
|
32 |
"qkv_bias": true,
|
33 |
"torch_dtype": "float32",
|
34 |
"transformers_version": "4.44.2"
|
|
|
28 |
"num_channels": 3,
|
29 |
"num_hidden_layers": 12,
|
30 |
"patch_size": 16,
|
|
|
31 |
"qkv_bias": true,
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.44.2"
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39159d134a11c28456f4ed35a0f1064e1a1db001cf87a346f815524caefad234
|
3 |
size 5240
|