lcampillos commited on
Commit
197a3e4
·
1 Parent(s): a808e51

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +8 -4
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "roberta-es-clinical-trials-medic-attr-ner",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
@@ -18,18 +18,22 @@
18
  "3": "I-Form",
19
  "4": "B-Route",
20
  "5": "I-Route",
21
- "6": "O"
 
 
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
 
26
  "B-Dose": 0,
27
  "B-Form": 2,
28
  "B-Route": 4,
 
29
  "I-Dose": 1,
30
  "I-Form": 3,
31
  "I-Route": 5,
32
- "O": 6
33
  },
34
  "layer_norm_eps": 1e-05,
35
  "max_position_embeddings": 514,
@@ -39,7 +43,7 @@
39
  "pad_token_id": 1,
40
  "position_embedding_type": "absolute",
41
  "torch_dtype": "float32",
42
- "transformers_version": "4.16.2",
43
  "type_vocab_size": 1,
44
  "use_cache": true,
45
  "vocab_size": 50262
 
1
  {
2
+ "_name_or_path": "/home/leonardo/data/huggingface/bsc-bio-ehr-es",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
 
18
  "3": "I-Form",
19
  "4": "B-Route",
20
  "5": "I-Route",
21
+ "6": "B-Contraindicated",
22
+ "7": "I-Contraindicated",
23
+ "8": "O"
24
  },
25
  "initializer_range": 0.02,
26
  "intermediate_size": 3072,
27
  "label2id": {
28
+ "B-Contraindicated": 6,
29
  "B-Dose": 0,
30
  "B-Form": 2,
31
  "B-Route": 4,
32
+ "I-Contraindicated": 7,
33
  "I-Dose": 1,
34
  "I-Form": 3,
35
  "I-Route": 5,
36
+ "O": 8
37
  },
38
  "layer_norm_eps": 1e-05,
39
  "max_position_embeddings": 514,
 
43
  "pad_token_id": 1,
44
  "position_embedding_type": "absolute",
45
  "torch_dtype": "float32",
46
+ "transformers_version": "4.17.0",
47
  "type_vocab_size": 1,
48
  "use_cache": true,
49
  "vocab_size": 50262