rukundob451 commited on
Commit
ee3a6b3
1 Parent(s): 46ab754

Model save

Browse files
Files changed (2) hide show
  1. README.md +93 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/dinov2-small
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: dinov2-small-finetuned-papsmear
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8602941176470589
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # dinov2-small-finetuned-papsmear
33
+
34
+ This model is a fine-tuned version of [facebook/dinov2-small](https://huggingface.co/facebook/dinov2-small) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.3843
37
+ - Accuracy: 0.8603
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 32
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 15
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
71
+ | 0.846 | 0.9935 | 38 | 1.0217 | 0.5956 |
72
+ | 1.0241 | 1.9869 | 76 | 0.8413 | 0.6544 |
73
+ | 0.9178 | 2.9804 | 114 | 0.7204 | 0.7426 |
74
+ | 0.693 | 4.0 | 153 | 0.5731 | 0.75 |
75
+ | 0.7157 | 4.9935 | 191 | 0.5501 | 0.8162 |
76
+ | 0.5006 | 5.9869 | 229 | 0.6096 | 0.7794 |
77
+ | 0.4576 | 6.9804 | 267 | 0.5535 | 0.7941 |
78
+ | 0.467 | 8.0 | 306 | 0.5041 | 0.8162 |
79
+ | 0.4378 | 8.9935 | 344 | 0.5771 | 0.8015 |
80
+ | 0.2876 | 9.9869 | 382 | 0.4234 | 0.8456 |
81
+ | 0.2308 | 10.9804 | 420 | 0.4946 | 0.8382 |
82
+ | 0.2312 | 12.0 | 459 | 0.5098 | 0.8309 |
83
+ | 0.1625 | 12.9935 | 497 | 0.3813 | 0.8603 |
84
+ | 0.1775 | 13.9869 | 535 | 0.3695 | 0.8529 |
85
+ | 0.1358 | 14.9020 | 570 | 0.3843 | 0.8603 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.44.2
91
+ - Pytorch 2.4.1+cu121
92
+ - Datasets 3.0.1
93
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6f75c36a310ea862f08d9cb392d8acbd13053fbcaaa260dfdd9c454c03b70a5e
3
  size 88270136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ef060ac74e5dcac4f0abc7fafd5fdaa01491c195d65115b715d5c4b238de1e3
3
  size 88270136