chizhik
commited on
Commit
·
137f13c
1
Parent(s):
813ab62
add model configuration
Browse files- .DS_Store +0 -0
- config.json +38 -0
- merges.txt +0 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +118 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./SocalDisner-weak/run-12/checkpoint-70880",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.0,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-DISEASE",
|
17 |
+
"2": "I-DISEASE"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"B-DISEASE": "1",
|
23 |
+
"I-DISEASE": "2",
|
24 |
+
"O": "0"
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"max_position_embeddings": 514,
|
28 |
+
"model_type": "roberta",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.19.2",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 50262
|
38 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50ffdfb60c6f6105239d0be1862928d5f1e0ce7f3b6c0f8333e44af64c1a1546
|
3 |
+
size 992555749
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0c43e05b044524db452be1850eea9fd40d1fb9250323ab4b8d0c451ad38a2ac
|
3 |
+
size 496291249
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:639dfe1ce4b858e0f7c786bcfbe164dc29e83d8a57f05ef4a77297828e9a32c4
|
3 |
+
size 14567
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6a6f556935337b5c0ed6bc2112a979ba4254a8dc2b72befff66c6196ff897ba
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": true, "trim_offsets": true, "max_len": 512, "special_tokens_map_file": null, "name_or_path": "./SocalDisner-weak/run-12/checkpoint-70880", "tokenizer_class": "RobertaTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9128113879003559,
|
3 |
+
"best_model_checkpoint": "./SocalDisner-strong/run-1/checkpoint-4430",
|
4 |
+
"epoch": 7.122186495176849,
|
5 |
+
"global_step": 4430,
|
6 |
+
"is_hyper_param_search": true,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.8,
|
12 |
+
"learning_rate": 2.3346599605377065e-05,
|
13 |
+
"loss": 0.0902,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.42,
|
18 |
+
"eval_f1": 0.9015075376884422,
|
19 |
+
"eval_loss": 0.04874825105071068,
|
20 |
+
"eval_runtime": 13.1719,
|
21 |
+
"eval_samples_per_second": 189.797,
|
22 |
+
"eval_steps_per_second": 23.763,
|
23 |
+
"step": 886
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.61,
|
27 |
+
"learning_rate": 2.963685146642776e-05,
|
28 |
+
"loss": 0.0494,
|
29 |
+
"step": 1000
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.41,
|
33 |
+
"learning_rate": 2.5909883223667728e-05,
|
34 |
+
"loss": 0.0284,
|
35 |
+
"step": 1500
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 2.85,
|
39 |
+
"eval_f1": 0.9087016748520338,
|
40 |
+
"eval_loss": 0.049770649522542953,
|
41 |
+
"eval_runtime": 13.2365,
|
42 |
+
"eval_samples_per_second": 188.871,
|
43 |
+
"eval_steps_per_second": 23.647,
|
44 |
+
"step": 1772
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.22,
|
48 |
+
"learning_rate": 2.21829149809077e-05,
|
49 |
+
"loss": 0.0141,
|
50 |
+
"step": 2000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 4.02,
|
54 |
+
"learning_rate": 1.845594673814767e-05,
|
55 |
+
"loss": 0.0075,
|
56 |
+
"step": 2500
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 4.27,
|
60 |
+
"eval_f1": 0.9092276830491474,
|
61 |
+
"eval_loss": 0.0691143274307251,
|
62 |
+
"eval_runtime": 13.1876,
|
63 |
+
"eval_samples_per_second": 189.573,
|
64 |
+
"eval_steps_per_second": 23.734,
|
65 |
+
"step": 2658
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 4.82,
|
69 |
+
"learning_rate": 1.472897849538764e-05,
|
70 |
+
"loss": 0.0029,
|
71 |
+
"step": 3000
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 5.63,
|
75 |
+
"learning_rate": 1.1002010252627608e-05,
|
76 |
+
"loss": 0.0024,
|
77 |
+
"step": 3500
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 5.7,
|
81 |
+
"eval_f1": 0.9093625498007968,
|
82 |
+
"eval_loss": 0.06731252372264862,
|
83 |
+
"eval_runtime": 13.216,
|
84 |
+
"eval_samples_per_second": 189.165,
|
85 |
+
"eval_steps_per_second": 23.683,
|
86 |
+
"step": 3544
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 6.43,
|
90 |
+
"learning_rate": 7.275042009867579e-06,
|
91 |
+
"loss": 0.0017,
|
92 |
+
"step": 4000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 7.12,
|
96 |
+
"eval_f1": 0.9128113879003559,
|
97 |
+
"eval_loss": 0.07908429950475693,
|
98 |
+
"eval_runtime": 13.1476,
|
99 |
+
"eval_samples_per_second": 190.149,
|
100 |
+
"eval_steps_per_second": 23.807,
|
101 |
+
"step": 4430
|
102 |
+
}
|
103 |
+
],
|
104 |
+
"max_steps": 4976,
|
105 |
+
"num_train_epochs": 8,
|
106 |
+
"total_flos": 1557691318801926.0,
|
107 |
+
"trial_name": null,
|
108 |
+
"trial_params": {
|
109 |
+
"adam_epsilon": 1.0695999090544144e-10,
|
110 |
+
"learning_rate": 3.198484145936658e-05,
|
111 |
+
"num_train_epochs": 8,
|
112 |
+
"per_device_eval_batch_size": 8,
|
113 |
+
"per_device_train_batch_size": 32,
|
114 |
+
"seed": 326,
|
115 |
+
"warmup_steps": 685,
|
116 |
+
"weight_decay": 7.355540557094741e-05
|
117 |
+
}
|
118 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:661800da7b186f0de416d22040b782b2c79796490673c92daadf38ad11c1027a
|
3 |
+
size 3183
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|