ruben09 commited on
Commit
55e5063
1 Parent(s): 4edae60

End of training

Browse files
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: image_classification
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[:5000]
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.275
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
+ # image_classification
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: 2.0337
37
+ - Accuracy: 0.275
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: 5e-05
57
+ - train_batch_size: 16
58
+ - eval_batch_size: 16
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 64
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 2
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
+ | 2.0836 | 1.0 | 10 | 2.0539 | 0.2062 |
72
+ | 2.0277 | 2.0 | 20 | 2.0386 | 0.2625 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.44.2
78
+ - Pytorch 2.4.0+cu121
79
+ - Datasets 2.21.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:4b6f2a30dd5fe516ab7e6fa2d623a5ed36a326c5180e0ce3ab626dbcb9ba22b3
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1cdd4d0a78b63ebc93e4cb3077e3c16b8172293e9f9855fed155322f65bfb7b
3
  size 343242432
runs/Sep05_15-08-04_ef94ed4a09b0/events.out.tfevents.1725552205.ef94ed4a09b0.1777.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:102b9e1e48c0b7b7bd016f507ca8c2aa7ef51f509d3260cb3967f2f558a3885b
3
+ size 405
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f290b1d946e9b069e337eb0bc94373e22bd22f33f3fe787a8ce7ee3c244a1c7f
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea43d0c40b70128791c5baaed640255e34862e78710203f7b4ef2e5df39f9c4d
3
  size 5240