yangswei commited on
Commit
697afac
·
verified ·
1 Parent(s): 9567c47

Model save

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: snacks_classification
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # snacks_classification
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.4458
21
+ - Accuracy: 0.8942
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0001
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 13
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | No log | 1.0 | 303 | 0.7200 | 0.8649 |
53
+ | 1.0168 | 2.0 | 606 | 0.5468 | 0.8723 |
54
+ | 1.0168 | 3.0 | 909 | 0.4612 | 0.8848 |
55
+ | 0.3765 | 4.0 | 1212 | 0.5239 | 0.8660 |
56
+ | 0.2585 | 5.0 | 1515 | 0.4193 | 0.8890 |
57
+ | 0.2585 | 6.0 | 1818 | 0.4571 | 0.8775 |
58
+ | 0.2038 | 7.0 | 2121 | 0.4538 | 0.8838 |
59
+ | 0.2038 | 8.0 | 2424 | 0.4508 | 0.8880 |
60
+ | 0.1827 | 9.0 | 2727 | 0.4748 | 0.8880 |
61
+ | 0.1568 | 10.0 | 3030 | 0.4928 | 0.8764 |
62
+ | 0.1568 | 11.0 | 3333 | 0.3684 | 0.9099 |
63
+ | 0.1305 | 12.0 | 3636 | 0.4205 | 0.8984 |
64
+ | 0.1305 | 13.0 | 3939 | 0.4537 | 0.8963 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.37.2
70
+ - Pytorch 2.1.0+cu121
71
+ - Datasets 2.17.1
72
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6add142bb97edab686716fd6dd51ccb9c76e066d48cce5666d9af88a4bc12835
3
  size 343279344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e19c6af76a7ce29a22689b806b734e5d010c0d1b8b24766f0286515e0ee6216a
3
  size 343279344
runs/Feb23_07-46-41_84f82c43b852/events.out.tfevents.1708674409.84f82c43b852.3682.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba4cae3dc7ef076cfffb3bbd852d945dcc94b58ba2fd342811b68800e8fb2a8a
3
- size 10088
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee94cd78345c215dff203b9118fcd411f05b629a32a501509aa23ca88f399cc2
3
+ size 10765
runs/Feb23_07-46-41_84f82c43b852/events.out.tfevents.1708678096.84f82c43b852.3682.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:219f74d01cbcfc4e018ff2367aa6aa751fe7e6defe2b43727d2765984295fa7b
3
+ size 411