Training in progress, epoch 2
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +9 -9
- model.safetensors +1 -1
- run-0/checkpoint-12445/config.json +44 -0
- run-0/checkpoint-12445/model.safetensors +3 -0
- run-0/checkpoint-12445/rng_state.pth +3 -0
- run-0/checkpoint-12445/scheduler.pt +3 -0
- run-0/checkpoint-12445/special_tokens_map.json +7 -0
- run-0/checkpoint-12445/tokenizer.json +0 -0
- run-0/checkpoint-12445/tokenizer_config.json +55 -0
- run-0/checkpoint-12445/trainer_state.json +254 -0
- run-0/checkpoint-12445/training_args.bin +3 -0
- run-0/checkpoint-12445/vocab.txt +0 -0
- run-0/checkpoint-2489/config.json +44 -0
- run-0/checkpoint-2489/model.safetensors +3 -0
- run-0/checkpoint-2489/optimizer.pt +3 -0
- run-0/checkpoint-2489/rng_state.pth +3 -0
- run-0/checkpoint-2489/scheduler.pt +3 -0
- run-0/checkpoint-2489/special_tokens_map.json +7 -0
- run-0/checkpoint-2489/tokenizer.json +0 -0
- run-0/checkpoint-2489/tokenizer_config.json +55 -0
- run-0/checkpoint-2489/trainer_state.json +78 -0
- run-0/checkpoint-2489/training_args.bin +3 -0
- run-0/checkpoint-2489/vocab.txt +0 -0
- run-0/checkpoint-312/config.json +44 -0
- run-0/checkpoint-312/model.safetensors +3 -0
- run-0/checkpoint-312/optimizer.pt +3 -0
- run-0/checkpoint-312/rng_state.pth +3 -0
- run-0/checkpoint-312/scheduler.pt +3 -0
- run-0/checkpoint-312/special_tokens_map.json +7 -0
- run-0/checkpoint-312/tokenizer.json +0 -0
- run-0/checkpoint-312/tokenizer_config.json +55 -0
- run-0/checkpoint-312/trainer_state.json +50 -0
- run-0/checkpoint-312/training_args.bin +3 -0
- run-0/checkpoint-312/vocab.txt +0 -0
- run-0/checkpoint-4978/config.json +44 -0
- run-0/checkpoint-4978/model.safetensors +3 -0
- run-0/checkpoint-4978/optimizer.pt +3 -0
- run-0/checkpoint-4978/rng_state.pth +3 -0
- run-0/checkpoint-4978/scheduler.pt +3 -0
- run-0/checkpoint-4978/special_tokens_map.json +7 -0
- run-0/checkpoint-4978/tokenizer.json +0 -0
- run-0/checkpoint-4978/tokenizer_config.json +55 -0
- run-0/checkpoint-4978/trainer_state.json +125 -0
- run-0/checkpoint-4978/training_args.bin +3 -0
- run-0/checkpoint-4978/vocab.txt +0 -0
- run-0/checkpoint-7467/config.json +44 -0
- run-0/checkpoint-7467/rng_state.pth +3 -0
- run-0/checkpoint-7467/scheduler.pt +3 -0
- run-0/checkpoint-7467/special_tokens_map.json +7 -0
- run-0/checkpoint-7467/tokenizer.json +0 -0
README.md
CHANGED
@@ -20,11 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
20 |
|
21 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.
|
24 |
-
- Precision: 0.
|
25 |
- Recall: 0.8979
|
26 |
-
- F1: 0.
|
27 |
-
- Accuracy: 0.
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -55,11 +55,11 @@ The following hyperparameters were used during training:
|
|
55 |
|
56 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
|:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
|
64 |
|
65 |
### Framework versions
|
|
|
20 |
|
21 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0913
|
24 |
+
- Precision: 0.8712
|
25 |
- Recall: 0.8979
|
26 |
+
- F1: 0.8844
|
27 |
+
- Accuracy: 0.9850
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
55 |
|
56 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
|:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| 0.0612 | 1.0 | 2489 | 0.0625 | 0.8264 | 0.8552 | 0.8405 | 0.9816 |
|
59 |
+
| 0.0351 | 2.0 | 4978 | 0.0643 | 0.8474 | 0.8716 | 0.8594 | 0.9831 |
|
60 |
+
| 0.0189 | 3.0 | 7467 | 0.0651 | 0.8585 | 0.8995 | 0.8785 | 0.9843 |
|
61 |
+
| 0.0105 | 4.0 | 9956 | 0.0811 | 0.8690 | 0.8943 | 0.8815 | 0.9847 |
|
62 |
+
| 0.0047 | 5.0 | 12445 | 0.0913 | 0.8712 | 0.8979 | 0.8844 | 0.9850 |
|
63 |
|
64 |
|
65 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 430923588
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:faabf245ccab7a385ae458fecf61bb615a5a8f7ee0384d02a7d08ac8d63e6cfa
|
3 |
size 430923588
|
run-0/checkpoint-12445/config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Disease",
|
15 |
+
"2": "I-Disease",
|
16 |
+
"3": "B-Chemical",
|
17 |
+
"4": "I-Chemical",
|
18 |
+
"5": "B-Gene",
|
19 |
+
"6": "I-Gene"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"B-Chemical": 3,
|
25 |
+
"B-Disease": 1,
|
26 |
+
"B-Gene": 5,
|
27 |
+
"I-Chemical": 4,
|
28 |
+
"I-Disease": 2,
|
29 |
+
"I-Gene": 6,
|
30 |
+
"O": 0
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.42.4",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 28996
|
44 |
+
}
|
run-0/checkpoint-12445/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:274bc7c738ad86b1a7e48210f2603b8100879e1eae209acb392a86012cc88698
|
3 |
+
size 121874640
|
run-0/checkpoint-12445/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:994e6fbc76aea7272a09804c4856c40666e48ebab71a37b832609b9c68b0955e
|
3 |
+
size 14308
|
run-0/checkpoint-12445/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d180bb96258e20ad72d1898bf883191432f703339712eaf41d37423345e690b
|
3 |
+
size 1064
|
run-0/checkpoint-12445/special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
run-0/checkpoint-12445/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-12445/tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
run-0/checkpoint-12445/trainer_state.json
ADDED
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 12445,
|
7 |
+
"is_hyper_param_search": true,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.2008838891120932,
|
13 |
+
"grad_norm": 2.296739339828491,
|
14 |
+
"learning_rate": 1.0356804114498648e-06,
|
15 |
+
"loss": 0.5028,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.4017677782241864,
|
20 |
+
"grad_norm": 2.885403871536255,
|
21 |
+
"learning_rate": 9.9232836408905e-07,
|
22 |
+
"loss": 0.1797,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.6026516673362796,
|
27 |
+
"grad_norm": 4.714044570922852,
|
28 |
+
"learning_rate": 9.489763167282352e-07,
|
29 |
+
"loss": 0.1448,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.8035355564483728,
|
34 |
+
"grad_norm": 3.8532094955444336,
|
35 |
+
"learning_rate": 9.056242693674206e-07,
|
36 |
+
"loss": 0.1199,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.0,
|
41 |
+
"eval_accuracy": 0.9636836795859589,
|
42 |
+
"eval_f1": 0.6468026587210636,
|
43 |
+
"eval_loss": 0.10681386291980743,
|
44 |
+
"eval_precision": 0.5823359471729261,
|
45 |
+
"eval_recall": 0.727319587628866,
|
46 |
+
"eval_runtime": 20.4746,
|
47 |
+
"eval_samples_per_second": 208.356,
|
48 |
+
"eval_steps_per_second": 26.081,
|
49 |
+
"step": 2489
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 1.004419445560466,
|
53 |
+
"grad_norm": 1.4627267122268677,
|
54 |
+
"learning_rate": 8.622722220066057e-07,
|
55 |
+
"loss": 0.1126,
|
56 |
+
"step": 2500
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.2053033346725592,
|
60 |
+
"grad_norm": 2.071267604827881,
|
61 |
+
"learning_rate": 8.189201746457909e-07,
|
62 |
+
"loss": 0.1053,
|
63 |
+
"step": 3000
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 1.4061872237846524,
|
67 |
+
"grad_norm": 6.656711101531982,
|
68 |
+
"learning_rate": 7.755681272849762e-07,
|
69 |
+
"loss": 0.0984,
|
70 |
+
"step": 3500
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 1.6070711128967456,
|
74 |
+
"grad_norm": 1.1916735172271729,
|
75 |
+
"learning_rate": 7.322160799241614e-07,
|
76 |
+
"loss": 0.0966,
|
77 |
+
"step": 4000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 1.8079550020088389,
|
81 |
+
"grad_norm": 2.3483071327209473,
|
82 |
+
"learning_rate": 6.888640325633467e-07,
|
83 |
+
"loss": 0.0914,
|
84 |
+
"step": 4500
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 2.0,
|
88 |
+
"eval_accuracy": 0.9708767672041989,
|
89 |
+
"eval_f1": 0.7143198661247907,
|
90 |
+
"eval_loss": 0.0914178416132927,
|
91 |
+
"eval_precision": 0.6660722246990638,
|
92 |
+
"eval_recall": 0.7701030927835052,
|
93 |
+
"eval_runtime": 19.9542,
|
94 |
+
"eval_samples_per_second": 213.79,
|
95 |
+
"eval_steps_per_second": 26.761,
|
96 |
+
"step": 4978
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 2.008838891120932,
|
100 |
+
"grad_norm": 4.1778669357299805,
|
101 |
+
"learning_rate": 6.455119852025319e-07,
|
102 |
+
"loss": 0.0846,
|
103 |
+
"step": 5000
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 2.2097227802330255,
|
107 |
+
"grad_norm": 2.798360586166382,
|
108 |
+
"learning_rate": 6.02159937841717e-07,
|
109 |
+
"loss": 0.0857,
|
110 |
+
"step": 5500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.4106066693451185,
|
114 |
+
"grad_norm": 1.7000788450241089,
|
115 |
+
"learning_rate": 5.588078904809024e-07,
|
116 |
+
"loss": 0.0809,
|
117 |
+
"step": 6000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 2.611490558457212,
|
121 |
+
"grad_norm": 2.7977373600006104,
|
122 |
+
"learning_rate": 5.154558431200876e-07,
|
123 |
+
"loss": 0.083,
|
124 |
+
"step": 6500
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 2.812374447569305,
|
128 |
+
"grad_norm": 2.01316499710083,
|
129 |
+
"learning_rate": 4.721037957592728e-07,
|
130 |
+
"loss": 0.0776,
|
131 |
+
"step": 7000
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 3.0,
|
135 |
+
"eval_accuracy": 0.9727700697378616,
|
136 |
+
"eval_f1": 0.7365162519347542,
|
137 |
+
"eval_loss": 0.08494957536458969,
|
138 |
+
"eval_precision": 0.6844434609426865,
|
139 |
+
"eval_recall": 0.7971649484536083,
|
140 |
+
"eval_runtime": 19.9143,
|
141 |
+
"eval_samples_per_second": 214.218,
|
142 |
+
"eval_steps_per_second": 26.815,
|
143 |
+
"step": 7467
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 3.0132583366813983,
|
147 |
+
"grad_norm": 0.729656457901001,
|
148 |
+
"learning_rate": 4.287517483984581e-07,
|
149 |
+
"loss": 0.0834,
|
150 |
+
"step": 7500
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 3.2141422257934913,
|
154 |
+
"grad_norm": 4.330155849456787,
|
155 |
+
"learning_rate": 3.853997010376433e-07,
|
156 |
+
"loss": 0.0772,
|
157 |
+
"step": 8000
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 3.4150261149055847,
|
161 |
+
"grad_norm": 2.2002146244049072,
|
162 |
+
"learning_rate": 3.420476536768285e-07,
|
163 |
+
"loss": 0.075,
|
164 |
+
"step": 8500
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 3.6159100040176777,
|
168 |
+
"grad_norm": 2.16339111328125,
|
169 |
+
"learning_rate": 2.9869560631601374e-07,
|
170 |
+
"loss": 0.0753,
|
171 |
+
"step": 9000
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 3.816793893129771,
|
175 |
+
"grad_norm": 1.6610848903656006,
|
176 |
+
"learning_rate": 2.55343558955199e-07,
|
177 |
+
"loss": 0.0696,
|
178 |
+
"step": 9500
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 4.0,
|
182 |
+
"eval_accuracy": 0.9732963932221231,
|
183 |
+
"eval_f1": 0.7483106105512746,
|
184 |
+
"eval_loss": 0.0842830166220665,
|
185 |
+
"eval_precision": 0.6928649835345774,
|
186 |
+
"eval_recall": 0.8134020618556701,
|
187 |
+
"eval_runtime": 21.3601,
|
188 |
+
"eval_samples_per_second": 199.718,
|
189 |
+
"eval_steps_per_second": 25.0,
|
190 |
+
"step": 9956
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 4.017677782241864,
|
194 |
+
"grad_norm": 2.6126861572265625,
|
195 |
+
"learning_rate": 2.119915115943842e-07,
|
196 |
+
"loss": 0.0718,
|
197 |
+
"step": 10000
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 4.2185616713539575,
|
201 |
+
"grad_norm": 1.186840295791626,
|
202 |
+
"learning_rate": 1.6863946423356944e-07,
|
203 |
+
"loss": 0.0731,
|
204 |
+
"step": 10500
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 4.419445560466051,
|
208 |
+
"grad_norm": 1.0546451807022095,
|
209 |
+
"learning_rate": 1.2528741687275467e-07,
|
210 |
+
"loss": 0.0698,
|
211 |
+
"step": 11000
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"epoch": 4.6203294495781435,
|
215 |
+
"grad_norm": 4.4253950119018555,
|
216 |
+
"learning_rate": 8.193536951193991e-08,
|
217 |
+
"loss": 0.0712,
|
218 |
+
"step": 11500
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 4.821213338690237,
|
222 |
+
"grad_norm": 2.7206404209136963,
|
223 |
+
"learning_rate": 3.858332215112514e-08,
|
224 |
+
"loss": 0.0678,
|
225 |
+
"step": 12000
|
226 |
+
}
|
227 |
+
],
|
228 |
+
"logging_steps": 500,
|
229 |
+
"max_steps": 12445,
|
230 |
+
"num_input_tokens_seen": 0,
|
231 |
+
"num_train_epochs": 5,
|
232 |
+
"save_steps": 500,
|
233 |
+
"stateful_callbacks": {
|
234 |
+
"TrainerControl": {
|
235 |
+
"args": {
|
236 |
+
"should_epoch_stop": false,
|
237 |
+
"should_evaluate": false,
|
238 |
+
"should_log": false,
|
239 |
+
"should_save": true,
|
240 |
+
"should_training_stop": true
|
241 |
+
},
|
242 |
+
"attributes": {}
|
243 |
+
}
|
244 |
+
},
|
245 |
+
"total_flos": 3124720717875636.0,
|
246 |
+
"train_batch_size": 8,
|
247 |
+
"trial_name": null,
|
248 |
+
"trial_params": {
|
249 |
+
"learning_rate": 1.0790324588106795e-06,
|
250 |
+
"num_train_epochs": 5,
|
251 |
+
"per_device_train_batch_size": 8,
|
252 |
+
"seed": 32
|
253 |
+
}
|
254 |
+
}
|
run-0/checkpoint-12445/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d43e989f6f8e3748c1514af63a5b86043726cda1141564108d087f161829651
|
3 |
+
size 5112
|
run-0/checkpoint-12445/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-2489/config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Disease",
|
15 |
+
"2": "I-Disease",
|
16 |
+
"3": "B-Chemical",
|
17 |
+
"4": "I-Chemical",
|
18 |
+
"5": "B-Gene",
|
19 |
+
"6": "I-Gene"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"B-Chemical": 3,
|
25 |
+
"B-Disease": 1,
|
26 |
+
"B-Gene": 5,
|
27 |
+
"I-Chemical": 4,
|
28 |
+
"I-Disease": 2,
|
29 |
+
"I-Gene": 6,
|
30 |
+
"O": 0
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.42.4",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 28996
|
44 |
+
}
|
run-0/checkpoint-2489/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a50eff5e9d5ec2b14941cbe845656eb59328c048f816637c5af6b9ee9ef890a9
|
3 |
+
size 430923588
|
run-0/checkpoint-2489/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dcddb991367c7bb50242465159bef7aacb85122659cb90083297e0f8426bee00
|
3 |
+
size 861966906
|
run-0/checkpoint-2489/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97046cfcc3d27e0d332c57cdddbf742a73f17d2e67c4991ec1b66afac2823621
|
3 |
+
size 14308
|
run-0/checkpoint-2489/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eeafa3f69ca80f10c966f7ff86089991aa6b84e3018450c5db58cc1b58173e5d
|
3 |
+
size 1064
|
run-0/checkpoint-2489/special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
run-0/checkpoint-2489/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-2489/tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
run-0/checkpoint-2489/trainer_state.json
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2489,
|
7 |
+
"is_hyper_param_search": true,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.2008838891120932,
|
13 |
+
"grad_norm": 2.296739339828491,
|
14 |
+
"learning_rate": 1.0356804114498648e-06,
|
15 |
+
"loss": 0.5028,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.4017677782241864,
|
20 |
+
"grad_norm": 2.885403871536255,
|
21 |
+
"learning_rate": 9.9232836408905e-07,
|
22 |
+
"loss": 0.1797,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.6026516673362796,
|
27 |
+
"grad_norm": 4.714044570922852,
|
28 |
+
"learning_rate": 9.489763167282352e-07,
|
29 |
+
"loss": 0.1448,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.8035355564483728,
|
34 |
+
"grad_norm": 3.8532094955444336,
|
35 |
+
"learning_rate": 9.056242693674206e-07,
|
36 |
+
"loss": 0.1199,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.0,
|
41 |
+
"eval_accuracy": 0.9636836795859589,
|
42 |
+
"eval_f1": 0.6468026587210636,
|
43 |
+
"eval_loss": 0.10681386291980743,
|
44 |
+
"eval_precision": 0.5823359471729261,
|
45 |
+
"eval_recall": 0.727319587628866,
|
46 |
+
"eval_runtime": 20.4746,
|
47 |
+
"eval_samples_per_second": 208.356,
|
48 |
+
"eval_steps_per_second": 26.081,
|
49 |
+
"step": 2489
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"logging_steps": 500,
|
53 |
+
"max_steps": 12445,
|
54 |
+
"num_input_tokens_seen": 0,
|
55 |
+
"num_train_epochs": 5,
|
56 |
+
"save_steps": 500,
|
57 |
+
"stateful_callbacks": {
|
58 |
+
"TrainerControl": {
|
59 |
+
"args": {
|
60 |
+
"should_epoch_stop": false,
|
61 |
+
"should_evaluate": false,
|
62 |
+
"should_log": false,
|
63 |
+
"should_save": true,
|
64 |
+
"should_training_stop": false
|
65 |
+
},
|
66 |
+
"attributes": {}
|
67 |
+
}
|
68 |
+
},
|
69 |
+
"total_flos": 520518502710624.0,
|
70 |
+
"train_batch_size": 8,
|
71 |
+
"trial_name": null,
|
72 |
+
"trial_params": {
|
73 |
+
"learning_rate": 1.0790324588106795e-06,
|
74 |
+
"num_train_epochs": 5,
|
75 |
+
"per_device_train_batch_size": 8,
|
76 |
+
"seed": 32
|
77 |
+
}
|
78 |
+
}
|
run-0/checkpoint-2489/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d43e989f6f8e3748c1514af63a5b86043726cda1141564108d087f161829651
|
3 |
+
size 5112
|
run-0/checkpoint-2489/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-312/config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Disease",
|
15 |
+
"2": "I-Disease",
|
16 |
+
"3": "B-Chemical",
|
17 |
+
"4": "I-Chemical",
|
18 |
+
"5": "B-Gene",
|
19 |
+
"6": "I-Gene"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"B-Chemical": 3,
|
25 |
+
"B-Disease": 1,
|
26 |
+
"B-Gene": 5,
|
27 |
+
"I-Chemical": 4,
|
28 |
+
"I-Disease": 2,
|
29 |
+
"I-Gene": 6,
|
30 |
+
"O": 0
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.42.4",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 28996
|
44 |
+
}
|
run-0/checkpoint-312/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:129857f166d4b5001f3e2ec5dd35d30db1064c21419cc2092b9be823455bb955
|
3 |
+
size 430923588
|
run-0/checkpoint-312/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c220f45254df3b52959699235c388ca531d71f7f7a0b9b01448ca67494d2360
|
3 |
+
size 861966906
|
run-0/checkpoint-312/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a480f66bf8e92e5a89b4d0dfc1d56756ad3330ae4a7816acacecc128a03519a
|
3 |
+
size 14244
|
run-0/checkpoint-312/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:991c9db4c08fc910c0d6856ad3f591a25cdd00bd448c4be69d17e5480ec7e882
|
3 |
+
size 1064
|
run-0/checkpoint-312/special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
run-0/checkpoint-312/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-312/tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
run-0/checkpoint-312/trainer_state.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 312,
|
7 |
+
"is_hyper_param_search": true,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"eval_accuracy": 0.9300062866416176,
|
14 |
+
"eval_f1": 0.4411184592180067,
|
15 |
+
"eval_loss": 0.18884220719337463,
|
16 |
+
"eval_precision": 0.4011394809031441,
|
17 |
+
"eval_recall": 0.4899484536082474,
|
18 |
+
"eval_runtime": 21.9121,
|
19 |
+
"eval_samples_per_second": 194.687,
|
20 |
+
"eval_steps_per_second": 24.37,
|
21 |
+
"step": 312
|
22 |
+
}
|
23 |
+
],
|
24 |
+
"logging_steps": 500,
|
25 |
+
"max_steps": 1248,
|
26 |
+
"num_input_tokens_seen": 0,
|
27 |
+
"num_train_epochs": 4,
|
28 |
+
"save_steps": 500,
|
29 |
+
"stateful_callbacks": {
|
30 |
+
"TrainerControl": {
|
31 |
+
"args": {
|
32 |
+
"should_epoch_stop": false,
|
33 |
+
"should_evaluate": false,
|
34 |
+
"should_log": false,
|
35 |
+
"should_save": true,
|
36 |
+
"should_training_stop": false
|
37 |
+
},
|
38 |
+
"attributes": {}
|
39 |
+
}
|
40 |
+
},
|
41 |
+
"total_flos": 0,
|
42 |
+
"train_batch_size": 64,
|
43 |
+
"trial_name": null,
|
44 |
+
"trial_params": {
|
45 |
+
"learning_rate": 1.185628372847623e-06,
|
46 |
+
"num_train_epochs": 4,
|
47 |
+
"per_device_train_batch_size": 64,
|
48 |
+
"seed": 38
|
49 |
+
}
|
50 |
+
}
|
run-0/checkpoint-312/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21d5fe7f0960a10fd919e8f0857f9df1bbb7be99c920849bf9fba5ecc0df0b0a
|
3 |
+
size 5112
|
run-0/checkpoint-312/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-4978/config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Disease",
|
15 |
+
"2": "I-Disease",
|
16 |
+
"3": "B-Chemical",
|
17 |
+
"4": "I-Chemical",
|
18 |
+
"5": "B-Gene",
|
19 |
+
"6": "I-Gene"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"B-Chemical": 3,
|
25 |
+
"B-Disease": 1,
|
26 |
+
"B-Gene": 5,
|
27 |
+
"I-Chemical": 4,
|
28 |
+
"I-Disease": 2,
|
29 |
+
"I-Gene": 6,
|
30 |
+
"O": 0
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.42.4",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 28996
|
44 |
+
}
|
run-0/checkpoint-4978/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4276aa96d801eba65355647f1405c220c4278493baa936e41e41908c3bd603da
|
3 |
+
size 430923588
|
run-0/checkpoint-4978/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ce421cebd536d704ab972a4c1278435f9c1c93600259d63782e244bb3f1c2a5
|
3 |
+
size 861966906
|
run-0/checkpoint-4978/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3cca452c86ff3b51ff244059362f1bff73fb4bf068abd224b900280f3d26c3ce
|
3 |
+
size 14308
|
run-0/checkpoint-4978/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:debf33005351f49c3caf86a85f7177c209ff6f515dbd5e93a6f3b017ad7c6fb6
|
3 |
+
size 1064
|
run-0/checkpoint-4978/special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
run-0/checkpoint-4978/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-4978/tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
run-0/checkpoint-4978/trainer_state.json
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 4978,
|
7 |
+
"is_hyper_param_search": true,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.2008838891120932,
|
13 |
+
"grad_norm": 2.296739339828491,
|
14 |
+
"learning_rate": 1.0356804114498648e-06,
|
15 |
+
"loss": 0.5028,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.4017677782241864,
|
20 |
+
"grad_norm": 2.885403871536255,
|
21 |
+
"learning_rate": 9.9232836408905e-07,
|
22 |
+
"loss": 0.1797,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.6026516673362796,
|
27 |
+
"grad_norm": 4.714044570922852,
|
28 |
+
"learning_rate": 9.489763167282352e-07,
|
29 |
+
"loss": 0.1448,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.8035355564483728,
|
34 |
+
"grad_norm": 3.8532094955444336,
|
35 |
+
"learning_rate": 9.056242693674206e-07,
|
36 |
+
"loss": 0.1199,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.0,
|
41 |
+
"eval_accuracy": 0.9636836795859589,
|
42 |
+
"eval_f1": 0.6468026587210636,
|
43 |
+
"eval_loss": 0.10681386291980743,
|
44 |
+
"eval_precision": 0.5823359471729261,
|
45 |
+
"eval_recall": 0.727319587628866,
|
46 |
+
"eval_runtime": 20.4746,
|
47 |
+
"eval_samples_per_second": 208.356,
|
48 |
+
"eval_steps_per_second": 26.081,
|
49 |
+
"step": 2489
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 1.004419445560466,
|
53 |
+
"grad_norm": 1.4627267122268677,
|
54 |
+
"learning_rate": 8.622722220066057e-07,
|
55 |
+
"loss": 0.1126,
|
56 |
+
"step": 2500
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.2053033346725592,
|
60 |
+
"grad_norm": 2.071267604827881,
|
61 |
+
"learning_rate": 8.189201746457909e-07,
|
62 |
+
"loss": 0.1053,
|
63 |
+
"step": 3000
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 1.4061872237846524,
|
67 |
+
"grad_norm": 6.656711101531982,
|
68 |
+
"learning_rate": 7.755681272849762e-07,
|
69 |
+
"loss": 0.0984,
|
70 |
+
"step": 3500
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 1.6070711128967456,
|
74 |
+
"grad_norm": 1.1916735172271729,
|
75 |
+
"learning_rate": 7.322160799241614e-07,
|
76 |
+
"loss": 0.0966,
|
77 |
+
"step": 4000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 1.8079550020088389,
|
81 |
+
"grad_norm": 2.3483071327209473,
|
82 |
+
"learning_rate": 6.888640325633467e-07,
|
83 |
+
"loss": 0.0914,
|
84 |
+
"step": 4500
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 2.0,
|
88 |
+
"eval_accuracy": 0.9708767672041989,
|
89 |
+
"eval_f1": 0.7143198661247907,
|
90 |
+
"eval_loss": 0.0914178416132927,
|
91 |
+
"eval_precision": 0.6660722246990638,
|
92 |
+
"eval_recall": 0.7701030927835052,
|
93 |
+
"eval_runtime": 19.9542,
|
94 |
+
"eval_samples_per_second": 213.79,
|
95 |
+
"eval_steps_per_second": 26.761,
|
96 |
+
"step": 4978
|
97 |
+
}
|
98 |
+
],
|
99 |
+
"logging_steps": 500,
|
100 |
+
"max_steps": 12445,
|
101 |
+
"num_input_tokens_seen": 0,
|
102 |
+
"num_train_epochs": 5,
|
103 |
+
"save_steps": 500,
|
104 |
+
"stateful_callbacks": {
|
105 |
+
"TrainerControl": {
|
106 |
+
"args": {
|
107 |
+
"should_epoch_stop": false,
|
108 |
+
"should_evaluate": false,
|
109 |
+
"should_log": false,
|
110 |
+
"should_save": true,
|
111 |
+
"should_training_stop": false
|
112 |
+
},
|
113 |
+
"attributes": {}
|
114 |
+
}
|
115 |
+
},
|
116 |
+
"total_flos": 1174602430481040.0,
|
117 |
+
"train_batch_size": 8,
|
118 |
+
"trial_name": null,
|
119 |
+
"trial_params": {
|
120 |
+
"learning_rate": 1.0790324588106795e-06,
|
121 |
+
"num_train_epochs": 5,
|
122 |
+
"per_device_train_batch_size": 8,
|
123 |
+
"seed": 32
|
124 |
+
}
|
125 |
+
}
|
run-0/checkpoint-4978/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d43e989f6f8e3748c1514af63a5b86043726cda1141564108d087f161829651
|
3 |
+
size 5112
|
run-0/checkpoint-4978/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run-0/checkpoint-7467/config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Disease",
|
15 |
+
"2": "I-Disease",
|
16 |
+
"3": "B-Chemical",
|
17 |
+
"4": "I-Chemical",
|
18 |
+
"5": "B-Gene",
|
19 |
+
"6": "I-Gene"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"B-Chemical": 3,
|
25 |
+
"B-Disease": 1,
|
26 |
+
"B-Gene": 5,
|
27 |
+
"I-Chemical": 4,
|
28 |
+
"I-Disease": 2,
|
29 |
+
"I-Gene": 6,
|
30 |
+
"O": 0
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.42.4",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 28996
|
44 |
+
}
|
run-0/checkpoint-7467/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a9dc8531b84f3933726cbbc496e7dc3b71360414f29ceba795eac5c6ce32838
|
3 |
+
size 14308
|
run-0/checkpoint-7467/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:161e562e54acdebcebef5c6441dd9d70de9e134ca451e5f38a27022c030230e1
|
3 |
+
size 1064
|
run-0/checkpoint-7467/special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
run-0/checkpoint-7467/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|