cagrigungor commited on
Commit
3c25684
·
verified ·
1 Parent(s): b85251a

Model save

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imagefolder
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: signet
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.7853930177768259
26
+ - name: F1
27
+ type: f1
28
+ value: 0.8643011917659805
29
+ ---
30
+
31
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
32
+ should probably proofread and complete it, then remove this comment. -->
33
+
34
+ # signet
35
+
36
+ This model is a fine-tuned version of [](https://huggingface.co/) on the imagefolder dataset.
37
+ It achieves the following results on the evaluation set:
38
+ - Loss: 0.4517
39
+ - Accuracy: 0.7854
40
+ - F1: 0.8643
41
+
42
+ ## Model description
43
+
44
+ More information needed
45
+
46
+ ## Intended uses & limitations
47
+
48
+ More information needed
49
+
50
+ ## Training and evaluation data
51
+
52
+ More information needed
53
+
54
+ ## Training procedure
55
+
56
+ ### Training hyperparameters
57
+
58
+ The following hyperparameters were used during training:
59
+ - learning_rate: 0.0002
60
+ - train_batch_size: 128
61
+ - eval_batch_size: 256
62
+ - seed: 42
63
+ - gradient_accumulation_steps: 4
64
+ - total_train_batch_size: 512
65
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
66
+ - lr_scheduler_type: linear
67
+ - lr_scheduler_warmup_steps: 0.05
68
+ - num_epochs: 12
69
+ - mixed_precision_training: Native AMP
70
+ - label_smoothing_factor: 0.05
71
+
72
+ ### Training results
73
+
74
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
75
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
76
+ | No log | 1.0 | 37 | 0.5892 | 0.7383 | 0.8479 |
77
+ | No log | 2.0 | 74 | 0.5829 | 0.7372 | 0.8464 |
78
+ | 2.4270 | 3.0 | 111 | 0.5547 | 0.7419 | 0.8504 |
79
+ | 2.4270 | 4.0 | 148 | 0.5311 | 0.7344 | 0.8415 |
80
+ | 2.4270 | 5.0 | 185 | 0.5291 | 0.7404 | 0.8472 |
81
+ | 2.1988 | 6.0 | 222 | 0.5170 | 0.7432 | 0.8496 |
82
+ | 2.1988 | 7.0 | 259 | 0.4517 | 0.7854 | 0.8643 |
83
+ | 2.1988 | 8.0 | 296 | 0.4865 | 0.7653 | 0.8406 |
84
+ | 1.9616 | 9.0 | 333 | 0.4380 | 0.7875 | 0.8614 |
85
+ | 1.9616 | 10.0 | 370 | 0.4546 | 0.7698 | 0.8367 |
86
+ | 1.7220 | 11.0 | 407 | 0.4355 | 0.7901 | 0.8552 |
87
+ | 1.7220 | 12.0 | 444 | 0.4334 | 0.7963 | 0.8622 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 5.0.0
93
+ - Pytorch 2.9.0+cu128
94
+ - Datasets 4.0.0
95
+ - Tokenizers 0.22.2
best_model/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_fpn": false,
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.3,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "dtype": "float32",
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.3,
15
+ "hidden_size": 512,
16
+ "id2label": {
17
+ "0": "False",
18
+ "1": "True"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 2048,
23
+ "label2id": {
24
+ "False": 0,
25
+ "True": 1
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "layer_scale_init_value": 0.1,
29
+ "model_type": "beit",
30
+ "num_attention_heads": 8,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 8,
33
+ "out_features": [
34
+ "stage8"
35
+ ],
36
+ "out_indices": [
37
+ 8
38
+ ],
39
+ "patch_size": 16,
40
+ "pool_scales": [
41
+ 1,
42
+ 2,
43
+ 3,
44
+ 6
45
+ ],
46
+ "reshape_hidden_states": true,
47
+ "semantic_loss_ignore_index": 255,
48
+ "stage_names": [
49
+ "stem",
50
+ "stage1",
51
+ "stage2",
52
+ "stage3",
53
+ "stage4",
54
+ "stage5",
55
+ "stage6",
56
+ "stage7",
57
+ "stage8"
58
+ ],
59
+ "transformers_version": "5.0.0",
60
+ "use_absolute_position_embeddings": false,
61
+ "use_auxiliary_head": true,
62
+ "use_cache": false,
63
+ "use_mask_token": false,
64
+ "use_mean_pooling": true,
65
+ "use_relative_position_bias": false,
66
+ "use_shared_relative_position_bias": false,
67
+ "vocab_size": 8192
68
+ }
best_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae59d3c7da1a241e7e778f405c51ab89cdbdf56fbafb694aed31e2d0d729e0d5
3
+ size 102494016
best_model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec2ae175c9ccb13b8d32a5b47ccb2ab0545ee7f4f6b5f5acb1bf825dc3d134e4
3
+ size 5265
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_fpn": false,
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.3,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "dtype": "float32",
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.3,
15
+ "hidden_size": 512,
16
+ "id2label": {
17
+ "0": "False",
18
+ "1": "True"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 2048,
23
+ "label2id": {
24
+ "False": 0,
25
+ "True": 1
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "layer_scale_init_value": 0.1,
29
+ "model_type": "beit",
30
+ "num_attention_heads": 8,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 8,
33
+ "out_features": [
34
+ "stage8"
35
+ ],
36
+ "out_indices": [
37
+ 8
38
+ ],
39
+ "patch_size": 16,
40
+ "pool_scales": [
41
+ 1,
42
+ 2,
43
+ 3,
44
+ 6
45
+ ],
46
+ "reshape_hidden_states": true,
47
+ "semantic_loss_ignore_index": 255,
48
+ "stage_names": [
49
+ "stem",
50
+ "stage1",
51
+ "stage2",
52
+ "stage3",
53
+ "stage4",
54
+ "stage5",
55
+ "stage6",
56
+ "stage7",
57
+ "stage8"
58
+ ],
59
+ "transformers_version": "5.0.0",
60
+ "use_absolute_position_embeddings": false,
61
+ "use_auxiliary_head": true,
62
+ "use_cache": false,
63
+ "use_mask_token": false,
64
+ "use_mean_pooling": true,
65
+ "use_relative_position_bias": false,
66
+ "use_shared_relative_position_bias": false,
67
+ "vocab_size": 8192
68
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae59d3c7da1a241e7e778f405c51ab89cdbdf56fbafb694aed31e2d0d729e0d5
3
+ size 102494016
runs/Feb15_07-12-10_995374f01b93/events.out.tfevents.1771139530.995374f01b93.2090.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eeff765a2d0e8de29d1462e0ff38ba7c764953e2789a0dfbb6a6f1b154d949c
3
+ size 4940
runs/Feb15_07-38-27_995374f01b93/events.out.tfevents.1771141107.995374f01b93.2090.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c03fbb4f2cacb8c35e84d4d8ec05703eb6dee483e8c329ad6e4db1ed98d5c66d
3
+ size 10545
runs/Feb15_07-38-27_995374f01b93/events.out.tfevents.1771149789.995374f01b93.2090.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e940e9855f068d122b87df7cee28abaee0957b3b2bc10a64e0b9aafd5798fd2
3
+ size 457
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec2ae175c9ccb13b8d32a5b47ccb2ab0545ee7f4f6b5f5acb1bf825dc3d134e4
3
+ size 5265