ZafarLocAI commited on
Commit
c353b17
·
verified ·
1 Parent(s): f32d5c8

Model save

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/convnextv2-large-22k-224
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: mar_20_class_split_without_class_weights
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
+ # mar_20_class_split_without_class_weights
18
+
19
+ This model is a fine-tuned version of [facebook/convnextv2-large-22k-224](https://huggingface.co/facebook/convnextv2-large-22k-224) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0577
22
+ - Accuracy: 0.9804
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 32
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 128
47
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 0.1
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 0.3077 | 1.0 | 278 | 0.0853 | 0.9729 |
57
+ | 0.1899 | 2.0 | 556 | 0.0618 | 0.9804 |
58
+ | 0.1152 | 3.0 | 834 | 0.0577 | 0.9804 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 5.3.0
64
+ - Pytorch 2.10.0+cu128
65
+ - Datasets 4.6.1
66
+ - Tokenizers 0.22.2
best/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ConvNextV2ForImageClassification"
4
+ ],
5
+ "depths": [
6
+ 3,
7
+ 3,
8
+ 27,
9
+ 3
10
+ ],
11
+ "drop_path_rate": 0.0,
12
+ "dtype": "float32",
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 192,
16
+ 384,
17
+ 768,
18
+ 1536
19
+ ],
20
+ "id2label": {
21
+ "0": "A1",
22
+ "1": "A10",
23
+ "2": "A11",
24
+ "3": "A12",
25
+ "4": "A13",
26
+ "5": "A14",
27
+ "6": "A15",
28
+ "7": "A16",
29
+ "8": "A17",
30
+ "9": "A18",
31
+ "10": "A19",
32
+ "11": "A2",
33
+ "12": "A20",
34
+ "13": "A3",
35
+ "14": "A4",
36
+ "15": "A5",
37
+ "16": "A6",
38
+ "17": "A7",
39
+ "18": "A8",
40
+ "19": "A9"
41
+ },
42
+ "image_size": 224,
43
+ "initializer_range": 0.02,
44
+ "label2id": {
45
+ "A1": 0,
46
+ "A10": 1,
47
+ "A11": 2,
48
+ "A12": 3,
49
+ "A13": 4,
50
+ "A14": 5,
51
+ "A15": 6,
52
+ "A16": 7,
53
+ "A17": 8,
54
+ "A18": 9,
55
+ "A19": 10,
56
+ "A2": 11,
57
+ "A20": 12,
58
+ "A3": 13,
59
+ "A4": 14,
60
+ "A5": 15,
61
+ "A6": 16,
62
+ "A7": 17,
63
+ "A8": 18,
64
+ "A9": 19
65
+ },
66
+ "layer_norm_eps": 1e-12,
67
+ "model_type": "convnextv2",
68
+ "num_channels": 3,
69
+ "num_stages": 4,
70
+ "out_features": [
71
+ "stage4"
72
+ ],
73
+ "out_indices": [
74
+ 4
75
+ ],
76
+ "patch_size": 4,
77
+ "stage_names": [
78
+ "stem",
79
+ "stage1",
80
+ "stage2",
81
+ "stage3",
82
+ "stage4"
83
+ ],
84
+ "transformers_version": "5.3.0",
85
+ "use_cache": false
86
+ }
best/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f657b0cc0ff4f1eaf5e73f811613d06799cea5d63cb834254ad3e2ae19f1590
3
+ size 785848584
best/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85e7cb3ab892bb9451c872a79842090f6f8b714f2a6d4139440624e0eff4bf7e
3
+ size 5265
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:370cd6638fbbd8a553532c7e5a98c5b4c04e3d93d8f77d868529b9d523e9949f
3
  size 785848584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f657b0cc0ff4f1eaf5e73f811613d06799cea5d63cb834254ad3e2ae19f1590
3
  size 785848584