MoGHenry commited on
Commit
db630f1
·
verified ·
1 Parent(s): aa0957e

End of training

Browse files
Files changed (4) hide show
  1. README.md +4 -49
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. training_args.bin +1 -1
README.md CHANGED
@@ -1,29 +1,12 @@
1
  ---
2
  library_name: transformers
3
- license: apache-2.0
4
- base_model: microsoft/resnet-50
5
  tags:
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
9
- metrics:
10
- - accuracy
11
  model-index:
12
  - name: cat_dog_classifier_with_small_datasest
13
- results:
14
- - task:
15
- name: Image Classification
16
- type: image-classification
17
- dataset:
18
- name: imagefolder
19
- type: imagefolder
20
- config: default
21
- split: train
22
- args: default
23
- metrics:
24
- - name: Accuracy
25
- type: accuracy
26
- value: 0.8
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -31,10 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
31
 
32
  # cat_dog_classifier_with_small_datasest
33
 
34
- This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on the imagefolder dataset.
35
- It achieves the following results on the evaluation set:
36
- - Loss: 0.4506
37
- - Accuracy: 0.8
38
 
39
  ## Model description
40
 
@@ -53,40 +33,15 @@ More information needed
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
- - learning_rate: 5e-05
57
  - train_batch_size: 4
58
  - eval_batch_size: 8
59
  - seed: 42
60
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
  - lr_scheduler_type: linear
 
62
  - num_epochs: 20
63
 
64
- ### Training results
65
-
66
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
- | No log | 1.0 | 140 | 0.6771 | 0.6786 |
69
- | No log | 2.0 | 280 | 0.6420 | 0.7429 |
70
- | No log | 3.0 | 420 | 0.5982 | 0.7286 |
71
- | 0.6043 | 4.0 | 560 | 0.4834 | 0.7929 |
72
- | 0.6043 | 5.0 | 700 | 0.4565 | 0.8071 |
73
- | 0.6043 | 6.0 | 840 | 0.3878 | 0.7857 |
74
- | 0.6043 | 7.0 | 980 | 0.4147 | 0.8286 |
75
- | 0.4152 | 8.0 | 1120 | 0.3455 | 0.85 |
76
- | 0.4152 | 9.0 | 1260 | 0.3802 | 0.8786 |
77
- | 0.4152 | 10.0 | 1400 | 0.3318 | 0.8857 |
78
- | 0.3497 | 11.0 | 1540 | 0.3170 | 0.85 |
79
- | 0.3497 | 12.0 | 1680 | 0.4438 | 0.8286 |
80
- | 0.3497 | 13.0 | 1820 | 0.3154 | 0.8857 |
81
- | 0.3497 | 14.0 | 1960 | 0.3921 | 0.8571 |
82
- | 0.3585 | 15.0 | 2100 | 0.2998 | 0.8929 |
83
- | 0.3585 | 16.0 | 2240 | 0.3220 | 0.8571 |
84
- | 0.3585 | 17.0 | 2380 | 0.2554 | 0.9286 |
85
- | 0.3466 | 18.0 | 2520 | 0.5321 | 0.85 |
86
- | 0.3466 | 19.0 | 2660 | 0.4611 | 0.8286 |
87
- | 0.3466 | 20.0 | 2800 | 0.4506 | 0.8 |
88
-
89
-
90
  ### Framework versions
91
 
92
  - Transformers 4.47.1
 
1
  ---
2
  library_name: transformers
 
 
3
  tags:
4
  - generated_from_trainer
5
  datasets:
6
  - imagefolder
 
 
7
  model-index:
8
  - name: cat_dog_classifier_with_small_datasest
9
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
14
 
15
  # cat_dog_classifier_with_small_datasest
16
 
17
+ This model was trained from scratch on the imagefolder dataset.
 
 
 
18
 
19
  ## Model description
20
 
 
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
+ - learning_rate: 1e-05
37
  - train_batch_size: 4
38
  - eval_batch_size: 8
39
  - seed: 42
40
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
  - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_steps: 500
43
  - num_epochs: 20
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  ### Framework versions
46
 
47
  - Transformers 4.47.1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "microsoft/resnet-50",
3
  "architectures": [
4
  "ResNetForImageClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "/kaggle/working/cat_dog_classifier_with_small_datasest/checkpoint-2520",
3
  "architectures": [
4
  "ResNetForImageClassification"
5
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae304ab335dc00dda6b5826c6766b4033698be51cc3417ba37b83606c0b413f5
3
  size 94302952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cd982d56cd0e8c68a58a2d7ed34e21b3408a965f14975b6519c42ff84486be1
3
  size 94302952
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1de127647077cce7ec6785bf3f9e79509b110c94ddbd066c5220c50ae5fbd633
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95075a07b410ae764aa670c942390719d5cefd18c13d6cfefe0c6ad7538fa608
3
  size 5368