ArtiSikhwal commited on
Commit
8781393
·
verified ·
1 Parent(s): f71f52e

End of training

Browse files
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: ArtiSikhwal/headlight_11_12_2024_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: headlight_12_12_2024_google_vit-base-patch16-224-in21k
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: test
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.9014772078868953
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
+ # headlight_12_12_2024_google_vit-base-patch16-224-in21k
33
+
34
+ This model is a fine-tuned version of [ArtiSikhwal/headlight_11_12_2024_google_vit-base-patch16-224-in21k](https://huggingface.co/ArtiSikhwal/headlight_11_12_2024_google_vit-base-patch16-224-in21k) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.2587
37
+ - Accuracy: 0.9015
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: 64
58
+ - eval_batch_size: 64
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 8
61
+ - total_train_batch_size: 512
62
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
63
+ - lr_scheduler_type: linear
64
+ - num_epochs: 6
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
70
+ | No log | 0.9995 | 492 | 0.2682 | 0.8973 |
71
+ | 0.1998 | 1.9990 | 984 | 0.2701 | 0.8982 |
72
+ | 0.1988 | 2.9985 | 1476 | 0.2708 | 0.8974 |
73
+ | 0.1976 | 4.0 | 1969 | 0.2609 | 0.9013 |
74
+ | 0.2131 | 4.9995 | 2461 | 0.2584 | 0.9011 |
75
+ | 0.2169 | 5.9970 | 2952 | 0.2587 | 0.9015 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.46.3
81
+ - Pytorch 2.4.0
82
+ - Datasets 3.1.0
83
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ArtiSikhwal/headlight_11_12_2024_google_vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "damage",
13
+ "1": "no-damage"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "damage": 0,
20
+ "no-damage": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.46.3"
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50d20da2ab90491c0e64aa5352683f7068913a1f4e78c24464d9c2f581c5dcb4
3
+ size 343223968
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessorFast",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
runs/Dec12_07-07-16_45aa18c584e9/events.out.tfevents.1733987238.45aa18c584e9.23.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9197afcb3e10d6b106653408b09c3d649d49d92bf4f0e9546d363e1154735b7
3
+ size 5298
runs/Dec12_08-07-25_45aa18c584e9/events.out.tfevents.1733990846.45aa18c584e9.23.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bd24868179a05aa67c8a8c6e0605785b6d88d4528c19e5ad1009c284c27a169
3
+ size 5297
runs/Dec12_08-08-06_45aa18c584e9/events.out.tfevents.1733990886.45aa18c584e9.23.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:400dd9b3633d4cf0626923b0f2ad746f88dc3d817bbf216ab902939b9bcc0f03
3
+ size 8644
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:891035a83e2996fa8b4deabe96fa8fd6db86d59f65e54c461c5f8d58f19d7e4e
3
+ size 5368