Commit
•
0b16cee
1
Parent(s):
e5cff26
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: ResNet_AI_image_detector
|
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 |
+
# ResNet_AI_image_detector
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.1330
|
20 |
+
- Accuracy: 0.9507
|
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: 16
|
41 |
+
- eval_batch_size: 16
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 4
|
44 |
+
- total_train_batch_size: 64
|
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: 10
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
54 |
+
| 0.441 | 1.0 | 1093 | 0.3588 | 0.8458 |
|
55 |
+
| 0.2977 | 2.0 | 2187 | 0.2798 | 0.8806 |
|
56 |
+
| 0.3006 | 3.0 | 3281 | 0.1957 | 0.9222 |
|
57 |
+
| 0.2916 | 4.0 | 4375 | 0.1800 | 0.9323 |
|
58 |
+
| 0.2835 | 5.0 | 5468 | 0.1784 | 0.9307 |
|
59 |
+
| 0.2623 | 6.0 | 6562 | 0.1505 | 0.9425 |
|
60 |
+
| 0.2791 | 7.0 | 7656 | 0.1408 | 0.9460 |
|
61 |
+
| 0.2686 | 8.0 | 8750 | 0.1490 | 0.9433 |
|
62 |
+
| 0.2219 | 9.0 | 9843 | 0.1479 | 0.9445 |
|
63 |
+
| 0.2552 | 9.99 | 10930 | 0.1330 | 0.9507 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.30.0
|
69 |
+
- Pytorch 2.2.1+cu121
|
70 |
+
- Datasets 2.19.0
|
71 |
+
- Tokenizers 0.13.3
|