Done
Browse files- .gitignore +1 -0
- config.json +96 -0
- pytorch_model.bin +3 -0
- runs/Aug09_21-24-55_d6f1ffd29cc6/1660080366.3882387/events.out.tfevents.1660080366.d6f1ffd29cc6.72.1 +3 -0
- runs/Aug09_21-24-55_d6f1ffd29cc6/events.out.tfevents.1660080366.d6f1ffd29cc6.72.0 +3 -0
- runs/Aug09_21-36-44_d6f1ffd29cc6/1660081028.3124971/events.out.tfevents.1660081028.d6f1ffd29cc6.72.3 +3 -0
- runs/Aug09_21-36-44_d6f1ffd29cc6/events.out.tfevents.1660081028.d6f1ffd29cc6.72.2 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"-100": "IGN",
|
| 13 |
+
"0": "O",
|
| 14 |
+
"1": "B-Gene_or_gene_product",
|
| 15 |
+
"2": "I-Gene_or_gene_product",
|
| 16 |
+
"3": "B-Cancer",
|
| 17 |
+
"4": "I-Cancer",
|
| 18 |
+
"5": "B-Cell",
|
| 19 |
+
"6": "I-Cell",
|
| 20 |
+
"7": "B-Organism",
|
| 21 |
+
"8": "B-Simple_chemical",
|
| 22 |
+
"9": "I-Simple_chemical",
|
| 23 |
+
"10": "B-Multi-tissue_structure",
|
| 24 |
+
"11": "I-Multi-tissue_structure",
|
| 25 |
+
"12": "B-Organ",
|
| 26 |
+
"13": "B-Organism_subdivision",
|
| 27 |
+
"14": "B-Tissue",
|
| 28 |
+
"15": "I-Tissue",
|
| 29 |
+
"16": "B-Immaterial_anatomical_entity",
|
| 30 |
+
"17": "B-Organism_substance",
|
| 31 |
+
"18": "I-Organism_substance",
|
| 32 |
+
"19": "I-Organism",
|
| 33 |
+
"20": "I-Organism_subdivision",
|
| 34 |
+
"21": "B-Cellular_component",
|
| 35 |
+
"22": "I-Immaterial_anatomical_entity",
|
| 36 |
+
"23": "I-Cellular_component",
|
| 37 |
+
"24": "B-Pathological_formation",
|
| 38 |
+
"25": "I-Pathological_formation",
|
| 39 |
+
"26": "I-Organ",
|
| 40 |
+
"27": "B-Amino_acid",
|
| 41 |
+
"28": "I-Amino_acid",
|
| 42 |
+
"29": "B-Anatomical_system",
|
| 43 |
+
"30": "I-Anatomical_system",
|
| 44 |
+
"31": "B-Developing_anatomical_structure",
|
| 45 |
+
"32": "I-Developing_anatomical_structure"
|
| 46 |
+
},
|
| 47 |
+
"initializer_range": 0.02,
|
| 48 |
+
"intermediate_size": 3072,
|
| 49 |
+
"label2id": {
|
| 50 |
+
"B-Amino_acid": 27,
|
| 51 |
+
"B-Anatomical_system": 29,
|
| 52 |
+
"B-Cancer": 3,
|
| 53 |
+
"B-Cell": 5,
|
| 54 |
+
"B-Cellular_component": 21,
|
| 55 |
+
"B-Developing_anatomical_structure": 31,
|
| 56 |
+
"B-Gene_or_gene_product": 1,
|
| 57 |
+
"B-Immaterial_anatomical_entity": 16,
|
| 58 |
+
"B-Multi-tissue_structure": 10,
|
| 59 |
+
"B-Organ": 12,
|
| 60 |
+
"B-Organism": 7,
|
| 61 |
+
"B-Organism_subdivision": 13,
|
| 62 |
+
"B-Organism_substance": 17,
|
| 63 |
+
"B-Pathological_formation": 24,
|
| 64 |
+
"B-Simple_chemical": 8,
|
| 65 |
+
"B-Tissue": 14,
|
| 66 |
+
"I-Amino_acid": 28,
|
| 67 |
+
"I-Anatomical_system": 30,
|
| 68 |
+
"I-Cancer": 4,
|
| 69 |
+
"I-Cell": 6,
|
| 70 |
+
"I-Cellular_component": 23,
|
| 71 |
+
"I-Developing_anatomical_structure": 32,
|
| 72 |
+
"I-Gene_or_gene_product": 2,
|
| 73 |
+
"I-Immaterial_anatomical_entity": 22,
|
| 74 |
+
"I-Multi-tissue_structure": 11,
|
| 75 |
+
"I-Organ": 26,
|
| 76 |
+
"I-Organism": 19,
|
| 77 |
+
"I-Organism_subdivision": 20,
|
| 78 |
+
"I-Organism_substance": 18,
|
| 79 |
+
"I-Pathological_formation": 25,
|
| 80 |
+
"I-Simple_chemical": 9,
|
| 81 |
+
"I-Tissue": 15,
|
| 82 |
+
"O": 0
|
| 83 |
+
},
|
| 84 |
+
"layer_norm_eps": 1e-12,
|
| 85 |
+
"max_position_embeddings": 512,
|
| 86 |
+
"model_type": "bert",
|
| 87 |
+
"num_attention_heads": 12,
|
| 88 |
+
"num_hidden_layers": 12,
|
| 89 |
+
"pad_token_id": 0,
|
| 90 |
+
"position_embedding_type": "absolute",
|
| 91 |
+
"torch_dtype": "float32",
|
| 92 |
+
"transformers_version": "4.21.1",
|
| 93 |
+
"type_vocab_size": 2,
|
| 94 |
+
"use_cache": true,
|
| 95 |
+
"vocab_size": 28996
|
| 96 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f7016965f1253a74304af2f13b53e03ae26167eb711dfae8ae6bab96ec30a9a
|
| 3 |
+
size 431053745
|
runs/Aug09_21-24-55_d6f1ffd29cc6/1660080366.3882387/events.out.tfevents.1660080366.d6f1ffd29cc6.72.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c956bb8dafe0809623f24c7624e68b9eab4eaf6c418003a4fe7e88ce80aa81f1
|
| 3 |
+
size 5415
|
runs/Aug09_21-24-55_d6f1ffd29cc6/events.out.tfevents.1660080366.d6f1ffd29cc6.72.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:808a36428d24acc040ba69a1eb05fc3c945cc3677f07c7f6b9d63ac03d94027e
|
| 3 |
+
size 10703
|
runs/Aug09_21-36-44_d6f1ffd29cc6/1660081028.3124971/events.out.tfevents.1660081028.d6f1ffd29cc6.72.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23be7b8553b3b8ded53f33100f8e06dbb26cc8ea809e28b0c645b3f963b598b4
|
| 3 |
+
size 5415
|
runs/Aug09_21-36-44_d6f1ffd29cc6/events.out.tfevents.1660081028.d6f1ffd29cc6.72.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d77be05ff8121ade58b5db53dc49a722e8a58c61a7d28f56f5ad0d3385e20ec
|
| 3 |
+
size 10703
|
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 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"do_basic_tokenize": true,
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"mask_token": "[MASK]",
|
| 6 |
+
"name_or_path": "ericntay/clinical_bert_ft",
|
| 7 |
+
"never_split": null,
|
| 8 |
+
"pad_token": "[PAD]",
|
| 9 |
+
"sep_token": "[SEP]",
|
| 10 |
+
"special_tokens_map_file": null,
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91704519810dde3daaf68f145b0a5d9e32e4381a5af3d3cf4e5589f2b3ec94dc
|
| 3 |
+
size 3311
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|