corranm commited on
Commit
1f66b9f
·
verified ·
1 Parent(s): 2313368

End of training

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: test_model_88
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # test_model_88
18
+
19
+ 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 corranm/first_vote_100_per_new2 dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.8934
22
+ - F1 Macro: 0.0606
23
+ - F1 Micro: 0.1591
24
+ - F1 Weighted: 0.0846
25
+ - Precision Macro: 0.0421
26
+ - Precision Micro: 0.1591
27
+ - Precision Weighted: 0.0586
28
+ - Recall Macro: 0.1132
29
+ - Recall Micro: 0.1591
30
+ - Recall Weighted: 0.1591
31
+ - Accuracy: 0.1591
32
+
33
+ ## Model description
34
+
35
+ More information needed
36
+
37
+ ## Intended uses & limitations
38
+
39
+ More information needed
40
+
41
+ ## Training and evaluation data
42
+
43
+ More information needed
44
+
45
+ ## Training procedure
46
+
47
+ ### Training hyperparameters
48
+
49
+ The following hyperparameters were used during training:
50
+ - learning_rate: 5e-05
51
+ - train_batch_size: 32
52
+ - eval_batch_size: 32
53
+ - seed: 42
54
+ - gradient_accumulation_steps: 4
55
+ - total_train_batch_size: 128
56
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
57
+ - lr_scheduler_type: linear
58
+ - lr_scheduler_warmup_ratio: 0.1
59
+ - num_epochs: 3
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Micro | F1 Weighted | Precision Macro | Precision Micro | Precision Weighted | Recall Macro | Recall Micro | Recall Weighted | Accuracy |
64
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------:|:---------------:|:---------------:|:------------------:|:------------:|:------------:|:---------------:|:--------:|
65
+ | 1.9682 | 0.8 | 3 | 1.9070 | 0.0599 | 0.2121 | 0.0848 | 0.0661 | 0.2121 | 0.0908 | 0.1486 | 0.2121 | 0.2121 | 0.2121 |
66
+ | 1.8993 | 1.8 | 6 | 1.8860 | 0.0902 | 0.2197 | 0.1243 | 0.0630 | 0.2197 | 0.0867 | 0.1594 | 0.2197 | 0.2197 | 0.2197 |
67
+ | 2.3539 | 2.8 | 9 | 1.8915 | 0.0637 | 0.1591 | 0.0887 | 0.0443 | 0.1591 | 0.0616 | 0.1141 | 0.1591 | 0.1591 | 0.1591 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.48.1
73
+ - Pytorch 2.5.1+cu124
74
+ - Datasets 3.2.0
75
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "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": "-",
13
+ "1": "0",
14
+ "2": "1",
15
+ "3": "2",
16
+ "4": "3",
17
+ "5": "4",
18
+ "6": "5"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "-": "0",
25
+ "0": "1",
26
+ "1": "2",
27
+ "2": "3",
28
+ "3": "4",
29
+ "4": "5",
30
+ "5": "6"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.48.1"
42
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd3cd7b8e144e0436bf3d14cce67ba5c32104db453b530509463535ffb571c83
3
+ size 343239356
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
runs/Jan29_13-55-32_modal/events.out.tfevents.1738158933.modal.2.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:880f4b8240982a90a5dda0693920ce52aae560c40f761822750de84cc82c965e
3
+ size 8766
runs/Jan29_13-55-32_modal/events.out.tfevents.1738158933.modal.2.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0cbbd69cfd4c3d48864e1062ff4a3e89f2a469c8022ae19b8a1143d534c34d2
3
+ size 8766
runs/Jan29_13-55-32_modal/events.out.tfevents.1738159015.modal.2.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2166e548642971fe00679c4ce2c3d2273af9e537ce2c945f39621c1919a4e8a3
3
+ size 906
runs/Jan29_13-55-32_modal/events.out.tfevents.1738159015.modal.2.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e78b8c19fcb40f6af0f54703aa536b593bed9a070c141a83bd84e11188c55588
3
+ size 906
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:984de6a9d3da3da7102e0dbfc44f6ad01de01e45df770859e0009a0a4c8fd644
3
+ size 5368