mevol commited on
Commit
a2b1d37
1 Parent(s): a3c99b2

adding all model files to new repo

Browse files
Files changed (6) hide show
  1. config.json +111 -0
  2. model.onnx +3 -0
  3. special_tokens_map.json +37 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +61 -0
  6. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/gdrive/MyDrive/ColabNotebooks/biotransformers/bioformer8L_coreFiles_ner_20231026_v0.1/config.json",
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": 512,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-chemical",
14
+ "2": "B-species",
15
+ "3": "B-gene",
16
+ "4": "I-gene",
17
+ "5": "B-taxonomy_domain",
18
+ "6": "I-chemical",
19
+ "7": "B-protein_type",
20
+ "8": "B-experimental_method",
21
+ "9": "I-experimental_method",
22
+ "10": "I-protein_type",
23
+ "11": "I-species",
24
+ "12": "B-evidence",
25
+ "13": "I-evidence",
26
+ "14": "B-protein",
27
+ "15": "I-protein",
28
+ "16": "B-protein_state",
29
+ "17": "B-site",
30
+ "18": "I-site",
31
+ "19": "B-structure_element",
32
+ "20": "I-structure_element",
33
+ "21": "B-complex_assembly",
34
+ "22": "I-protein_state",
35
+ "23": "I-complex_assembly",
36
+ "24": "B-ptm",
37
+ "25": "B-mutant",
38
+ "26": "I-mutant",
39
+ "27": "B-oligomeric_state",
40
+ "28": "B-residue_name_number",
41
+ "29": "B-bond_interaction",
42
+ "30": "I-bond_interaction",
43
+ "31": "B-residue_range",
44
+ "32": "I-residue_range",
45
+ "33": "B-residue_name",
46
+ "34": "B-residue_number",
47
+ "35": "I-ptm",
48
+ "36": "I-taxonomy_domain",
49
+ "37": "I-oligomeric_state",
50
+ "38": "I-residue_name_number",
51
+ "39": "I-residue_name",
52
+ "40": "I-residue_number"
53
+ },
54
+ "initializer_range": 0.02,
55
+ "intermediate_size": 2048,
56
+ "label2id": {
57
+ "B-bond_interaction": 29,
58
+ "B-chemical": 1,
59
+ "B-complex_assembly": 21,
60
+ "B-evidence": 12,
61
+ "B-experimental_method": 8,
62
+ "B-gene": 3,
63
+ "B-mutant": 25,
64
+ "B-oligomeric_state": 27,
65
+ "B-protein": 14,
66
+ "B-protein_state": 16,
67
+ "B-protein_type": 7,
68
+ "B-ptm": 24,
69
+ "B-residue_name": 33,
70
+ "B-residue_name_number": 28,
71
+ "B-residue_number": 34,
72
+ "B-residue_range": 31,
73
+ "B-site": 17,
74
+ "B-species": 2,
75
+ "B-structure_element": 19,
76
+ "B-taxonomy_domain": 5,
77
+ "I-bond_interaction": 30,
78
+ "I-chemical": 6,
79
+ "I-complex_assembly": 23,
80
+ "I-evidence": 13,
81
+ "I-experimental_method": 9,
82
+ "I-gene": 4,
83
+ "I-mutant": 26,
84
+ "I-oligomeric_state": 37,
85
+ "I-protein": 15,
86
+ "I-protein_state": 22,
87
+ "I-protein_type": 10,
88
+ "I-ptm": 35,
89
+ "I-residue_name": 39,
90
+ "I-residue_name_number": 38,
91
+ "I-residue_number": 40,
92
+ "I-residue_range": 32,
93
+ "I-site": 18,
94
+ "I-species": 11,
95
+ "I-structure_element": 20,
96
+ "I-taxonomy_domain": 36,
97
+ "O": 0
98
+ },
99
+ "layer_norm_eps": 1e-12,
100
+ "max_position_embeddings": 512,
101
+ "model_type": "bert",
102
+ "num_attention_heads": 8,
103
+ "num_hidden_layers": 8,
104
+ "pad_token_id": 0,
105
+ "position_embedding_type": "absolute",
106
+ "torch_dtype": "float32",
107
+ "transformers_version": "4.38.2",
108
+ "type_vocab_size": 2,
109
+ "use_cache": true,
110
+ "vocab_size": 32768
111
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa2359e0cc9a83d54704ab13eef369a491e4db1f6a998498a09982d284deef2
3
+ size 169306025
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 512,
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "stride": 0,
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "truncation_side": "right",
59
+ "truncation_strategy": "longest_first",
60
+ "unk_token": "[UNK]"
61
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff