merve HF staff commited on
Commit
76eaa1d
1 Parent(s): 8448f5d

End of training

Browse files
Files changed (2) hide show
  1. README.md +88 -7
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -1,16 +1,97 @@
1
  ---
2
- license: apache-2.0
 
3
  datasets:
4
  - beans
5
  metrics:
6
  - accuracy
7
- library_name: transformers
8
- pipeline_tag: image-classification
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ---
10
- ### ResNet Distilled to MobileNetv2
11
 
12
- This repository contains the MobileNetv2 model trained using distilling Resnet-50.
 
13
 
14
- It is trained for educational purposes, on beans dataset. 🫘
15
 
16
- It contains TensorBoard logs from training (find it on the tab above 👆 ).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - generated_from_trainer
4
  datasets:
5
  - beans
6
  metrics:
7
  - accuracy
8
+ model-index:
9
+ - name: resnet-mobilenet-beans
10
+ results:
11
+ - task:
12
+ name: Image Classification
13
+ type: image-classification
14
+ dataset:
15
+ name: beans
16
+ type: beans
17
+ config: default
18
+ split: validation
19
+ args: default
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.7265625
24
  ---
 
25
 
26
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
27
+ should probably proofread and complete it, then remove this comment. -->
28
 
29
+ # resnet-mobilenet-beans
30
 
31
+ This model is a fine-tuned version of [](https://huggingface.co/) on the beans dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.5922
34
+ - Accuracy: 0.7266
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 5e-05
54
+ - train_batch_size: 8
55
+ - eval_batch_size: 8
56
+ - seed: 42
57
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
58
+ - lr_scheduler_type: linear
59
+ - num_epochs: 25
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
64
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
65
+ | 0.9217 | 1.0 | 130 | 1.0079 | 0.3835 |
66
+ | 0.8973 | 2.0 | 260 | 0.8349 | 0.4286 |
67
+ | 0.7912 | 3.0 | 390 | 0.8905 | 0.5414 |
68
+ | 0.7151 | 4.0 | 520 | 1.1400 | 0.4887 |
69
+ | 0.6797 | 5.0 | 650 | 4.5343 | 0.4135 |
70
+ | 0.6471 | 6.0 | 780 | 2.1551 | 0.3985 |
71
+ | 0.5989 | 7.0 | 910 | 0.8552 | 0.6090 |
72
+ | 0.6252 | 8.0 | 1040 | 1.7453 | 0.5489 |
73
+ | 0.6025 | 9.0 | 1170 | 0.7852 | 0.6466 |
74
+ | 0.5643 | 10.0 | 1300 | 1.4728 | 0.6090 |
75
+ | 0.5505 | 11.0 | 1430 | 1.1570 | 0.6015 |
76
+ | 0.5207 | 12.0 | 1560 | 3.2526 | 0.4436 |
77
+ | 0.4957 | 13.0 | 1690 | 0.6617 | 0.6541 |
78
+ | 0.4935 | 14.0 | 1820 | 0.7502 | 0.6241 |
79
+ | 0.4836 | 15.0 | 1950 | 1.2039 | 0.5338 |
80
+ | 0.4648 | 16.0 | 2080 | 1.0283 | 0.5338 |
81
+ | 0.4662 | 17.0 | 2210 | 0.6695 | 0.7293 |
82
+ | 0.4351 | 18.0 | 2340 | 0.8694 | 0.5940 |
83
+ | 0.4286 | 19.0 | 2470 | 1.2751 | 0.4737 |
84
+ | 0.4166 | 20.0 | 2600 | 0.8719 | 0.6241 |
85
+ | 0.4263 | 21.0 | 2730 | 0.8767 | 0.6015 |
86
+ | 0.4261 | 22.0 | 2860 | 1.2780 | 0.5564 |
87
+ | 0.4124 | 23.0 | 2990 | 1.4095 | 0.5940 |
88
+ | 0.4082 | 24.0 | 3120 | 0.9104 | 0.6015 |
89
+ | 0.3923 | 25.0 | 3250 | 0.6430 | 0.7068 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.34.0
95
+ - Pytorch 2.0.1+cu118
96
+ - Datasets 2.14.5
97
+ - Tokenizers 0.14.1
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fa0610413a7f53247119bea2e3f68422d2cafaff4a0fa29b853e421d13dc654
3
  size 9155765
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af47854d043b59ae961540f6509e5dff1886008d2a4295947d2880abf561fa9f
3
  size 9155765