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

End of training

Browse files
Files changed (4) hide show
  1. README.md +38 -11
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. training_args.bin +1 -1
README.md CHANGED
@@ -1,12 +1,28 @@
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 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # cat_dog_classifier_with_small_datasest
16
 
17
- This model was trained from scratch on the imagefolder dataset.
18
  It achieves the following results on the evaluation set:
19
- - eval_loss: 0.2202
20
- - eval_model_preparation_time: 0.0044
21
- - eval_accuracy: 0.9286
22
- - eval_runtime: 2.4201
23
- - eval_samples_per_second: 57.849
24
- - eval_steps_per_second: 7.438
25
- - step: 0
26
 
27
  ## Model description
28
 
@@ -42,13 +53,29 @@ More information needed
42
 
43
  The following hyperparameters were used during training:
44
  - learning_rate: 1e-05
45
- - train_batch_size: 4
46
  - eval_batch_size: 8
47
  - seed: 42
48
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
  - lr_scheduler_type: linear
50
  - lr_scheduler_warmup_steps: 500
51
- - num_epochs: 20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  ### Framework versions
54
 
 
1
  ---
2
  library_name: transformers
3
+ base_model: MoGHenry/cat_dog_classifier_with_small_datasest
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
  - imagefolder
8
+ metrics:
9
+ - accuracy
10
  model-index:
11
  - name: cat_dog_classifier_with_small_datasest
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: 0.9571428571428572
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
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
 
 
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
60
  - lr_scheduler_type: linear
61
  - lr_scheduler_warmup_steps: 500
62
+ - num_epochs: 10
63
+
64
+ ### Training results
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
81
 
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/kaggle/working/cat_dog_classifier_with_small_datasest/checkpoint-90",
3
  "architectures": [
4
  "ResNetForImageClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "MoGHenry/cat_dog_classifier_with_small_datasest",
3
  "architectures": [
4
  "ResNetForImageClassification"
5
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34f4c2c5969f336ac963fea0ae9379955a2d8c2e2528da9a72b10cbbc10e2b0a
3
  size 94302952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04949232c69770d3b7d2032a7b69d4adbcebe5123744e801f347ae7e4717f930
3
  size 94302952
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e143022c9d102a69fcedf3da6085b42d3c807b37125d37da75fff1fa6adaf21
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47e95f353aa382ffd13dcb9ba4245538c32f73247163399a2ff7073b46bcb566
3
  size 5368