Uploaded Model
Browse files- README.md +2 -1
- all_results.json +16 -0
- eval_results.json +11 -0
- runs/Dec05_17-52-28_890f1dc26cee/events.out.tfevents.1701798829.890f1dc26cee.296.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +88 -0
README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
7 |
- accuracy
|
@@ -18,7 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# vit-base-16-thesis-demo-PH2
|
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 |
- Loss: 0.0761
|
24 |
- Accuracy: 0.9844
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
+
- image-classification
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
8 |
- accuracy
|
|
|
19 |
|
20 |
# vit-base-16-thesis-demo-PH2
|
21 |
|
22 |
+
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 ahishamm/PH2_db_enhanced_balanced dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
- Loss: 0.0761
|
25 |
- Accuracy: 0.9844
|
all_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.984375,
|
4 |
+
"eval_f1": 0.984375,
|
5 |
+
"eval_loss": 0.07614374160766602,
|
6 |
+
"eval_precision": 0.984375,
|
7 |
+
"eval_recall": 0.984375,
|
8 |
+
"eval_runtime": 1.8482,
|
9 |
+
"eval_samples_per_second": 34.628,
|
10 |
+
"eval_steps_per_second": 4.329,
|
11 |
+
"total_flos": 9.918974670667776e+16,
|
12 |
+
"train_loss": 0.09609116911888123,
|
13 |
+
"train_runtime": 67.2316,
|
14 |
+
"train_samples_per_second": 19.039,
|
15 |
+
"train_steps_per_second": 1.19
|
16 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.984375,
|
4 |
+
"eval_f1": 0.984375,
|
5 |
+
"eval_loss": 0.07614374160766602,
|
6 |
+
"eval_precision": 0.984375,
|
7 |
+
"eval_recall": 0.984375,
|
8 |
+
"eval_runtime": 1.8482,
|
9 |
+
"eval_samples_per_second": 34.628,
|
10 |
+
"eval_steps_per_second": 4.329
|
11 |
+
}
|
runs/Dec05_17-52-28_890f1dc26cee/events.out.tfevents.1701798829.890f1dc26cee.296.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8e52cd37f2b5fe8fbef1bc1a2e69bc0d9fc18165e620a0ef67ef6bb375918e7
|
3 |
+
size 551
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"total_flos": 9.918974670667776e+16,
|
4 |
+
"train_loss": 0.09609116911888123,
|
5 |
+
"train_runtime": 67.2316,
|
6 |
+
"train_samples_per_second": 19.039,
|
7 |
+
"train_steps_per_second": 1.19
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.07614374160766602,
|
3 |
+
"best_model_checkpoint": "./vit-base-16-thesis-demo-PH2/checkpoint-50",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"eval_steps": 50,
|
6 |
+
"global_step": 80,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.5,
|
13 |
+
"learning_rate": 0.000175,
|
14 |
+
"loss": 0.3313,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"learning_rate": 0.00015000000000000001,
|
20 |
+
"loss": 0.2035,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.5,
|
25 |
+
"learning_rate": 0.000125,
|
26 |
+
"loss": 0.1033,
|
27 |
+
"step": 30
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"learning_rate": 0.0001,
|
32 |
+
"loss": 0.0258,
|
33 |
+
"step": 40
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 2.5,
|
37 |
+
"learning_rate": 7.500000000000001e-05,
|
38 |
+
"loss": 0.044,
|
39 |
+
"step": 50
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 2.5,
|
43 |
+
"eval_accuracy": 0.984375,
|
44 |
+
"eval_f1": 0.984375,
|
45 |
+
"eval_loss": 0.07614374160766602,
|
46 |
+
"eval_precision": 0.984375,
|
47 |
+
"eval_recall": 0.984375,
|
48 |
+
"eval_runtime": 1.566,
|
49 |
+
"eval_samples_per_second": 40.868,
|
50 |
+
"eval_steps_per_second": 5.109,
|
51 |
+
"step": 50
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 3.0,
|
55 |
+
"learning_rate": 5e-05,
|
56 |
+
"loss": 0.0182,
|
57 |
+
"step": 60
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 3.5,
|
61 |
+
"learning_rate": 2.5e-05,
|
62 |
+
"loss": 0.0309,
|
63 |
+
"step": 70
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 4.0,
|
67 |
+
"learning_rate": 0.0,
|
68 |
+
"loss": 0.0116,
|
69 |
+
"step": 80
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 4.0,
|
73 |
+
"step": 80,
|
74 |
+
"total_flos": 9.918974670667776e+16,
|
75 |
+
"train_loss": 0.09609116911888123,
|
76 |
+
"train_runtime": 67.2316,
|
77 |
+
"train_samples_per_second": 19.039,
|
78 |
+
"train_steps_per_second": 1.19
|
79 |
+
}
|
80 |
+
],
|
81 |
+
"logging_steps": 10,
|
82 |
+
"max_steps": 80,
|
83 |
+
"num_train_epochs": 4,
|
84 |
+
"save_steps": 50,
|
85 |
+
"total_flos": 9.918974670667776e+16,
|
86 |
+
"trial_name": null,
|
87 |
+
"trial_params": null
|
88 |
+
}
|