aholk commited on
Commit
fbc7aec
·
verified ·
1 Parent(s): c4e45e7

aholk/WindowzUNet-4class-ML

Browse files
Files changed (4) hide show
  1. README.md +72 -74
  2. config.json +24 -24
  3. model.safetensors +1 -1
  4. training_args.bin +2 -2
README.md CHANGED
@@ -1,74 +1,72 @@
1
- ---
2
- library_name: transformers
3
- tags:
4
- - generated_from_trainer
5
- metrics:
6
- - accuracy
7
- - f1
8
- model-index:
9
- - name: windowz_ln_segment_122725
10
- results: []
11
- ---
12
-
13
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
- should probably proofread and complete it, then remove this comment. -->
15
-
16
- # windowz_ln_segment_122725
17
-
18
- This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
19
- It achieves the following results on the evaluation set:
20
- - Model Preparation Time: 0.001
21
- - Accuracy: 0.6570
22
- - F1: 0.0508
23
- - Iou: 0.0268
24
- - Per Class Metrics: {0: {'f1': 0.08939, 'iou': 0.04679, 'accuracy': 0.81772}, 1: {'f1': 0.11395, 'iou': 0.06041, 'accuracy': 0.06043}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.79569}}
25
- - Loss: 3.9330
26
-
27
- ## Model description
28
-
29
- More information needed
30
-
31
- ## Intended uses & limitations
32
-
33
- More information needed
34
-
35
- ## Training and evaluation data
36
-
37
- More information needed
38
-
39
- ## Training procedure
40
-
41
- ### Training hyperparameters
42
-
43
- The following hyperparameters were used during training:
44
- - learning_rate: 5e-05
45
- - train_batch_size: 8
46
- - eval_batch_size: 8
47
- - seed: 42
48
- - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
- - lr_scheduler_type: cosine
50
- - lr_scheduler_warmup_steps: 1000
51
- - num_epochs: 0.02
52
-
53
- ### Training results
54
-
55
- | Training Loss | Epoch | Step | Model Preparation Time | | Class Metrics | Validation Loss |
56
- |:-------------:|:------:|:----:|:----------------------:|:------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------:|
57
- | No log | 0.0020 | 1 | 0.001 | 0.0219 | {0: {'f1': 0.05505, 'iou': 0.0283, 'accuracy': 0.57684}, 1: {'f1': 0.11191, 'iou': 0.05927, 'accuracy': 0.0611}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.7957}} | 3.9437 |
58
- | No log | 0.0040 | 2 | 0.001 | 0.0222 | {0: {'f1': 0.05569, 'iou': 0.02864, 'accuracy': 0.59131}, 1: {'f1': 0.11366, 'iou': 0.06026, 'accuracy': 0.06054}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.7957}} | 3.9421 |
59
- | No log | 0.0060 | 3 | 0.001 | 0.0232 | {0: {'f1': 0.06283, 'iou': 0.03243, 'accuracy': 0.65593}, 1: {'f1': 0.11389, 'iou': 0.06038, 'accuracy': 0.06048}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.7957}} | 3.9378 |
60
- | No log | 0.0080 | 4 | 0.001 | 0.0265 | {0: {'f1': 0.0871, 'iou': 0.04553, 'accuracy': 0.80602}, 1: {'f1': 0.11395, 'iou': 0.06042, 'accuracy': 0.06042}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.7957}} | 3.9341 |
61
- | No log | 0.0100 | 5 | 0.001 | 0.0268 | {0: {'f1': 0.08914, 'iou': 0.04665, 'accuracy': 0.81853}, 1: {'f1': 0.11395, 'iou': 0.06042, 'accuracy': 0.06042}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.7957}} | 3.9332 |
62
- | No log | 0.0120 | 6 | 0.001 | 0.0267 | {0: {'f1': 0.08859, 'iou': 0.04635, 'accuracy': 0.81259}, 1: {'f1': 0.11395, 'iou': 0.06042, 'accuracy': 0.06042}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.7957}} | 3.9332 |
63
- | No log | 0.0140 | 7 | 0.001 | 0.0268 | {0: {'f1': 0.08939, 'iou': 0.04679, 'accuracy': 0.81772}, 1: {'f1': 0.11395, 'iou': 0.06041, 'accuracy': 0.06043}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.79569}} | 3.9330 |
64
- | No log | 0.0160 | 8 | 0.001 | 0.0274 | {0: {'f1': 0.09374, 'iou': 0.04918, 'accuracy': 0.84499}, 1: {'f1': 0.11395, 'iou': 0.06042, 'accuracy': 0.06043}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.79569}} | 3.9331 |
65
- | No log | 0.0180 | 9 | 0.001 | 0.0271 | {0: {'f1': 0.0919, 'iou': 0.04816, 'accuracy': 0.83442}, 1: {'f1': 0.11393, 'iou': 0.06041, 'accuracy': 0.06045}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 1e-05, 'iou': 0.0, 'accuracy': 0.79568}} | 3.9335 |
66
- | No log | 0.0200 | 10 | 0.001 | 0.0270 | {0: {'f1': 0.09112, 'iou': 0.04773, 'accuracy': 0.82726}, 1: {'f1': 0.11386, 'iou': 0.06037, 'accuracy': 0.06053}, 2: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.95432}, 3: {'f1': 2e-05, 'iou': 1e-05, 'accuracy': 0.79564}} | 3.9339 |
67
-
68
-
69
- ### Framework versions
70
-
71
- - Transformers 4.47.1
72
- - Pytorch 2.5.1+cu124
73
- - Datasets 2.21.0
74
- - Tokenizers 0.21.4
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: windowz_ln_segment_122725
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # windowz_ln_segment_122725
17
+
18
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Model Preparation Time: 0.0016
21
+ - Accuracy: 0.5423
22
+ - F1: 0.1626
23
+ - Iou: 0.0940
24
+ - Per Class Metrics: {0: {'f1': 0.22376, 'iou': 0.12597, 'accuracy': 0.97977}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08736, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}}
25
+ - Loss: 4.0417
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_steps: 1000
51
+ - num_epochs: 0.02
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Model Preparation Time | | Class Metrics | Validation Loss |
56
+ |:-------------:|:------:|:----:|:----------------------:|:------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------:|
57
+ | No log | 0.0020 | 1 | 0.0016 | 0.0704 | {0: {'f1': 0.05871, 'iou': 0.03024, 'accuracy': 0.60575}, 1: {'f1': 0.00033, 'iou': 0.00016, 'accuracy': 0.93957}, 2: {'f1': 0.08581, 'iou': 0.04483, 'accuracy': 0.09702}, 3: {'f1': 0.3423, 'iou': 0.20649, 'accuracy': 0.21595}} | 4.0518 |
58
+ | No log | 0.0040 | 2 | 0.0016 | 0.0706 | {0: {'f1': 0.05996, 'iou': 0.03091, 'accuracy': 0.61825}, 1: {'f1': 5e-05, 'iou': 2e-05, 'accuracy': 0.93958}, 2: {'f1': 0.0864, 'iou': 0.04515, 'accuracy': 0.09174}, 3: {'f1': 0.34182, 'iou': 0.20614, 'accuracy': 0.21372}} | 4.0489 |
59
+ | No log | 0.0060 | 3 | 0.0016 | 0.0909 | {0: {'f1': 0.20415, 'iou': 0.11368, 'accuracy': 0.9479}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08736, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}} | 4.0433 |
60
+ | No log | 0.0080 | 4 | 0.0016 | 0.0936 | {0: {'f1': 0.22142, 'iou': 0.12449, 'accuracy': 0.97471}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08736, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}} | 4.0420 |
61
+ | No log | 0.0100 | 5 | 0.0016 | 0.0940 | {0: {'f1': 0.22376, 'iou': 0.12597, 'accuracy': 0.97977}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08736, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}} | 4.0417 |
62
+ | No log | 0.0120 | 6 | 0.0016 | 0.0965 | {0: {'f1': 0.23961, 'iou': 0.13611, 'accuracy': 0.9772}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08736, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}} | 4.0431 |
63
+ | No log | 0.0140 | 7 | 0.0016 | 0.0968 | {0: {'f1': 0.24112, 'iou': 0.13708, 'accuracy': 0.9754}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08736, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}} | 4.0472 |
64
+ | No log | 0.0160 | 8 | 0.0016 | 0.096 | {0: {'f1': 0.23636, 'iou': 0.13402, 'accuracy': 0.9745}, 1: {'f1': 0.0, 'iou': 0.0, 'accuracy': 0.93958}, 2: {'f1': 0.08737, 'iou': 0.04568, 'accuracy': 0.04568}, 3: {'f1': 0.33929, 'iou': 0.2043, 'accuracy': 0.2043}} | 4.0510 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.47.1
70
+ - Pytorch 2.9.1+cpu
71
+ - Datasets 4.5.0
72
+ - Tokenizers 0.21.4
 
 
config.json CHANGED
@@ -1,24 +1,24 @@
1
- {
2
- "architectures": [
3
- "UNETForSegmentation"
4
- ],
5
- "dim": 224,
6
- "hidden_act": "gelu",
7
- "hidden_size": 256,
8
- "img_size": 128,
9
- "intermediate_size": 1024,
10
- "is_causal": false,
11
- "k": 2,
12
- "model_type": "Unet",
13
- "n_filts": 4,
14
- "num_attention_heads": 8,
15
- "num_channels": 3,
16
- "num_classes": 4,
17
- "num_hidden_layers": 6,
18
- "num_layers": 2,
19
- "patch_size": 16,
20
- "problem_type": "multi_label_classification",
21
- "t": 2,
22
- "torch_dtype": "float32",
23
- "transformers_version": "4.47.1"
24
- }
 
1
+ {
2
+ "architectures": [
3
+ "UNETForSegmentation"
4
+ ],
5
+ "dim": 224,
6
+ "hidden_act": "gelu",
7
+ "hidden_size": 256,
8
+ "img_size": 128,
9
+ "intermediate_size": 1024,
10
+ "is_causal": false,
11
+ "k": 2,
12
+ "model_type": "Unet",
13
+ "n_filts": 4,
14
+ "num_attention_heads": 8,
15
+ "num_channels": 3,
16
+ "num_classes": 4,
17
+ "num_hidden_layers": 6,
18
+ "num_layers": 2,
19
+ "patch_size": 16,
20
+ "problem_type": "multi_label_classification",
21
+ "t": 2,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.47.1"
24
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:10b9cea3a6f9f15865de419c29676f44d7368256123eeb2628bcc0fa452e1506
3
  size 2188760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba1a9f8265c83f9e94f5163e23d8f5cf40a92b3678adfd13cea23d1f91b71ea9
3
  size 2188760
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d90bbea7ee79885822d862049fb6852d58802dbf846073f3de59a2ff2c6b50dd
3
- size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4987d12eefd0c03a9a5f62c99319331e949edeb363860b92b838e901e2b6545
3
+ size 5777