metaboulie
commited on
Commit
•
9defb8c
1
Parent(s):
f67aa02
Training in progress, epoch 1
Browse files- config.json +67 -0
- model.safetensors +3 -0
- runs/Apr01_06-06-01_4cb885bd7a07/events.out.tfevents.1711951563.4cb885bd7a07.3328.0 +3 -0
- runs/Apr01_06-24-51_4cb885bd7a07/events.out.tfevents.1711952692.4cb885bd7a07.8072.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"0": "O",
|
13 |
+
"1": "B-ADE",
|
14 |
+
"2": "B-Dosage",
|
15 |
+
"3": "B-Drug",
|
16 |
+
"4": "B-Duration",
|
17 |
+
"5": "B-Form",
|
18 |
+
"6": "B-Frequency",
|
19 |
+
"7": "B-Reason",
|
20 |
+
"8": "B-Route",
|
21 |
+
"9": "B-Strength",
|
22 |
+
"10": "I-ADE",
|
23 |
+
"11": "I-Dosage",
|
24 |
+
"12": "I-Drug",
|
25 |
+
"13": "I-Duration",
|
26 |
+
"14": "I-Form",
|
27 |
+
"15": "I-Frequency",
|
28 |
+
"16": "I-Reason",
|
29 |
+
"17": "I-Route",
|
30 |
+
"18": "I-Strength"
|
31 |
+
},
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"intermediate_size": 3072,
|
34 |
+
"label2id": {
|
35 |
+
"B-ADE": 1,
|
36 |
+
"B-Dosage": 2,
|
37 |
+
"B-Drug": 3,
|
38 |
+
"B-Duration": 4,
|
39 |
+
"B-Form": 5,
|
40 |
+
"B-Frequency": 6,
|
41 |
+
"B-Reason": 7,
|
42 |
+
"B-Route": 8,
|
43 |
+
"B-Strength": 9,
|
44 |
+
"I-ADE": 10,
|
45 |
+
"I-Dosage": 11,
|
46 |
+
"I-Drug": 12,
|
47 |
+
"I-Duration": 13,
|
48 |
+
"I-Form": 14,
|
49 |
+
"I-Frequency": 15,
|
50 |
+
"I-Reason": 16,
|
51 |
+
"I-Route": 17,
|
52 |
+
"I-Strength": 18,
|
53 |
+
"O": 0
|
54 |
+
},
|
55 |
+
"layer_norm_eps": 1e-12,
|
56 |
+
"max_position_embeddings": 512,
|
57 |
+
"model_type": "bert",
|
58 |
+
"num_attention_heads": 12,
|
59 |
+
"num_hidden_layers": 12,
|
60 |
+
"pad_token_id": 0,
|
61 |
+
"position_embedding_type": "absolute",
|
62 |
+
"torch_dtype": "float32",
|
63 |
+
"transformers_version": "4.39.2",
|
64 |
+
"type_vocab_size": 2,
|
65 |
+
"use_cache": true,
|
66 |
+
"vocab_size": 28996
|
67 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0542ee8cc69f27b7e544392a838223390075252bf87d743be51e3089bcdd0f2d
|
3 |
+
size 430960500
|
runs/Apr01_06-06-01_4cb885bd7a07/events.out.tfevents.1711951563.4cb885bd7a07.3328.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea4ca92ff52a34b67ca7beb74161b2e0bc142352a450ac00f6761d43b5ba5c62
|
3 |
+
size 5808
|
runs/Apr01_06-24-51_4cb885bd7a07/events.out.tfevents.1711952692.4cb885bd7a07.8072.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:736d423ab603ee41791a44f3321742166b15c8a3a4780f8483d8a409a2b687f3
|
3 |
+
size 6702
|
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,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1eb172dc1894aef46d08286ef0368d5533c8d58e407d416e8e0b47eca6663d1d
|
3 |
+
size 4984
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|