v7 candidate: L-2_H-256_A-4, maxlen=256, F1=0.9374, F2=0.9449
Browse files- config.json +5 -5
- experiment_config.json +32 -33
- model.safetensors +2 -2
- threshold.json +4 -4
- training_args.bin +2 -2
config.json
CHANGED
|
@@ -3,16 +3,16 @@
|
|
| 3 |
"BertForSequenceClassification"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
-
"classifier_dropout": 0.
|
| 7 |
"hidden_act": "gelu",
|
| 8 |
-
"hidden_dropout_prob": 0.
|
| 9 |
-
"hidden_size":
|
| 10 |
"id2label": {
|
| 11 |
"0": "NOT-ACQUISITION",
|
| 12 |
"1": "ACQUISITION"
|
| 13 |
},
|
| 14 |
"initializer_range": 0.02,
|
| 15 |
-
"intermediate_size":
|
| 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":
|
| 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-
|
| 3 |
-
"best_optuna_trial":
|
| 4 |
-
"optuna_f1_macro": 0.
|
| 5 |
"hyperparams": {
|
| 6 |
-
"model": "google/bert_uncased_L-2_H-
|
| 7 |
-
"lr":
|
| 8 |
"batch_size": 8,
|
| 9 |
-
"scheduler": "
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"weight_decay": 0.3493777625787474,
|
| 13 |
"num_epochs": 15,
|
| 14 |
-
"classifier_dropout": 0.
|
| 15 |
-
"label_smoothing": 0.
|
| 16 |
"use_fgm": true,
|
| 17 |
-
"fgm_epsilon": 0.
|
| 18 |
},
|
| 19 |
"candidates": [
|
| 20 |
{
|
| 21 |
-
"trial":
|
| 22 |
-
"model": "google/bert_uncased_L-2_H-
|
| 23 |
-
"optuna_f1": 0.
|
| 24 |
-
"test_f1_macro": 0.
|
| 25 |
},
|
| 26 |
{
|
| 27 |
-
"trial":
|
| 28 |
-
"model": "google/bert_uncased_L-2_H-
|
| 29 |
-
"optuna_f1": 0.
|
| 30 |
-
"test_f1_macro": 0.
|
| 31 |
},
|
| 32 |
{
|
| 33 |
-
"trial":
|
| 34 |
-
"model": "google/bert_uncased_L-2_H-
|
| 35 |
-
"optuna_f1": 0.
|
| 36 |
-
"test_f1_macro": 0.
|
| 37 |
}
|
| 38 |
],
|
| 39 |
-
"final_test_f1_macro": 0.
|
| 40 |
-
"cpu_inference_ms":
|
| 41 |
"threshold": {
|
| 42 |
-
"optimal_threshold": 0.
|
| 43 |
-
"f2_score": 0.
|
| 44 |
-
"precision": 0.
|
| 45 |
-
"recall": 0.
|
| 46 |
},
|
| 47 |
"training_tricks": {
|
| 48 |
"loss_type": "ce_weighted",
|
| 49 |
-
"label_smoothing": 0.
|
| 50 |
"fgm": true,
|
| 51 |
-
"fgm_epsilon": 0.
|
| 52 |
-
"classifier_dropout": 0.
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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.
|
| 3 |
-
"f2_score": 0.
|
| 4 |
-
"precision": 0.
|
| 5 |
-
"recall": 0.
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba7f07d6beb1ce62e373394cd7a5b4cf265ebe261621c8aa70ce9e081bcfa5bc
|
| 3 |
+
size 5368
|