Nicole-M commited on
Commit
99771bd
·
verified ·
1 Parent(s): b8878f6

VIT-fineTuned

Browse files
Files changed (2) hide show
  1. README.md +71 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: VIT
3
+ tags:
4
+ - image-classification
5
+ - breast cancer
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: vit
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # vit
21
+
22
+ This model is a fine-tuned version of [VIT](https://huggingface.co/VIT) on the Mammogram V1 dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1157
25
+ - Accuracy: 0.9625
26
+ - Precision: 0.9745
27
+ - Recall: 0.9625
28
+ - F1: 0.9682
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 5
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.4204 | 1.0 | 1112 | 0.1572 | 0.9797 | 0.9740 | 0.9797 | 0.9767 |
60
+ | 0.3987 | 2.0 | 2224 | 0.2308 | 0.9253 | 0.9745 | 0.9253 | 0.9482 |
61
+ | 0.2347 | 3.0 | 3336 | 0.1360 | 0.9516 | 0.9737 | 0.9516 | 0.9622 |
62
+ | 0.1283 | 4.0 | 4448 | 0.1255 | 0.9564 | 0.9743 | 0.9564 | 0.9649 |
63
+ | 0.1304 | 5.0 | 5560 | 0.1157 | 0.9625 | 0.9745 | 0.9625 | 0.9682 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.42.4
69
+ - Pytorch 2.3.1+cu121
70
+ - Datasets 2.21.0
71
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f60f512a5b25415d78835061247a8f009f9604063fb4842fdd300da67e335e64
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6346d4c2457c148fed1b740073323a06f76c617af1055c8776e250b7b067701
3
  size 343223968