update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: models
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# models
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.4704
|
20 |
+
- Accuracy: 0.8182
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 5e-05
|
40 |
+
- train_batch_size: 32
|
41 |
+
- eval_batch_size: 32
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 4
|
44 |
+
- total_train_batch_size: 128
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 20
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
+
| 1.4144 | 0.99 | 20 | 0.9938 | 0.7 |
|
55 |
+
| 0.7896 | 1.98 | 40 | 0.7022 | 0.7152 |
|
56 |
+
| 0.6191 | 2.96 | 60 | 0.6079 | 0.7636 |
|
57 |
+
| 0.6114 | 4.0 | 81 | 0.5554 | 0.7939 |
|
58 |
+
| 0.5365 | 4.99 | 101 | 0.5233 | 0.8152 |
|
59 |
+
| 0.4989 | 5.98 | 121 | 0.4934 | 0.8303 |
|
60 |
+
| 0.5111 | 6.96 | 141 | 0.5181 | 0.8 |
|
61 |
+
| 0.476 | 8.0 | 162 | 0.4844 | 0.8182 |
|
62 |
+
| 0.4655 | 8.99 | 182 | 0.4870 | 0.8152 |
|
63 |
+
| 0.4335 | 9.98 | 202 | 0.4802 | 0.8242 |
|
64 |
+
| 0.44 | 10.96 | 222 | 0.4776 | 0.8182 |
|
65 |
+
| 0.3989 | 12.0 | 243 | 0.4804 | 0.8182 |
|
66 |
+
| 0.4007 | 12.99 | 263 | 0.4768 | 0.8242 |
|
67 |
+
| 0.3987 | 13.98 | 283 | 0.4610 | 0.8303 |
|
68 |
+
| 0.3922 | 14.96 | 303 | 0.4578 | 0.8212 |
|
69 |
+
| 0.3924 | 16.0 | 324 | 0.4804 | 0.8182 |
|
70 |
+
| 0.3995 | 16.99 | 344 | 0.4736 | 0.8121 |
|
71 |
+
| 0.3623 | 17.98 | 364 | 0.4715 | 0.8121 |
|
72 |
+
| 0.3621 | 18.96 | 384 | 0.4671 | 0.8212 |
|
73 |
+
| 0.3629 | 19.75 | 400 | 0.4704 | 0.8182 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.30.2
|
79 |
+
- Pytorch 2.0.1+cu118
|
80 |
+
- Datasets 2.13.0
|
81 |
+
- Tokenizers 0.13.3
|