Training in progress, epoch 0
Browse files- config.json +67 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "medicalai/ClinicalBERT",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-Drug",
|
14 |
+
"2": "I-Drug",
|
15 |
+
"3": "B-Reason",
|
16 |
+
"4": "I-Reason",
|
17 |
+
"5": "B-Route",
|
18 |
+
"6": "I-Route",
|
19 |
+
"7": "B-Strength",
|
20 |
+
"8": "I-Strength",
|
21 |
+
"9": "B-Form",
|
22 |
+
"10": "I-Form",
|
23 |
+
"11": "B-Dosage",
|
24 |
+
"12": "I-Dosage",
|
25 |
+
"13": "B-Frequency",
|
26 |
+
"14": "I-Frequency",
|
27 |
+
"15": "B-Duration",
|
28 |
+
"16": "I-Duration",
|
29 |
+
"17": "B-ADE",
|
30 |
+
"18": "I-ADE"
|
31 |
+
},
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"label2id": {
|
34 |
+
"B-ADE": 17,
|
35 |
+
"B-Dosage": 11,
|
36 |
+
"B-Drug": 1,
|
37 |
+
"B-Duration": 15,
|
38 |
+
"B-Form": 9,
|
39 |
+
"B-Frequency": 13,
|
40 |
+
"B-Reason": 3,
|
41 |
+
"B-Route": 5,
|
42 |
+
"B-Strength": 7,
|
43 |
+
"I-ADE": 18,
|
44 |
+
"I-Dosage": 12,
|
45 |
+
"I-Drug": 2,
|
46 |
+
"I-Duration": 16,
|
47 |
+
"I-Form": 10,
|
48 |
+
"I-Frequency": 14,
|
49 |
+
"I-Reason": 4,
|
50 |
+
"I-Route": 6,
|
51 |
+
"I-Strength": 8,
|
52 |
+
"O": 0
|
53 |
+
},
|
54 |
+
"max_position_embeddings": 512,
|
55 |
+
"model_type": "distilbert",
|
56 |
+
"n_heads": 12,
|
57 |
+
"n_layers": 6,
|
58 |
+
"output_past": true,
|
59 |
+
"pad_token_id": 0,
|
60 |
+
"qa_dropout": 0.1,
|
61 |
+
"seq_classif_dropout": 0.2,
|
62 |
+
"sinusoidal_pos_embds": false,
|
63 |
+
"tie_weights_": true,
|
64 |
+
"torch_dtype": "float32",
|
65 |
+
"transformers_version": "4.44.0",
|
66 |
+
"vocab_size": 119547
|
67 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:916bf8eb0ffc0eb96bdbe63f8932fcc61c7355372f9296d32e74293a353ede20
|
3 |
+
size 539007116
|
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,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"full_tokenizer_file": null,
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "DistilBertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f81d9af48d91f22459a19919f5c7900b136a76db1a2262ae9f9291c295daafbf
|
3 |
+
size 5240
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|