yaniseuranova
commited on
Commit
•
9a012c2
1
Parent(s):
b63eb3a
🍻 cheers
Browse files- README.md +8 -1
- all_results.json +9 -9
- eval_results.json +4 -4
- runs/Aug30_08-59-56_7e2de4304170/events.out.tfevents.1725008448.7e2de4304170 +3 -0
- train_results.json +5 -5
- trainer_state.json +41 -41
README.md
CHANGED
@@ -2,7 +2,11 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
|
|
|
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: vit-base-beans
|
8 |
results: []
|
@@ -13,7 +17,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# vit-base-beans
|
15 |
|
16 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
|
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
+
- image-classification
|
6 |
+
- vision
|
7 |
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
model-index:
|
11 |
- name: vit-base-beans
|
12 |
results: []
|
|
|
17 |
|
18 |
# vit-base-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.0158
|
23 |
+
- Accuracy: 1.0
|
24 |
|
25 |
## Model description
|
26 |
|
all_results.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
"epoch": 4.0,
|
3 |
"eval_accuracy": 1.0,
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime": 2.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
-
"total_flos": 2.
|
9 |
-
"train_loss": 0.
|
10 |
-
"train_runtime":
|
11 |
-
"train_samples_per_second": 11.
|
12 |
-
"train_steps_per_second": 2.
|
13 |
}
|
|
|
1 |
{
|
2 |
"epoch": 4.0,
|
3 |
"eval_accuracy": 1.0,
|
4 |
+
"eval_loss": 0.015804477035999298,
|
5 |
+
"eval_runtime": 2.4811,
|
6 |
+
"eval_samples_per_second": 33.05,
|
7 |
+
"eval_steps_per_second": 4.433,
|
8 |
+
"total_flos": 2.5417372593586176e+16,
|
9 |
+
"train_loss": 0.22665784472510928,
|
10 |
+
"train_runtime": 28.7006,
|
11 |
+
"train_samples_per_second": 11.428,
|
12 |
+
"train_steps_per_second": 2.927
|
13 |
}
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"epoch": 4.0,
|
3 |
"eval_accuracy": 1.0,
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime": 2.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
"epoch": 4.0,
|
3 |
"eval_accuracy": 1.0,
|
4 |
+
"eval_loss": 0.015804477035999298,
|
5 |
+
"eval_runtime": 2.4811,
|
6 |
+
"eval_samples_per_second": 33.05,
|
7 |
+
"eval_steps_per_second": 4.433
|
8 |
}
|
runs/Aug30_08-59-56_7e2de4304170/events.out.tfevents.1725008448.7e2de4304170
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee6cd84f5103fa598b7e1860dc7f5cbc6187a4a5ba54ec4de32f3ea68fc1810f
|
3 |
+
size 40
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"epoch": 4.0,
|
3 |
-
"total_flos": 2.
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second": 11.
|
7 |
-
"train_steps_per_second": 2.
|
8 |
}
|
|
|
1 |
{
|
2 |
"epoch": 4.0,
|
3 |
+
"total_flos": 2.5417372593586176e+16,
|
4 |
+
"train_loss": 0.22665784472510928,
|
5 |
+
"train_runtime": 28.7006,
|
6 |
+
"train_samples_per_second": 11.428,
|
7 |
+
"train_steps_per_second": 2.927
|
8 |
}
|
trainer_state.json
CHANGED
@@ -3,79 +3,79 @@
|
|
3 |
"best_model_checkpoint": null,
|
4 |
"epoch": 4.0,
|
5 |
"eval_steps": 100,
|
6 |
-
"global_step":
|
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.
|
13 |
-
"grad_norm":
|
14 |
-
"learning_rate": 0.
|
15 |
-
"loss": 0.
|
16 |
"step": 10
|
17 |
},
|
18 |
{
|
19 |
-
"epoch": 0.
|
20 |
-
"grad_norm":
|
21 |
-
"learning_rate": 0.
|
22 |
-
"loss": 0.
|
23 |
"step": 20
|
24 |
},
|
25 |
{
|
26 |
-
"epoch": 1.
|
27 |
-
"grad_norm":
|
28 |
-
"learning_rate": 0.
|
29 |
-
"loss": 0.
|
30 |
"step": 30
|
31 |
},
|
32 |
{
|
33 |
-
"epoch": 1.
|
34 |
-
"grad_norm": 0.
|
35 |
-
"learning_rate": 0.
|
36 |
-
"loss": 0.
|
37 |
"step": 40
|
38 |
},
|
39 |
{
|
40 |
-
"epoch": 2.
|
41 |
-
"grad_norm":
|
42 |
-
"learning_rate": 8.
|
43 |
-
"loss": 0.
|
44 |
"step": 50
|
45 |
},
|
46 |
{
|
47 |
-
"epoch": 2.
|
48 |
-
"grad_norm": 0.
|
49 |
-
"learning_rate":
|
50 |
-
"loss": 0.
|
51 |
"step": 60
|
52 |
},
|
53 |
{
|
54 |
-
"epoch": 3.
|
55 |
-
"grad_norm": 0.
|
56 |
-
"learning_rate":
|
57 |
-
"loss": 0.
|
58 |
"step": 70
|
59 |
},
|
60 |
{
|
61 |
-
"epoch": 3.
|
62 |
-
"grad_norm": 0.
|
63 |
-
"learning_rate":
|
64 |
-
"loss": 0.
|
65 |
"step": 80
|
66 |
},
|
67 |
{
|
68 |
"epoch": 4.0,
|
69 |
-
"step":
|
70 |
-
"total_flos": 2.
|
71 |
-
"train_loss": 0.
|
72 |
-
"train_runtime":
|
73 |
-
"train_samples_per_second": 11.
|
74 |
-
"train_steps_per_second": 2.
|
75 |
}
|
76 |
],
|
77 |
"logging_steps": 10,
|
78 |
-
"max_steps":
|
79 |
"num_input_tokens_seen": 0,
|
80 |
"num_train_epochs": 4,
|
81 |
"save_steps": 100,
|
@@ -91,7 +91,7 @@
|
|
91 |
"attributes": {}
|
92 |
}
|
93 |
},
|
94 |
-
"total_flos": 2.
|
95 |
"train_batch_size": 4,
|
96 |
"trial_name": null,
|
97 |
"trial_params": null
|
|
|
3 |
"best_model_checkpoint": null,
|
4 |
"epoch": 4.0,
|
5 |
"eval_steps": 100,
|
6 |
+
"global_step": 84,
|
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.47619047619047616,
|
13 |
+
"grad_norm": 3.3773086071014404,
|
14 |
+
"learning_rate": 0.0001761904761904762,
|
15 |
+
"loss": 0.6171,
|
16 |
"step": 10
|
17 |
},
|
18 |
{
|
19 |
+
"epoch": 0.9523809523809523,
|
20 |
+
"grad_norm": 4.038491249084473,
|
21 |
+
"learning_rate": 0.00015238095238095237,
|
22 |
+
"loss": 0.4746,
|
23 |
"step": 20
|
24 |
},
|
25 |
{
|
26 |
+
"epoch": 1.4285714285714286,
|
27 |
+
"grad_norm": 0.7119430899620056,
|
28 |
+
"learning_rate": 0.00012857142857142858,
|
29 |
+
"loss": 0.2603,
|
30 |
"step": 30
|
31 |
},
|
32 |
{
|
33 |
+
"epoch": 1.9047619047619047,
|
34 |
+
"grad_norm": 0.4082745611667633,
|
35 |
+
"learning_rate": 0.00010476190476190477,
|
36 |
+
"loss": 0.2766,
|
37 |
"step": 40
|
38 |
},
|
39 |
{
|
40 |
+
"epoch": 2.380952380952381,
|
41 |
+
"grad_norm": 0.17519672214984894,
|
42 |
+
"learning_rate": 8.095238095238096e-05,
|
43 |
+
"loss": 0.1537,
|
44 |
"step": 50
|
45 |
},
|
46 |
{
|
47 |
+
"epoch": 2.857142857142857,
|
48 |
+
"grad_norm": 0.1577773243188858,
|
49 |
+
"learning_rate": 5.714285714285714e-05,
|
50 |
+
"loss": 0.0797,
|
51 |
"step": 60
|
52 |
},
|
53 |
{
|
54 |
+
"epoch": 3.3333333333333335,
|
55 |
+
"grad_norm": 0.12391568720340729,
|
56 |
+
"learning_rate": 3.3333333333333335e-05,
|
57 |
+
"loss": 0.0181,
|
58 |
"step": 70
|
59 |
},
|
60 |
{
|
61 |
+
"epoch": 3.8095238095238093,
|
62 |
+
"grad_norm": 0.28916484117507935,
|
63 |
+
"learning_rate": 9.523809523809523e-06,
|
64 |
+
"loss": 0.0173,
|
65 |
"step": 80
|
66 |
},
|
67 |
{
|
68 |
"epoch": 4.0,
|
69 |
+
"step": 84,
|
70 |
+
"total_flos": 2.5417372593586176e+16,
|
71 |
+
"train_loss": 0.22665784472510928,
|
72 |
+
"train_runtime": 28.7006,
|
73 |
+
"train_samples_per_second": 11.428,
|
74 |
+
"train_steps_per_second": 2.927
|
75 |
}
|
76 |
],
|
77 |
"logging_steps": 10,
|
78 |
+
"max_steps": 84,
|
79 |
"num_input_tokens_seen": 0,
|
80 |
"num_train_epochs": 4,
|
81 |
"save_steps": 100,
|
|
|
91 |
"attributes": {}
|
92 |
}
|
93 |
},
|
94 |
+
"total_flos": 2.5417372593586176e+16,
|
95 |
"train_batch_size": 4,
|
96 |
"trial_name": null,
|
97 |
"trial_params": null
|