lcampillos
commited on
Commit
•
76a7b70
1
Parent(s):
c1fed6f
Upload RobertaForTokenClassification
Browse files- config.json +54 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-es-clinical-trials-attributes-ner",
|
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-Family_member",
|
16 |
+
"1": "I-Family_member",
|
17 |
+
"2": "B-Other",
|
18 |
+
"3": "I-Other",
|
19 |
+
"4": "B-Patient",
|
20 |
+
"5": "I-Patient",
|
21 |
+
"6": "B-History_of",
|
22 |
+
"7": "I-History_of",
|
23 |
+
"8": "B-Future",
|
24 |
+
"9": "I-Future",
|
25 |
+
"10": "O"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"B-Family_member": 0,
|
31 |
+
"B-Future": 8,
|
32 |
+
"B-History_of": 6,
|
33 |
+
"B-Other": 2,
|
34 |
+
"B-Patient": 4,
|
35 |
+
"I-Family_member": 1,
|
36 |
+
"I-Future": 9,
|
37 |
+
"I-History_of": 7,
|
38 |
+
"I-Other": 3,
|
39 |
+
"I-Patient": 5,
|
40 |
+
"O": 10
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-05,
|
43 |
+
"max_position_embeddings": 514,
|
44 |
+
"model_type": "roberta",
|
45 |
+
"num_attention_heads": 12,
|
46 |
+
"num_hidden_layers": 12,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"position_embedding_type": "absolute",
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.29.2",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 50262
|
54 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f96ce34394fd4595d3c409d90719af0d0916c9af104cca43d646d9fd0279afe0
|
3 |
+
size 496314733
|