BeckerAnas commited on
Commit
a13369f
·
verified ·
1 Parent(s): 4adec2d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/convnext-tiny-224
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: dark-pond-236
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # dark-pond-236
21
+
22
+ This model is a fine-tuned version of [facebook/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1304
25
+ - Accuracy: 0.9611
26
+ - Precision: 0.9611
27
+ - Recall: 0.9611
28
+ - F1: 0.9611
29
+ - Roc Auc: 0.9990
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 0.0001
49
+ - train_batch_size: 256
50
+ - eval_batch_size: 256
51
+ - seed: 42
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: cosine
54
+ - lr_scheduler_warmup_ratio: 0.1
55
+ - num_epochs: 5
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc |
60
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
61
+ | 1.4605 | 1.0 | 161 | 0.4303 | 0.8863 | 0.8910 | 0.8863 | 0.8860 | 0.9934 |
62
+ | 0.6333 | 2.0 | 322 | 0.2051 | 0.9418 | 0.9423 | 0.9418 | 0.9418 | 0.9980 |
63
+ | 0.5099 | 3.0 | 483 | 0.1538 | 0.9539 | 0.9540 | 0.9539 | 0.9538 | 0.9987 |
64
+ | 0.4501 | 4.0 | 644 | 0.1353 | 0.9606 | 0.9605 | 0.9606 | 0.9605 | 0.9989 |
65
+ | 0.4281 | 5.0 | 805 | 0.1304 | 0.9611 | 0.9611 | 0.9611 | 0.9611 | 0.9990 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.52.3
71
+ - Pytorch 2.7.0+cpu
72
+ - Datasets 3.6.0
73
+ - Tokenizers 0.21.0
best_model/config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ConvNextForImageClassification"
4
+ ],
5
+ "depths": [
6
+ 3,
7
+ 3,
8
+ 9,
9
+ 3
10
+ ],
11
+ "drop_path_rate": 0.0,
12
+ "hidden_act": "gelu",
13
+ "hidden_sizes": [
14
+ 96,
15
+ 192,
16
+ 384,
17
+ 768
18
+ ],
19
+ "id2label": {
20
+ "0": "airplane",
21
+ "1": "automobile",
22
+ "2": "bird",
23
+ "3": "cat",
24
+ "4": "deer",
25
+ "5": "dog",
26
+ "6": "frog",
27
+ "7": "horse",
28
+ "8": "ship",
29
+ "9": "truck"
30
+ },
31
+ "image_size": 224,
32
+ "initializer_range": 0.02,
33
+ "label2id": {
34
+ "airplane": 0,
35
+ "automobile": 1,
36
+ "bird": 2,
37
+ "cat": 3,
38
+ "deer": 4,
39
+ "dog": 5,
40
+ "frog": 6,
41
+ "horse": 7,
42
+ "ship": 8,
43
+ "truck": 9
44
+ },
45
+ "layer_norm_eps": 1e-12,
46
+ "layer_scale_init_value": 1e-06,
47
+ "model_type": "convnext",
48
+ "num_channels": 3,
49
+ "num_stages": 4,
50
+ "out_features": [
51
+ "stage4"
52
+ ],
53
+ "out_indices": [
54
+ 4
55
+ ],
56
+ "patch_size": 4,
57
+ "stage_names": [
58
+ "stem",
59
+ "stage1",
60
+ "stage2",
61
+ "stage3",
62
+ "stage4"
63
+ ],
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.52.3"
66
+ }
best_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30cb28afbc35c723317bd45c75fe2d214ea01730a14ffa59097d5723915162fc
3
+ size 111332552
best_model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1457145272726fc109b2f4e36298d53c4b6bd9cab093b0aea3f37d08e338c9e0
3
+ size 5713