andrei-teodor
commited on
Commit
•
8a7c35b
1
Parent(s):
ba15b6a
Brain MRI 🧠 fine tune II run - 15 epochs.
Browse files- README.md +4 -3
- all_results.json +9 -9
- eval_results.json +4 -4
- runs/Aug25_15-56-19_DESKTOP-4SGMSGR/events.out.tfevents.1724590623.DESKTOP-4SGMSGR.39664.1 +3 -0
- train_results.json +6 -6
- trainer_state.json +21 -12
README.md
CHANGED
@@ -3,6 +3,7 @@ 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
|
@@ -16,10 +17,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# vit-base-brain-mri
|
18 |
|
19 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss:
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224
|
5 |
tags:
|
6 |
+
- image-classification
|
7 |
- generated_from_trainer
|
8 |
metrics:
|
9 |
- accuracy
|
|
|
17 |
|
18 |
# vit-base-brain-mri
|
19 |
|
20 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the BrainMRI dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.1297
|
23 |
+
- Accuracy: 0.5685
|
24 |
|
25 |
## Model description
|
26 |
|
all_results.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
-
"eval_runtime": 3.
|
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":
|
12 |
-
"train_steps_per_second":
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 15.0,
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
+
"eval_runtime": 3.3762,
|
6 |
+
"eval_samples_per_second": 116.699,
|
7 |
+
"eval_steps_per_second": 14.809,
|
8 |
+
"total_flos": 2.6688719619794534e+18,
|
9 |
+
"train_loss": 0.03615495540477611,
|
10 |
+
"train_runtime": 26.3241,
|
11 |
+
"train_samples_per_second": 1308.306,
|
12 |
+
"train_steps_per_second": 41.027
|
13 |
}
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
-
"eval_runtime": 3.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 15.0,
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
+
"eval_runtime": 3.3762,
|
6 |
+
"eval_samples_per_second": 116.699,
|
7 |
+
"eval_steps_per_second": 14.809
|
8 |
}
|
runs/Aug25_15-56-19_DESKTOP-4SGMSGR/events.out.tfevents.1724590623.DESKTOP-4SGMSGR.39664.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fe9351ecace462a70d5e9236abf8385444394e33b0469513ec3cc6ccc479f08
|
3 |
+
size 363
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos": 2.
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 15.0,
|
3 |
+
"total_flos": 2.6688719619794534e+18,
|
4 |
+
"train_loss": 0.03615495540477611,
|
5 |
+
"train_runtime": 26.3241,
|
6 |
+
"train_samples_per_second": 1308.306,
|
7 |
+
"train_steps_per_second": 41.027
|
8 |
}
|
trainer_state.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"best_metric": 0.5857352614402771,
|
3 |
"best_model_checkpoint": "./vit-base-brain-mri\\checkpoint-1008",
|
4 |
-
"epoch":
|
5 |
"eval_steps": 500,
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
@@ -205,19 +205,28 @@
|
|
205 |
"step": 1008
|
206 |
},
|
207 |
{
|
208 |
-
"epoch":
|
209 |
-
"
|
210 |
-
"
|
211 |
-
"
|
212 |
-
"
|
213 |
-
"
|
214 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
}
|
216 |
],
|
217 |
"logging_steps": 100,
|
218 |
-
"max_steps":
|
219 |
"num_input_tokens_seen": 0,
|
220 |
-
"num_train_epochs":
|
221 |
"save_steps": 500,
|
222 |
"stateful_callbacks": {
|
223 |
"TrainerControl": {
|
@@ -231,7 +240,7 @@
|
|
231 |
"attributes": {}
|
232 |
}
|
233 |
},
|
234 |
-
"total_flos": 2.
|
235 |
"train_batch_size": 32,
|
236 |
"trial_name": null,
|
237 |
"trial_params": null
|
|
|
1 |
{
|
2 |
"best_metric": 0.5857352614402771,
|
3 |
"best_model_checkpoint": "./vit-base-brain-mri\\checkpoint-1008",
|
4 |
+
"epoch": 15.0,
|
5 |
"eval_steps": 500,
|
6 |
+
"global_step": 1080,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
|
|
205 |
"step": 1008
|
206 |
},
|
207 |
{
|
208 |
+
"epoch": 15.0,
|
209 |
+
"eval_accuracy": 0.7857142857142857,
|
210 |
+
"eval_loss": 0.5991856455802917,
|
211 |
+
"eval_runtime": 5.1206,
|
212 |
+
"eval_samples_per_second": 112.096,
|
213 |
+
"eval_steps_per_second": 14.061,
|
214 |
+
"step": 1080
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 15.0,
|
218 |
+
"step": 1080,
|
219 |
+
"total_flos": 2.6688719619794534e+18,
|
220 |
+
"train_loss": 0.03615495540477611,
|
221 |
+
"train_runtime": 26.3241,
|
222 |
+
"train_samples_per_second": 1308.306,
|
223 |
+
"train_steps_per_second": 41.027
|
224 |
}
|
225 |
],
|
226 |
"logging_steps": 100,
|
227 |
+
"max_steps": 1080,
|
228 |
"num_input_tokens_seen": 0,
|
229 |
+
"num_train_epochs": 15,
|
230 |
"save_steps": 500,
|
231 |
"stateful_callbacks": {
|
232 |
"TrainerControl": {
|
|
|
240 |
"attributes": {}
|
241 |
}
|
242 |
},
|
243 |
+
"total_flos": 2.6688719619794534e+18,
|
244 |
"train_batch_size": 32,
|
245 |
"trial_name": null,
|
246 |
"trial_params": null
|