leonweber commited on
Commit
41bb9fc
1 Parent(s): e63bed5

Upload BertForDistantSupervision

Browse files
Files changed (2) hide show
  1. config.json +59 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "leonweber/pedl",
3
+ "architectures": [
4
+ "BertForDistantSupervision"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "e1_id": 1,
9
+ "e2_id": 3,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "NONE",
15
+ "1": "ACTIVATOR",
16
+ "2": "AGONIST",
17
+ "3": "AGONIST-ACTIVATOR",
18
+ "4": "AGONIST-INHIBITOR",
19
+ "5": "ANTAGONIST",
20
+ "6": "DIRECT-REGULATOR",
21
+ "7": "INDIRECT-DOWNREGULATOR",
22
+ "8": "INDIRECT-UPREGULATOR",
23
+ "9": "INHIBITOR",
24
+ "10": "PART-OF",
25
+ "11": "PRODUCT-OF",
26
+ "12": "SUBSTRATE",
27
+ "13": "SUBSTRATE_PRODUCT-OF"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "ACTIVATOR": 1,
33
+ "AGONIST": 2,
34
+ "AGONIST-ACTIVATOR": 3,
35
+ "AGONIST-INHIBITOR": 4,
36
+ "ANTAGONIST": 5,
37
+ "DIRECT-REGULATOR": 6,
38
+ "INDIRECT-DOWNREGULATOR": 7,
39
+ "INDIRECT-UPREGULATOR": 8,
40
+ "INHIBITOR": 9,
41
+ "NONE": 0,
42
+ "PART-OF": 10,
43
+ "PRODUCT-OF": 11,
44
+ "SUBSTRATE": 12,
45
+ "SUBSTRATE_PRODUCT-OF": 13
46
+ },
47
+ "layer_norm_eps": 1e-12,
48
+ "max_position_embeddings": 512,
49
+ "model_type": "bert",
50
+ "num_attention_heads": 12,
51
+ "num_hidden_layers": 12,
52
+ "pad_token_id": 0,
53
+ "position_embedding_type": "absolute",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.25.1",
56
+ "type_vocab_size": 2,
57
+ "use_cache": true,
58
+ "vocab_size": 28899
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d76e5fc21616f5c798a118ba58418c2979d7cf7e531bb5b57a8d1ede2e88ece3
3
+ size 433056117