lcampillos commited on
Commit
e7d5ae9
1 Parent(s): 76c8cc8
Files changed (2) hide show
  1. config.json +50 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-es-clinical-trials-neg-spec",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B-Neg_cue",
16
+ "1": "I-Neg_cue",
17
+ "2": "B-Spec_cue",
18
+ "3": "I-Spec_cue",
19
+ "4": "B-Negated",
20
+ "5": "I-Negated",
21
+ "6": "B-Speculated",
22
+ "7": "I-Speculated",
23
+ "8": "O"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "B-Neg_cue": 0,
29
+ "B-Negated": 4,
30
+ "B-Spec_cue": 2,
31
+ "B-Speculated": 6,
32
+ "I-Neg_cue": 1,
33
+ "I-Negated": 5,
34
+ "I-Spec_cue": 3,
35
+ "I-Speculated": 7,
36
+ "O": 8
37
+ },
38
+ "layer_norm_eps": 1e-05,
39
+ "max_position_embeddings": 514,
40
+ "model_type": "roberta",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 1,
44
+ "position_embedding_type": "absolute",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.16.2",
47
+ "type_vocab_size": 1,
48
+ "use_cache": true,
49
+ "vocab_size": 50262
50
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56f0b56e479da404bb45ad178b780726c2a13b4760c3fa5d883df460ef3216cc
3
+ size 496320561