Hemg commited on
Commit
470b5a8
·
verified ·
1 Parent(s): a90207d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: Wound-Image-classification
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # Wound-Image-classification
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.9180
21
+ - Accuracy: 0.8736
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 4
42
+ - eval_batch_size: 4
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 2
45
+ - total_train_batch_size: 8
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 8
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 1.8915 | 1.0 | 43 | 1.7986 | 0.4713 |
56
+ | 1.6488 | 2.0 | 86 | 1.5066 | 0.5517 |
57
+ | 1.3878 | 3.0 | 129 | 1.2617 | 0.7701 |
58
+ | 1.1614 | 4.0 | 172 | 1.1325 | 0.7931 |
59
+ | 0.9948 | 5.0 | 215 | 1.0308 | 0.8046 |
60
+ | 0.885 | 6.0 | 258 | 0.9670 | 0.8391 |
61
+ | 0.8482 | 7.0 | 301 | 0.9175 | 0.8621 |
62
+ | 0.8178 | 8.0 | 344 | 0.9180 | 0.8736 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.38.2
68
+ - Pytorch 2.1.0+cu121
69
+ - Datasets 2.18.0
70
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ac8c40e47792fc8db881a003e6910227b11a9d515c0d7e40dab739219a73598a
3
  size 343239356
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e2ed677b363a48bf899238c4cb843c8f83842a09a6c6ae207c1b837d54bab39
3
  size 343239356
runs/Mar11_08-44-53_33467ebf2898/events.out.tfevents.1710146696.33467ebf2898.370.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e21e14cc8b39029fbc59c380e706a9cab4b9ecc5e7076b9b4c31b6ae3d0234b
3
- size 8523
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7342c1add107f5f25ddd74608db3238f4a6585efc627ab11bb18bcf1e39d987
3
+ size 9411