awanicka commited on
Commit
3217289
·
verified ·
1 Parent(s): 1da51b6

Model save

Browse files
Files changed (2) hide show
  1. README.md +80 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: TransparentBagClassifier
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.9820627802690582
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # TransparentBagClassifier
33
+
34
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.0517
37
+ - Accuracy: 0.9821
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 2e-05
57
+ - train_batch_size: 8
58
+ - eval_batch_size: 8
59
+ - seed: 1337
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 5.0
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | 0.0694 | 1.0 | 158 | 0.0719 | 0.9821 |
69
+ | 0.0871 | 2.0 | 316 | 0.0411 | 0.9955 |
70
+ | 0.0561 | 3.0 | 474 | 0.0419 | 0.9910 |
71
+ | 0.0673 | 4.0 | 632 | 0.0424 | 0.9865 |
72
+ | 0.0099 | 5.0 | 790 | 0.0517 | 0.9821 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.44.2
78
+ - Pytorch 2.4.1+cpu
79
+ - Datasets 3.0.0
80
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f71b32c7b433ee43e13fbc5d37fb4f8080d1ef3238a0f989689b7802e56ca9e9
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f42951574fb64d251502b0b15448fcb3fb8bedfe776bba2d8460d2628cdd18df
3
  size 343223968