NiharGupte
commited on
Commit
•
760618c
1
Parent(s):
d1ba39a
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/resnet-50
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: resnet-50-finetuned-student_kaggle
|
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-50-finetuned-student_kaggle
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0012
|
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 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- lr_scheduler_warmup_ratio: 0.1
|
62 |
+
- num_epochs: 20
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
+
| 0.7142 | 1.0 | 47 | 0.6418 | 0.6101 |
|
69 |
+
| 0.3351 | 2.0 | 94 | 0.2597 | 0.8947 |
|
70 |
+
| 0.2574 | 3.0 | 141 | 0.1046 | 0.9780 |
|
71 |
+
| 0.1479 | 4.0 | 188 | 0.0616 | 0.9874 |
|
72 |
+
| 0.1284 | 5.0 | 235 | 0.0232 | 0.9953 |
|
73 |
+
| 0.077 | 6.0 | 282 | 0.0150 | 0.9953 |
|
74 |
+
| 0.103 | 7.0 | 329 | 0.0105 | 0.9984 |
|
75 |
+
| 0.0922 | 8.0 | 376 | 0.0094 | 0.9984 |
|
76 |
+
| 0.08 | 9.0 | 423 | 0.0056 | 1.0 |
|
77 |
+
| 0.0492 | 10.0 | 470 | 0.0045 | 1.0 |
|
78 |
+
| 0.0574 | 11.0 | 517 | 0.0043 | 1.0 |
|
79 |
+
| 0.0382 | 12.0 | 564 | 0.0023 | 1.0 |
|
80 |
+
| 0.0666 | 13.0 | 611 | 0.0022 | 1.0 |
|
81 |
+
| 0.0477 | 14.0 | 658 | 0.0022 | 1.0 |
|
82 |
+
| 0.0614 | 15.0 | 705 | 0.0023 | 1.0 |
|
83 |
+
| 0.0282 | 16.0 | 752 | 0.0014 | 1.0 |
|
84 |
+
| 0.0659 | 17.0 | 799 | 0.0016 | 1.0 |
|
85 |
+
| 0.0586 | 18.0 | 846 | 0.0010 | 1.0 |
|
86 |
+
| 0.0557 | 19.0 | 893 | 0.0013 | 1.0 |
|
87 |
+
| 0.07 | 20.0 | 940 | 0.0012 | 1.0 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.40.1
|
93 |
+
- Pytorch 2.2.1+cu121
|
94 |
+
- Datasets 2.19.0
|
95 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 94302952
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:306ecec9a84b992d1f4c8c5d230e2425aef41c22041fe256b8c6cf55d2f03b68
|
3 |
size 94302952
|
runs/May04_07-36-54_4f22111e1b44/events.out.tfevents.1714808228.4f22111e1b44.9006.2
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f74f32202f2f895dbb2abdf6826294a3bc25fc944e02955b4d3d00eb139f09a1
|
3 |
+
size 31435
|