alexge233 commited on
Commit
912f993
·
verified ·
1 Parent(s): 14c50cf

v7 candidate: L-2_H-256_A-4, maxlen=256, F1=0.9374, F2=0.9449

Browse files
config.json CHANGED
@@ -3,16 +3,16 @@
3
  "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
- "classifier_dropout": 0.27984890550475106,
7
  "hidden_act": "gelu",
8
- "hidden_dropout_prob": 0.27984890550475106,
9
- "hidden_size": 128,
10
  "id2label": {
11
  "0": "NOT-ACQUISITION",
12
  "1": "ACQUISITION"
13
  },
14
  "initializer_range": 0.02,
15
- "intermediate_size": 512,
16
  "label2id": {
17
  "ACQUISITION": 1,
18
  "NOT-ACQUISITION": 0
@@ -20,7 +20,7 @@
20
  "layer_norm_eps": 1e-12,
21
  "max_position_embeddings": 512,
22
  "model_type": "bert",
23
- "num_attention_heads": 2,
24
  "num_hidden_layers": 2,
25
  "pad_token_id": 0,
26
  "position_embedding_type": "absolute",
 
3
  "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": 0.1704209352408175,
7
  "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1704209352408175,
9
+ "hidden_size": 256,
10
  "id2label": {
11
  "0": "NOT-ACQUISITION",
12
  "1": "ACQUISITION"
13
  },
14
  "initializer_range": 0.02,
15
+ "intermediate_size": 1024,
16
  "label2id": {
17
  "ACQUISITION": 1,
18
  "NOT-ACQUISITION": 0
 
20
  "layer_norm_eps": 1e-12,
21
  "max_position_embeddings": 512,
22
  "model_type": "bert",
23
+ "num_attention_heads": 4,
24
  "num_hidden_layers": 2,
25
  "pad_token_id": 0,
26
  "position_embedding_type": "absolute",
experiment_config.json CHANGED
@@ -1,55 +1,54 @@
1
  {
2
- "model": "google/bert_uncased_L-2_H-128_A-2",
3
- "best_optuna_trial": 31,
4
- "optuna_f1_macro": 0.9286069654731687,
5
  "hyperparams": {
6
- "model": "google/bert_uncased_L-2_H-128_A-2",
7
- "lr": 8.418091370612762e-05,
8
  "batch_size": 8,
9
- "scheduler": "cosine_with_min_lr",
10
- "min_lr_rate": 0.0011372543520156006,
11
- "warmup_ratio": 0.1528823326448369,
12
- "weight_decay": 0.3493777625787474,
13
  "num_epochs": 15,
14
- "classifier_dropout": 0.27984890550475106,
15
- "label_smoothing": 0.028158712549803788,
16
  "use_fgm": true,
17
- "fgm_epsilon": 0.5161595989448058
18
  },
19
  "candidates": [
20
  {
21
- "trial": 64,
22
- "model": "google/bert_uncased_L-2_H-128_A-2",
23
- "optuna_f1": 0.9305,
24
- "test_f1_macro": 0.9189
25
  },
26
  {
27
- "trial": 31,
28
- "model": "google/bert_uncased_L-2_H-128_A-2",
29
- "optuna_f1": 0.9286,
30
- "test_f1_macro": 0.9249
31
  },
32
  {
33
- "trial": 29,
34
- "model": "google/bert_uncased_L-2_H-128_A-2",
35
- "optuna_f1": 0.9284,
36
- "test_f1_macro": 0.9215
37
  }
38
  ],
39
- "final_test_f1_macro": 0.9249,
40
- "cpu_inference_ms": 10.83,
41
  "threshold": {
42
- "optimal_threshold": 0.4,
43
- "f2_score": 0.9252,
44
- "precision": 0.8103,
45
- "recall": 0.9592
46
  },
47
  "training_tricks": {
48
  "loss_type": "ce_weighted",
49
- "label_smoothing": 0.028158712549803788,
50
  "fgm": true,
51
- "fgm_epsilon": 0.5161595989448058,
52
- "classifier_dropout": 0.27984890550475106,
53
  "stratified_batch_sampling": true,
54
  "token_masking": 0.2,
55
  "token_swapping": 0.15
 
1
  {
2
+ "model": "google/bert_uncased_L-2_H-256_A-4",
3
+ "best_optuna_trial": 39,
4
+ "optuna_f1_macro": 0.9358712965756903,
5
  "hyperparams": {
6
+ "model": "google/bert_uncased_L-2_H-256_A-4",
7
+ "lr": 4.7785196153634585e-05,
8
  "batch_size": 8,
9
+ "scheduler": "cosine",
10
+ "warmup_ratio": 0.1268629742173647,
11
+ "weight_decay": 0.2761538415856171,
 
12
  "num_epochs": 15,
13
+ "classifier_dropout": 0.1704209352408175,
14
+ "label_smoothing": 0.008655451448503527,
15
  "use_fgm": true,
16
+ "fgm_epsilon": 0.9684709844447323
17
  },
18
  "candidates": [
19
  {
20
+ "trial": 60,
21
+ "model": "google/bert_uncased_L-2_H-256_A-4",
22
+ "optuna_f1": 0.9362,
23
+ "test_f1_macro": 0.9345
24
  },
25
  {
26
+ "trial": 39,
27
+ "model": "google/bert_uncased_L-2_H-256_A-4",
28
+ "optuna_f1": 0.9359,
29
+ "test_f1_macro": 0.9374
30
  },
31
  {
32
+ "trial": 38,
33
+ "model": "google/bert_uncased_L-2_H-256_A-4",
34
+ "optuna_f1": 0.9354,
35
+ "test_f1_macro": 0.8928
36
  }
37
  ],
38
+ "final_test_f1_macro": 0.9374,
39
+ "cpu_inference_ms": 17.28,
40
  "threshold": {
41
+ "optimal_threshold": 0.2,
42
+ "f2_score": 0.9449,
43
+ "precision": 0.8276,
44
+ "recall": 0.9796
45
  },
46
  "training_tricks": {
47
  "loss_type": "ce_weighted",
48
+ "label_smoothing": 0.008655451448503527,
49
  "fgm": true,
50
+ "fgm_epsilon": 0.9684709844447323,
51
+ "classifier_dropout": 0.1704209352408175,
52
  "stratified_batch_sampling": true,
53
  "token_masking": 0.2,
54
  "token_swapping": 0.15
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c2f42cbaec297c1b96b6eacc31727a623a586203ecffb5a46b72fa7e1fb58e3
3
- size 8776924
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9921245105f9368c14d63ff23e9cf6ca69ba09627e451a22929d45378286f42a
3
+ size 19187756
threshold.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "optimal_threshold": 0.4,
3
- "f2_score": 0.9252,
4
- "precision": 0.8103,
5
- "recall": 0.9592
6
  }
 
1
  {
2
+ "optimal_threshold": 0.2,
3
+ "f2_score": 0.9449,
4
+ "precision": 0.8276,
5
+ "recall": 0.9796
6
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cea37f99a51a2a7a543f321f1cac4dd8addead4f37856c268e0cce0403992e6c
3
- size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba7f07d6beb1ce62e373394cd7a5b4cf265ebe261621c8aa70ce9e081bcfa5bc
3
+ size 5368