simonada commited on
Commit
3693908
·
verified ·
1 Parent(s): b562506

Upload 5 files

Browse files

first version of the model

config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "michiyasunaga/BioLinkBERT-base",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "B-BEH",
14
+ "1": "B-COND",
15
+ "2": "B-CTRL",
16
+ "3": "B-DRUG",
17
+ "4": "B-OTHER",
18
+ "5": "B-PHYS",
19
+ "6": "B-RADIO",
20
+ "7": "B-SURG",
21
+ "8": "I-BEH",
22
+ "9": "I-COND",
23
+ "10": "I-CTRL",
24
+ "11": "I-DRUG",
25
+ "12": "I-OTHER",
26
+ "13": "I-PHYS",
27
+ "14": "I-RADIO",
28
+ "15": "I-SURG",
29
+ "16": "O"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "B-BEH": 0,
35
+ "B-COND": 1,
36
+ "B-CTRL": 2,
37
+ "B-DRUG": 3,
38
+ "B-OTHER": 4,
39
+ "B-PHYS": 5,
40
+ "B-RADIO": 6,
41
+ "B-SURG": 7,
42
+ "I-BEH": 8,
43
+ "I-COND": 9,
44
+ "I-CTRL": 10,
45
+ "I-DRUG": 11,
46
+ "I-OTHER": 12,
47
+ "I-PHYS": 13,
48
+ "I-RADIO": 14,
49
+ "I-SURG": 15,
50
+ "O": 16
51
+ },
52
+ "layer_norm_eps": 1e-12,
53
+ "max_position_embeddings": 512,
54
+ "model_type": "bert",
55
+ "num_attention_heads": 12,
56
+ "num_hidden_layers": 12,
57
+ "pad_token_id": 0,
58
+ "position_embedding_type": "absolute",
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.33.1",
61
+ "type_vocab_size": 2,
62
+ "use_cache": true,
63
+ "vocab_size": 28895
64
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea4adf3e035baa741c3ba89256491dfd7a6c03b5b207a9aaacc3339f194097ee
3
+ size 430688489
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_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 1000000000000000019884624838656,
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "BertTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff