codewithaman commited on
Commit
a4e294e
·
verified ·
1 Parent(s): 98219c8

Model save

Browse files
Files changed (2) hide show
  1. README.md +85 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: model
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: validation
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.9867232343399052
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
+ # model
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.0560
37
+ - Accuracy: 0.9867
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: 0.0002
57
+ - train_batch_size: 3
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 4
63
+ - mixed_precision_training: Native AMP
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
+ |:-------------:|:------:|:-----:|:---------------:|:--------:|
69
+ | 0.1455 | 0.4279 | 10000 | 0.0871 | 0.9822 |
70
+ | 0.2997 | 0.8557 | 20000 | 0.0938 | 0.9748 |
71
+ | 0.0095 | 1.2836 | 30000 | 0.0787 | 0.9822 |
72
+ | 0.0047 | 1.7114 | 40000 | 0.0804 | 0.9799 |
73
+ | 0.0025 | 2.1393 | 50000 | 0.0647 | 0.9848 |
74
+ | 0.0085 | 2.5672 | 60000 | 0.0577 | 0.9864 |
75
+ | 0.0015 | 2.9950 | 70000 | 0.0618 | 0.9867 |
76
+ | 0.0996 | 3.4229 | 80000 | 0.0596 | 0.9869 |
77
+ | 0.0755 | 3.8508 | 90000 | 0.0560 | 0.9867 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.48.0
83
+ - Pytorch 2.5.1+cu121
84
+ - Datasets 3.2.0
85
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b37f549571edf4cd75cadb3f3968dba2079996eff526c9d1739912a2c8022b2c
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9b85f825373d36276e67152d42ff01cd55c2a6df65786c9eba1b62681244fb8
3
  size 343223968