lcampillos commited on
Commit
3df6bb5
·
verified ·
1 Parent(s): 90d68ab

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +57 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mbert-base-clinical-trials-attributes",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "B-Family_member",
14
+ "1": "I-Family_member",
15
+ "2": "B-Other",
16
+ "3": "I-Other",
17
+ "4": "B-Patient",
18
+ "5": "I-Patient",
19
+ "6": "B-History_of",
20
+ "7": "I-History_of",
21
+ "8": "B-Future",
22
+ "9": "I-Future",
23
+ "10": "O"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "B-Family_member": 0,
29
+ "B-Future": 8,
30
+ "B-History_of": 6,
31
+ "B-Other": 2,
32
+ "B-Patient": 4,
33
+ "I-Family_member": 1,
34
+ "I-Future": 9,
35
+ "I-History_of": 7,
36
+ "I-Other": 3,
37
+ "I-Patient": 5,
38
+ "O": 10
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "max_position_embeddings": 512,
42
+ "model_type": "bert",
43
+ "num_attention_heads": 12,
44
+ "num_hidden_layers": 12,
45
+ "pad_token_id": 0,
46
+ "pooler_fc_size": 768,
47
+ "pooler_num_attention_heads": 12,
48
+ "pooler_num_fc_layers": 3,
49
+ "pooler_size_per_head": 128,
50
+ "pooler_type": "first_token_transform",
51
+ "position_embedding_type": "absolute",
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.28.0",
54
+ "type_vocab_size": 2,
55
+ "use_cache": true,
56
+ "vocab_size": 119547
57
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:019edaf30fd30b41d453c3304505a47d9f560c432fd7501c9ba589c87c542a92
3
+ size 709154541