MoGHenry commited on
Commit
2ab5de0
·
verified ·
1 Parent(s): afdf0a7

End of training

Browse files
Files changed (4) hide show
  1. README.md +18 -17
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. training_args.bin +1 -1
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  library_name: transformers
3
- base_model: MoGHenry/cat_dog_classifier_with_small_datasest
 
4
  tags:
5
  - generated_from_trainer
6
  datasets:
@@ -22,7 +23,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.9571428571428572
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -30,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
30
 
31
  # cat_dog_classifier_with_small_datasest
32
 
33
- This model is a fine-tuned version of [MoGHenry/cat_dog_classifier_with_small_datasest](https://huggingface.co/MoGHenry/cat_dog_classifier_with_small_datasest) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.1495
36
- - Accuracy: 0.9571
37
 
38
  ## Model description
39
 
@@ -52,8 +53,8 @@ More information needed
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
- - learning_rate: 1e-05
56
- - train_batch_size: 32
57
  - eval_batch_size: 8
58
  - seed: 42
59
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
@@ -65,16 +66,16 @@ The following hyperparameters were used during training:
65
 
66
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
- | No log | 1.0 | 18 | 0.1574 | 0.9571 |
69
- | No log | 2.0 | 36 | 0.1638 | 0.9429 |
70
- | No log | 3.0 | 54 | 0.1581 | 0.9429 |
71
- | No log | 4.0 | 72 | 0.1470 | 0.9571 |
72
- | No log | 5.0 | 90 | 0.1424 | 0.9571 |
73
- | No log | 6.0 | 108 | 0.1389 | 0.9643 |
74
- | No log | 7.0 | 126 | 0.1632 | 0.9429 |
75
- | No log | 8.0 | 144 | 0.1510 | 0.95 |
76
- | No log | 9.0 | 162 | 0.1474 | 0.95 |
77
- | No log | 10.0 | 180 | 0.1430 | 0.9571 |
78
 
79
 
80
  ### Framework versions
 
1
  ---
2
  library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/resnet-50
5
  tags:
6
  - generated_from_trainer
7
  datasets:
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.8714285714285714
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
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.3807
37
+ - Accuracy: 0.8714
38
 
39
  ## Model description
40
 
 
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
+ - learning_rate: 4e-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
 
66
 
67
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
+ | No log | 1.0 | 140 | 0.6967 | 0.4929 |
70
+ | No log | 2.0 | 280 | 0.6870 | 0.5357 |
71
+ | No log | 3.0 | 420 | 0.6729 | 0.6214 |
72
+ | 0.6818 | 4.0 | 560 | 0.6306 | 0.7429 |
73
+ | 0.6818 | 5.0 | 700 | 0.5554 | 0.8714 |
74
+ | 0.6818 | 6.0 | 840 | 0.4894 | 0.8429 |
75
+ | 0.6818 | 7.0 | 980 | 0.4511 | 0.8286 |
76
+ | 0.5676 | 8.0 | 1120 | 0.4113 | 0.8643 |
77
+ | 0.5676 | 9.0 | 1260 | 0.4318 | 0.8643 |
78
+ | 0.5676 | 10.0 | 1400 | 0.3807 | 0.8714 |
79
 
80
 
81
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "MoGHenry/cat_dog_classifier_with_small_datasest",
3
  "architectures": [
4
  "ResNetForImageClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "microsoft/resnet-50",
3
  "architectures": [
4
  "ResNetForImageClassification"
5
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:04949232c69770d3b7d2032a7b69d4adbcebe5123744e801f347ae7e4717f930
3
  size 94302952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f5be6da4d99047a2e156c46feb110200662ab8e67fc00ae3c356b319052adfb
3
  size 94302952
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47e95f353aa382ffd13dcb9ba4245538c32f73247163399a2ff7073b46bcb566
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3b105c9791529d7d3bc99849398c4e0806d64bc2799d8b33b2d2bcd061fe01c
3
  size 5368