mdeputy commited on
Commit
067311f
·
verified ·
1 Parent(s): 4b60c1e

best_model.pt

Browse files
Files changed (4) hide show
  1. README.md +73 -67
  2. config.json +32 -31
  3. model.safetensors +2 -2
  4. training_args.bin +2 -2
README.md CHANGED
@@ -1,67 +1,73 @@
1
- ---
2
- tags:
3
- - generated_from_trainer
4
- metrics:
5
- - f1
6
- - precision
7
- - recall
8
- - accuracy
9
- model-index:
10
- - name: output
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
- # output
18
-
19
- This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
20
- It achieves the following results on the evaluation set:
21
- - Loss: 1.1644
22
- - F1: 0.4231
23
- - Precision: 0.4615
24
- - Recall: 0.5385
25
- - Accuracy: 0.5385
26
- - Mcc: 0.3143
27
- - Auc: 0.3242
28
-
29
- ## Model description
30
-
31
- More information needed
32
-
33
- ## Intended uses & limitations
34
-
35
- More information needed
36
-
37
- ## Training and evaluation data
38
-
39
- More information needed
40
-
41
- ## Training procedure
42
-
43
- ### Training hyperparameters
44
-
45
- The following hyperparameters were used during training:
46
- - learning_rate: 5e-05
47
- - train_batch_size: 8
48
- - eval_batch_size: 8
49
- - seed: 42
50
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
- - lr_scheduler_type: cosine
52
- - lr_scheduler_warmup_steps: 100
53
- - num_epochs: 1
54
-
55
- ### Training results
56
-
57
- | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy | Mcc | Auc |
58
- |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:--------:|:------:|:------:|
59
- | No log | 1.0 | 12 | 1.1644 | 0.4231 | 0.4615 | 0.5385 | 0.5385 | 0.3143 | 0.3242 |
60
-
61
-
62
- ### Framework versions
63
-
64
- - Transformers 4.41.2
65
- - Pytorch 2.3.1+cu121
66
- - Datasets 2.20.0
67
- - Tokenizers 0.19.1
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: output
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
+ # output
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
+ - Loss: nan
21
+ - Model Preparation Time: 0.0008
22
+ - Accuracy: 0.9944
23
+ - F1: 0.9917
24
+ - Iou: 0.9889
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 8
46
+ - seed: 42
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_steps: 100
50
+ - num_epochs: 10
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Accuracy | F1 | Iou |
55
+ |:-------------:|:-----:|:----:|:---------------:|:----------------------:|:--------:|:------:|:------:|
56
+ | No log | 1.0 | 1 | 0.8221 | 0.0008 | 0.0 | 0.0 | 0.0 |
57
+ | No log | 2.0 | 2 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
58
+ | No log | 3.0 | 3 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
59
+ | No log | 4.0 | 4 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
60
+ | No log | 5.0 | 5 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
61
+ | No log | 6.0 | 6 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
62
+ | No log | 7.0 | 7 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
63
+ | No log | 8.0 | 8 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
64
+ | No log | 9.0 | 9 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
65
+ | No log | 10.0 | 10 | nan | 0.0008 | 0.9944 | 0.9917 | 0.9889 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.46.2
71
+ - Pytorch 2.5.1
72
+ - Datasets 2.21.0
73
+ - Tokenizers 0.20.3
config.json CHANGED
@@ -1,31 +1,32 @@
1
- {
2
- "architectures": [
3
- "AttAlexNetForClassification"
4
- ],
5
- "attention_type": "sdpa",
6
- "classifier_dim": 4096,
7
- "classifier_dropout": 0.1,
8
- "dual_obj": false,
9
- "hidden_act": "silu",
10
- "hidden_size": 64,
11
- "img_size": 1024,
12
- "in_channels": 3,
13
- "intermediate_size": 1024,
14
- "is_causal": false,
15
- "max_position_embeddings": 4096,
16
- "model_type": "att_alexnet",
17
- "moe": false,
18
- "n_filts": 4,
19
- "num_attention_heads": 8,
20
- "num_classes": 3,
21
- "num_experts": 8,
22
- "num_hidden_layers": 6,
23
- "num_layers": 2,
24
- "output_router_logits": true,
25
- "patch_size": 16,
26
- "problem_type": "single_label_classification",
27
- "router_aux_loss_coef": 0.01,
28
- "topk": 2,
29
- "torch_dtype": "float32",
30
- "transformers_version": "4.41.2"
31
- }
 
 
1
+ {
2
+ "architectures": [
3
+ "UNETForSegmentation"
4
+ ],
5
+ "attention_type": "sdpa",
6
+ "dim": 224,
7
+ "dual_obj": false,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 64,
10
+ "img_size": 1024,
11
+ "intermediate_size": 1024,
12
+ "is_causal": false,
13
+ "k": 2,
14
+ "max_position_embeddings": 4096,
15
+ "model_type": "Unet",
16
+ "moe": false,
17
+ "n_filts": 2,
18
+ "num_attention_heads": 8,
19
+ "num_channels": 3,
20
+ "num_classes": 2,
21
+ "num_experts": 8,
22
+ "num_hidden_layers": 6,
23
+ "num_layers": 2,
24
+ "output_router_logits": true,
25
+ "patch_size": 16,
26
+ "problem_type": "single_label_classification",
27
+ "router_aux_loss_coef": 0.01,
28
+ "t": 2,
29
+ "topk": 2,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.46.2"
32
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69a86c90c9910eea42fb1fbd2b369011714441795b4e305982547cdf94e80b62
3
- size 127944324
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5397caf328373626d95ff2e58bfb1a0b8c787f5f45391ba5b64d940e17f5bf8
3
+ size 561992
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5a66d978e8cb98dc136203309cce0bf89e5e123b35245583c7c06dfe7c251d0
3
- size 5112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:039f87c7970bdb77e81486e5c004d4650cc3eeb76b9b5a7eddcedf26d54c7838
3
+ size 5176