andrei-teodor
commited on
Commit
•
261cf69
1
Parent(s):
e578574
Brain MRI 🧠 fine tune II run - 10 epochs.
Browse files- README.md +4 -3
- all_results.json +7 -7
- config.json +1 -0
- eval_results.json +3 -3
- runs/Aug25_15-54-39_DESKTOP-4SGMSGR/events.out.tfevents.1724590487.DESKTOP-4SGMSGR.27212.1 +3 -0
- train_results.json +4 -4
- trainer_state.json +4 -4
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 |
-
-
|
22 |
-
-
|
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
@@ -2,12 +2,12 @@
|
|
2 |
"epoch": 14.0,
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
-
"eval_runtime": 3.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 15.
|
8 |
"total_flos": 2.4909471645141565e+18,
|
9 |
-
"train_loss": 0.
|
10 |
-
"train_runtime":
|
11 |
-
"train_samples_per_second":
|
12 |
-
"train_steps_per_second":
|
13 |
}
|
|
|
2 |
"epoch": 14.0,
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
+
"eval_runtime": 3.146,
|
6 |
+
"eval_samples_per_second": 125.24,
|
7 |
+
"eval_steps_per_second": 15.893,
|
8 |
"total_flos": 2.4909471645141565e+18,
|
9 |
+
"train_loss": 0.0,
|
10 |
+
"train_runtime": 0.147,
|
11 |
+
"train_samples_per_second": 218667.975,
|
12 |
+
"train_steps_per_second": 6857.184
|
13 |
}
|
config.json
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
"num_channels": 3,
|
30 |
"num_hidden_layers": 12,
|
31 |
"patch_size": 16,
|
|
|
32 |
"qkv_bias": true,
|
33 |
"torch_dtype": "float32",
|
34 |
"transformers_version": "4.44.2"
|
|
|
29 |
"num_channels": 3,
|
30 |
"num_hidden_layers": 12,
|
31 |
"patch_size": 16,
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
"qkv_bias": true,
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.44.2"
|
eval_results.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"epoch": 14.0,
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
-
"eval_runtime": 3.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 15.
|
8 |
}
|
|
|
2 |
"epoch": 14.0,
|
3 |
"eval_accuracy": 0.5685279187817259,
|
4 |
"eval_loss": 1.129746437072754,
|
5 |
+
"eval_runtime": 3.146,
|
6 |
+
"eval_samples_per_second": 125.24,
|
7 |
+
"eval_steps_per_second": 15.893
|
8 |
}
|
runs/Aug25_15-54-39_DESKTOP-4SGMSGR/events.out.tfevents.1724590487.DESKTOP-4SGMSGR.27212.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac459601531a17ed6e8530af3841544c4cd7a4a94f0cec64aba016877eddba44
|
3 |
+
size 363
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"epoch": 14.0,
|
3 |
"total_flos": 2.4909471645141565e+18,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
"epoch": 14.0,
|
3 |
"total_flos": 2.4909471645141565e+18,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.147,
|
6 |
+
"train_samples_per_second": 218667.975,
|
7 |
+
"train_steps_per_second": 6857.184
|
8 |
}
|
trainer_state.json
CHANGED
@@ -208,10 +208,10 @@
|
|
208 |
"epoch": 14.0,
|
209 |
"step": 1008,
|
210 |
"total_flos": 2.4909471645141565e+18,
|
211 |
-
"train_loss": 0.
|
212 |
-
"train_runtime":
|
213 |
-
"train_samples_per_second":
|
214 |
-
"train_steps_per_second":
|
215 |
}
|
216 |
],
|
217 |
"logging_steps": 100,
|
|
|
208 |
"epoch": 14.0,
|
209 |
"step": 1008,
|
210 |
"total_flos": 2.4909471645141565e+18,
|
211 |
+
"train_loss": 0.0,
|
212 |
+
"train_runtime": 0.147,
|
213 |
+
"train_samples_per_second": 218667.975,
|
214 |
+
"train_steps_per_second": 6857.184
|
215 |
}
|
216 |
],
|
217 |
"logging_steps": 100,
|