embunna commited on
Commit
4e2c885
1 Parent(s): c2c68e9

Model save

Browse files
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/resnet-18
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: resnet-18
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 1.0
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # resnet-18
32
+
33
+ This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.7117
36
+ - Accuracy: 1.0
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 32
57
+ - eval_batch_size: 32
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 128
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 10
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
70
+ | No log | 0.9091 | 5 | 1.0318 | 0.4156 |
71
+ | 1.0893 | 2.0 | 11 | 0.9520 | 0.6364 |
72
+ | 1.0893 | 2.9091 | 16 | 0.9017 | 0.8442 |
73
+ | 0.9912 | 4.0 | 22 | 0.8444 | 1.0 |
74
+ | 0.9912 | 4.9091 | 27 | 0.8027 | 1.0 |
75
+ | 0.9248 | 6.0 | 33 | 0.7631 | 1.0 |
76
+ | 0.9248 | 6.9091 | 38 | 0.7369 | 1.0 |
77
+ | 0.8716 | 8.0 | 44 | 0.7156 | 1.0 |
78
+ | 0.8716 | 8.9091 | 49 | 0.7137 | 1.0 |
79
+ | 0.8517 | 9.0909 | 50 | 0.7117 | 1.0 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.41.2
85
+ - Pytorch 2.3.0+cu121
86
+ - Datasets 2.19.2
87
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f953c1b61cb0a8220a462e2052a4b4d5640f00ad67da635f7c28cc66d03b6817
3
  size 44766388
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:671963d4abbc1dd051d9e48b19285f66bf84291913e6bd5130415f1c16f93752
3
  size 44766388
runs/Jun06_03-33-59_e4a29acb3a86/events.out.tfevents.1717644839.e4a29acb3a86.445.3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:53d38bfbeaf05325122f6ff7aeab36efcb33f4d114c41ca539e2f840674fcec8
3
- size 8280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fea47b52cec2cf7487d3262357e05cc098abbe969ea5b28d39c94adca1e4c66
3
+ size 9469