yazansh commited on
Commit
97b98bc
·
1 Parent(s): 1d0e5a0

binary-18

Browse files
Files changed (7) hide show
  1. README.md +15 -31
  2. config.json +1 -1
  3. config.toml +5 -5
  4. pytorch_model.bin +2 -2
  5. tokenizer.json +1 -8
  6. tokenizer_config.json +0 -7
  7. training_args.bin +1 -1
README.md CHANGED
@@ -23,13 +23,13 @@ model-index:
23
  metrics:
24
  - name: F1
25
  type: f1
26
- value: 0.6488855020003811
27
  - name: Precision
28
  type: precision
29
- value: 0.530860349127182
30
  - name: Recall
31
  type: recall
32
- value: 0.8343949044585988
33
  ---
34
 
35
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -39,10 +39,10 @@ should probably proofread and complete it, then remove this comment. -->
39
 
40
  This model is a fine-tuned version of [thejosango/nuha-mlm](https://huggingface.co/thejosango/nuha-mlm) on the nuha-dataset dataset.
41
  It achieves the following results on the evaluation set:
42
- - F1: 0.6489
43
- - Loss: 0.6212
44
- - Precision: 0.5309
45
- - Recall: 0.8344
46
  - Support: None
47
 
48
  ## Model description
@@ -62,10 +62,12 @@ More information needed
62
  ### Training hyperparameters
63
 
64
  The following hyperparameters were used during training:
65
- - learning_rate: 5e-05
66
- - train_batch_size: 16
67
  - eval_batch_size: 32
68
  - seed: 42
 
 
69
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
70
  - lr_scheduler_type: constant
71
  - lr_scheduler_warmup_steps: 1000.0
@@ -74,28 +76,10 @@ The following hyperparameters were used during training:
74
 
75
  ### Training results
76
 
77
- | Training Loss | Epoch | Step | F1 | Validation Loss | Precision | Recall | Support |
78
- |:-------------:|:-----:|:-----:|:------:|:---------------:|:---------:|:------:|:-------:|
79
- | 3.0309 | 0.24 | 500 | 0.5091 | 0.8040 | 0.4004 | 0.6987 | None |
80
- | 1.9804 | 0.49 | 1000 | 0.5306 | 0.9799 | 0.3681 | 0.9500 | None |
81
- | 1.7294 | 0.73 | 1500 | 0.5238 | 1.9662 | 0.3589 | 0.9691 | None |
82
- | 1.2761 | 0.98 | 2000 | 0.4732 | 0.6147 | 0.6136 | 0.3851 | None |
83
- | 1.0954 | 1.22 | 2500 | 0.5614 | 0.6456 | 0.5693 | 0.5537 | None |
84
- | 0.9203 | 1.47 | 3000 | 0.5684 | 0.6862 | 0.4105 | 0.9236 | None |
85
- | 0.8422 | 1.71 | 3500 | 0.0 | 0.6237 | 1.0 | 0.0 | None |
86
- | 0.7892 | 1.96 | 4000 | 0.3473 | 0.6111 | 0.7300 | 0.2278 | None |
87
- | 0.7834 | 2.2 | 4500 | 0.4296 | 0.5738 | 0.7014 | 0.3097 | None |
88
- | 0.7446 | 2.45 | 5000 | 0.5189 | 0.6224 | 0.6777 | 0.4204 | None |
89
- | 0.7392 | 2.69 | 5500 | 0.6231 | 0.6188 | 0.6007 | 0.6472 | None |
90
- | 0.7007 | 2.94 | 6000 | 0.6252 | 0.5837 | 0.6153 | 0.6355 | None |
91
- | 0.7127 | 3.18 | 6500 | 0.6041 | 0.6996 | 0.4461 | 0.9353 | None |
92
- | 0.7023 | 3.43 | 7000 | 0.5909 | 0.7383 | 0.4291 | 0.9486 | None |
93
- | 0.6853 | 3.67 | 7500 | 0.5861 | 0.7998 | 0.4239 | 0.9490 | None |
94
- | 0.6708 | 3.92 | 8000 | 0.6406 | 0.7828 | 0.6127 | 0.6712 | None |
95
- | 0.6463 | 4.16 | 8500 | 0.5856 | 0.7472 | 0.4226 | 0.9530 | None |
96
- | 0.6517 | 4.41 | 9000 | 0.6540 | 0.8006 | 0.5701 | 0.7668 | None |
97
- | 0.6325 | 4.65 | 9500 | 0.6432 | 0.7416 | 0.5150 | 0.8564 | None |
98
- | 0.6434 | 4.9 | 10000 | 0.6489 | 0.6212 | 0.5309 | 0.8344 | None |
99
 
100
 
101
  ### Framework versions
 
23
  metrics:
24
  - name: F1
25
  type: f1
26
+ value: 0.5023543990086741
27
  - name: Precision
28
  type: precision
29
+ value: 0.33620832642229226
30
  - name: Recall
31
  type: recall
32
+ value: 0.993140617344439
33
  ---
34
 
35
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
39
 
40
  This model is a fine-tuned version of [thejosango/nuha-mlm](https://huggingface.co/thejosango/nuha-mlm) on the nuha-dataset dataset.
41
  It achieves the following results on the evaluation set:
42
+ - Loss: 7.8973
43
+ - F1: 0.5024
44
+ - Precision: 0.3362
45
+ - Recall: 0.9931
46
  - Support: None
47
 
48
  ## Model description
 
62
  ### Training hyperparameters
63
 
64
  The following hyperparameters were used during training:
65
+ - learning_rate: 3e-05
66
+ - train_batch_size: 32
67
  - eval_batch_size: 32
68
  - seed: 42
69
+ - gradient_accumulation_steps: 4
70
+ - total_train_batch_size: 128
71
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
72
  - lr_scheduler_type: constant
73
  - lr_scheduler_warmup_steps: 1000.0
 
76
 
77
  ### Training results
78
 
79
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Support |
80
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:-------:|
81
+ | 6.0423 | 1.96 | 500 | 5.0312 | 0.5020 | 0.3358 | 0.9946 | None |
82
+ | 4.545 | 3.92 | 1000 | 7.8973 | 0.5024 | 0.3362 | 0.9931 | None |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
 
85
  ### Framework versions
config.json CHANGED
@@ -23,7 +23,7 @@
23
  "max_position_embeddings": 512,
24
  "model_type": "bert",
25
  "num_attention_heads": 12,
26
- "num_hidden_layers": 8,
27
  "pad_token_id": 0,
28
  "position_embedding_type": "absolute",
29
  "problem_type": "single_label_classification",
 
23
  "max_position_embeddings": 512,
24
  "model_type": "bert",
25
  "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
  "pad_token_id": 0,
28
  "position_embedding_type": "absolute",
29
  "problem_type": "single_label_classification",
config.toml CHANGED
@@ -1,5 +1,5 @@
1
  [experiment]
2
- name = "binary-17"
3
  type = "binary"
4
 
5
 
@@ -12,7 +12,7 @@ augment_ratio = 0.0
12
 
13
  [model]
14
  pretrained_model_name_or_path = "thejosango/nuha-mlm"
15
- revision = "1e1d7fecb3f448e0152c39725c43f55969393cfb"
16
  hidden_dropout_prob = 0.5
17
  attention_probs_dropout_prob = 0.5
18
  classifier_dropout = 0.5
@@ -26,10 +26,10 @@ classifier_dropout = 0.5
26
  num_train_epochs = 5
27
  warmup_steps = 1e3
28
  lr_scheduler_type = "constant"
29
- learning_rate = 5e-5
30
- per_device_train_batch_size = 16
31
  per_device_eval_batch_size = 32
32
- gradient_accumulation_steps = 1
33
  weight_decay = 0.01
34
  label_smoothing_factor = 0.1
35
  weighted_loss = false
 
1
  [experiment]
2
+ name = "binary-18"
3
  type = "binary"
4
 
5
 
 
12
 
13
  [model]
14
  pretrained_model_name_or_path = "thejosango/nuha-mlm"
15
+ revision = "984ac09880b24959f6767fdbea8757d2c312df46"
16
  hidden_dropout_prob = 0.5
17
  attention_probs_dropout_prob = 0.5
18
  classifier_dropout = 0.5
 
26
  num_train_epochs = 5
27
  warmup_steps = 1e3
28
  lr_scheduler_type = "constant"
29
+ learning_rate = 3e-5
30
+ per_device_train_batch_size = 32
31
  per_device_eval_batch_size = 32
32
+ gradient_accumulation_steps = 4
33
  weight_decay = 0.01
34
  label_smoothing_factor = 0.1
35
  weighted_loss = false
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f7ab0988aeafc4d1040d62ea16ec7830a483ebf721884a93851f20b164979a3
3
- size 427419953
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f2120e451b3207731f3ea2482404e5e855e15e0cdc2ec9d891e3cbc362bc96c
3
+ size 540847921
tokenizer.json CHANGED
@@ -6,14 +6,7 @@
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
- "padding": {
10
- "strategy": "BatchLongest",
11
- "direction": "Right",
12
- "pad_to_multiple_of": null,
13
- "pad_id": 0,
14
- "pad_type_id": 0,
15
- "pad_token": "[PAD]"
16
- },
17
  "added_tokens": [
18
  {
19
  "id": 0,
 
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
+ "padding": null,
 
 
 
 
 
 
 
10
  "added_tokens": [
11
  {
12
  "id": 0,
tokenizer_config.json CHANGED
@@ -5,24 +5,17 @@
5
  "do_lower_case": false,
6
  "mask_token": "[MASK]",
7
  "max_len": 512,
8
- "max_length": 512,
9
  "model_max_length": 512,
10
  "never_split": [
11
  "[بريد]",
12
  "[مستخدم]",
13
  "[رابط]"
14
  ],
15
- "pad_to_multiple_of": null,
16
  "pad_token": "[PAD]",
17
- "pad_token_type_id": 0,
18
- "padding_side": "right",
19
  "sep_token": "[SEP]",
20
- "stride": 0,
21
  "strip_accents": null,
22
  "tokenize_chinese_chars": true,
23
  "tokenizer_class": "BertTokenizer",
24
- "truncation_side": "right",
25
- "truncation_strategy": "longest_first",
26
  "unk_token": "[UNK]",
27
  "use_fast": true
28
  }
 
5
  "do_lower_case": false,
6
  "mask_token": "[MASK]",
7
  "max_len": 512,
 
8
  "model_max_length": 512,
9
  "never_split": [
10
  "[بريد]",
11
  "[مستخدم]",
12
  "[رابط]"
13
  ],
 
14
  "pad_token": "[PAD]",
 
 
15
  "sep_token": "[SEP]",
 
16
  "strip_accents": null,
17
  "tokenize_chinese_chars": true,
18
  "tokenizer_class": "BertTokenizer",
 
 
19
  "unk_token": "[UNK]",
20
  "use_fast": true
21
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0bbcaae74c9fa5e9d632c695d7ac53efdc5da8d29fd14f36321d8376ec0e5ba
3
  size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ad45f0d683378bbfdda4cdb0210bb80501d2ea5059e9e98d9f3d786101f9476
3
  size 4091