🍻 cheers
Browse files
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- image-classification
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
base_model: google/vit-base-patch16-224-in21k
|
10 |
+
model-index:
|
11 |
+
- name: ViTLoRA-beans
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# ViTLoRA-beans
|
19 |
+
|
20 |
+
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 beans dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.2620
|
23 |
+
- Accuracy: 0.9549
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 16
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 4
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
55 |
+
| 0.566 | 1.54 | 100 | 0.5027 | 0.9098 |
|
56 |
+
| 0.2574 | 3.08 | 200 | 0.2620 | 0.9549 |
|
57 |
+
|
58 |
+
|
59 |
+
### Framework versions
|
60 |
+
|
61 |
+
- PEFT 0.8.2
|
62 |
+
- Transformers 4.37.2
|
63 |
+
- Pytorch 2.1.0+cu121
|
64 |
+
- Datasets 2.17.1
|
65 |
+
- Tokenizers 0.15.2
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.9548872180451128,
|
4 |
+
"eval_loss": 0.2619759738445282,
|
5 |
+
"eval_runtime": 3.1766,
|
6 |
+
"eval_samples_per_second": 41.869,
|
7 |
+
"eval_steps_per_second": 5.352,
|
8 |
+
"total_flos": 3.227216486845317e+17,
|
9 |
+
"train_loss": 0.5290748504491952,
|
10 |
+
"train_runtime": 97.5818,
|
11 |
+
"train_samples_per_second": 42.385,
|
12 |
+
"train_steps_per_second": 2.664
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.9548872180451128,
|
4 |
+
"eval_loss": 0.2619759738445282,
|
5 |
+
"eval_runtime": 3.1766,
|
6 |
+
"eval_samples_per_second": 41.869,
|
7 |
+
"eval_steps_per_second": 5.352
|
8 |
+
}
|
runs/Feb28_07-13-58_f11bcd49362a/events.out.tfevents.1709104532.f11bcd49362a.704.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:032395802263b7b32026aef016266a34e8432c6d92087b10169c8bade5d3ca53
|
3 |
+
size 9463
|
runs/Feb28_07-13-58_f11bcd49362a/events.out.tfevents.1709104696.f11bcd49362a.704.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6a2e42182b8272f5673383aafadca24513bf61182efb0329ecc67a7db0ba6cd
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"total_flos": 3.227216486845317e+17,
|
4 |
+
"train_loss": 0.5290748504491952,
|
5 |
+
"train_runtime": 97.5818,
|
6 |
+
"train_samples_per_second": 42.385,
|
7 |
+
"train_steps_per_second": 2.664
|
8 |
+
}
|