Tharsana commited on
Commit
3d9918f
·
verified ·
1 Parent(s): b78d1b1

Model save

Browse files
README.md CHANGED
@@ -3,9 +3,6 @@ library_name: transformers
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224
5
  tags:
6
- - image-classification
7
- - brain-tumor
8
- - medical-imaging
9
  - generated_from_trainer
10
  datasets:
11
  - imagefolder
@@ -18,7 +15,7 @@ model-index:
18
  name: Image Classification
19
  type: image-classification
20
  dataset:
21
- name: your-username/brain-tumor
22
  type: imagefolder
23
  config: default
24
  split: train
@@ -26,7 +23,7 @@ model-index:
26
  metrics:
27
  - name: Accuracy
28
  type: accuracy
29
- value: 0.862453531598513
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -34,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
34
 
35
  # vit-base-brain-tumor
36
 
37
- This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the your-username/brain-tumor dataset.
38
  It achieves the following results on the evaluation set:
39
- - Loss: 0.3625
40
- - Accuracy: 0.8625
41
 
42
  ## Model description
43
 
@@ -68,21 +65,21 @@ The following hyperparameters were used during training:
68
 
69
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
- | 0.6486 | 1.0 | 135 | 0.6040 | 0.7127 |
72
- | 0.5363 | 2.0 | 270 | 0.5300 | 0.8060 |
73
- | 0.4727 | 3.0 | 405 | 0.4835 | 0.8209 |
74
- | 0.4318 | 4.0 | 540 | 0.4525 | 0.8358 |
75
- | 0.4027 | 5.0 | 675 | 0.4298 | 0.8358 |
76
- | 0.3791 | 6.0 | 810 | 0.4145 | 0.8358 |
77
- | 0.3764 | 7.0 | 945 | 0.4017 | 0.8433 |
78
- | 0.3575 | 8.0 | 1080 | 0.3913 | 0.8433 |
79
- | 0.352 | 9.0 | 1215 | 0.3840 | 0.8470 |
80
- | 0.3466 | 10.0 | 1350 | 0.3775 | 0.8433 |
81
- | 0.3447 | 11.0 | 1485 | 0.3733 | 0.8433 |
82
- | 0.3361 | 12.0 | 1620 | 0.3697 | 0.8470 |
83
- | 0.3352 | 13.0 | 1755 | 0.3672 | 0.8470 |
84
- | 0.3347 | 14.0 | 1890 | 0.3657 | 0.8470 |
85
- | 0.3365 | 15.0 | 2025 | 0.3653 | 0.8470 |
86
 
87
 
88
  ### Framework versions
 
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224
5
  tags:
 
 
 
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
 
15
  name: Image Classification
16
  type: image-classification
17
  dataset:
18
+ name: imagefolder
19
  type: imagefolder
20
  config: default
21
  split: train
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.8698884758364313
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # vit-base-brain-tumor
33
 
34
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.3678
37
+ - Accuracy: 0.8699
38
 
39
  ## Model description
40
 
 
65
 
66
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | 0.8264 | 1.0 | 135 | 0.6904 | 0.5709 |
69
+ | 0.6692 | 2.0 | 270 | 0.5918 | 0.7313 |
70
+ | 0.5584 | 3.0 | 405 | 0.5281 | 0.7836 |
71
+ | 0.4993 | 4.0 | 540 | 0.4851 | 0.8321 |
72
+ | 0.4554 | 5.0 | 675 | 0.4554 | 0.8321 |
73
+ | 0.4237 | 6.0 | 810 | 0.4345 | 0.8246 |
74
+ | 0.4035 | 7.0 | 945 | 0.4183 | 0.8246 |
75
+ | 0.3861 | 8.0 | 1080 | 0.4066 | 0.8321 |
76
+ | 0.3793 | 9.0 | 1215 | 0.3976 | 0.8433 |
77
+ | 0.3678 | 10.0 | 1350 | 0.3898 | 0.8433 |
78
+ | 0.3665 | 11.0 | 1485 | 0.3843 | 0.8433 |
79
+ | 0.3564 | 12.0 | 1620 | 0.3802 | 0.8433 |
80
+ | 0.3518 | 13.0 | 1755 | 0.3772 | 0.8470 |
81
+ | 0.3508 | 14.0 | 1890 | 0.3755 | 0.8470 |
82
+ | 0.3518 | 15.0 | 2025 | 0.3750 | 0.8470 |
83
 
84
 
85
  ### Framework versions
runs/May24_14-13-43_ip-10-192-11-175/events.out.tfevents.1748096419.ip-10-192-11-175.1808.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dd8dab5fabdc6fcc5427239bc935ba5b3a8caa292cf7baee1d90a94e7dd850b
3
+ size 734