Commit ·
db63beb
0
Parent(s):
first BioRED-Dis-WLT-384-BioBERT
Browse files- config.json +41 -0
- eval_results.txt +8 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- test_predictions.txt +0 -0
- test_results.txt +7 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "dmis-lab/biobert-base-cased-v1.1",
|
| 3 |
+
"adapters": {
|
| 4 |
+
"adapters": {},
|
| 5 |
+
"config_map": {},
|
| 6 |
+
"fusion_config_map": {},
|
| 7 |
+
"fusions": {}
|
| 8 |
+
},
|
| 9 |
+
"architectures": [
|
| 10 |
+
"BertForTokenClassification"
|
| 11 |
+
],
|
| 12 |
+
"attention_probs_dropout_prob": 0.1,
|
| 13 |
+
"classifier_dropout": null,
|
| 14 |
+
"hidden_act": "gelu",
|
| 15 |
+
"hidden_dropout_prob": 0.1,
|
| 16 |
+
"hidden_size": 768,
|
| 17 |
+
"id2label": {
|
| 18 |
+
"0": "B-Disease-bio",
|
| 19 |
+
"1": "I-Disease-bio",
|
| 20 |
+
"2": "O"
|
| 21 |
+
},
|
| 22 |
+
"initializer_range": 0.02,
|
| 23 |
+
"intermediate_size": 3072,
|
| 24 |
+
"label2id": {
|
| 25 |
+
"B-Disease-bio": 0,
|
| 26 |
+
"I-Disease-bio": 1,
|
| 27 |
+
"O": 2
|
| 28 |
+
},
|
| 29 |
+
"layer_norm_eps": 1e-12,
|
| 30 |
+
"max_position_embeddings": 512,
|
| 31 |
+
"model_type": "bert",
|
| 32 |
+
"num_attention_heads": 12,
|
| 33 |
+
"num_hidden_layers": 12,
|
| 34 |
+
"pad_token_id": 0,
|
| 35 |
+
"position_embedding_type": "absolute",
|
| 36 |
+
"torch_dtype": "float32",
|
| 37 |
+
"transformers_version": "4.11.3",
|
| 38 |
+
"type_vocab_size": 2,
|
| 39 |
+
"use_cache": true,
|
| 40 |
+
"vocab_size": 28996
|
| 41 |
+
}
|
eval_results.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
eval_loss = 1.7172126263176324e-06
|
| 2 |
+
eval_precision = 1.0
|
| 3 |
+
eval_recall = 1.0
|
| 4 |
+
eval_f1 = 1.0
|
| 5 |
+
eval_runtime = 37.2618
|
| 6 |
+
eval_samples_per_second = 30.943
|
| 7 |
+
eval_steps_per_second = 3.891
|
| 8 |
+
epoch = 20.0
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1af4dbc58711379e4e6c14138a81c01ff0817749e5f3c114762014b5deffc92c
|
| 3 |
+
size 430974833
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
test_predictions.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
test_results.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
test_loss = 0.08698824793100357
|
| 2 |
+
test_precision = 0.8379237288135594
|
| 3 |
+
test_recall = 0.8654266958424508
|
| 4 |
+
test_f1 = 0.8514531754574811
|
| 5 |
+
test_runtime = 36.6075
|
| 6 |
+
test_samples_per_second = 30.431
|
| 7 |
+
test_steps_per_second = 3.824
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"do_lower_case": true, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "dmis-lab/biobert-base-cased-v1.1", "tokenizer_class": "BertTokenizer"}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e37918c2e7d00f3e335e72594977196f9524dba568d29f8c938662464d55a2c
|
| 3 |
+
size 2863
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|