andrei-teodor commited on
Commit
8a7c35b
1 Parent(s): ba15b6a

Brain MRI 🧠 fine tune II run - 15 epochs.

Browse files
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 an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.5992
22
- - Accuracy: 0.7857
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": 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
  }
 
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": 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
  }
 
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": 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
  }
 
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": 14.0,
5
  "eval_steps": 500,
6
- "global_step": 1008,
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": 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,
218
- "max_steps": 1008,
219
  "num_input_tokens_seen": 0,
220
- "num_train_epochs": 14,
221
  "save_steps": 500,
222
  "stateful_callbacks": {
223
  "TrainerControl": {
@@ -231,7 +240,7 @@
231
  "attributes": {}
232
  }
233
  },
234
- "total_flos": 2.4909471645141565e+18,
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