GuillemGSubies
commited on
Commit
•
69e9752
1
Parent(s):
16e464b
Upload the model
Browse files- config.json +120 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "PlanTL-GOB-ES/bsc-bio-ehr-es-16-4e-05-0-meddocan_best",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": 0,
|
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": "LABEL_0",
|
16 |
+
"1": "LABEL_1",
|
17 |
+
"2": "LABEL_2",
|
18 |
+
"3": "LABEL_3",
|
19 |
+
"4": "LABEL_4",
|
20 |
+
"5": "LABEL_5",
|
21 |
+
"6": "LABEL_6",
|
22 |
+
"7": "LABEL_7",
|
23 |
+
"8": "LABEL_8",
|
24 |
+
"9": "LABEL_9",
|
25 |
+
"10": "LABEL_10",
|
26 |
+
"11": "LABEL_11",
|
27 |
+
"12": "LABEL_12",
|
28 |
+
"13": "LABEL_13",
|
29 |
+
"14": "LABEL_14",
|
30 |
+
"15": "LABEL_15",
|
31 |
+
"16": "LABEL_16",
|
32 |
+
"17": "LABEL_17",
|
33 |
+
"18": "LABEL_18",
|
34 |
+
"19": "LABEL_19",
|
35 |
+
"20": "LABEL_20",
|
36 |
+
"21": "LABEL_21",
|
37 |
+
"22": "LABEL_22",
|
38 |
+
"23": "LABEL_23",
|
39 |
+
"24": "LABEL_24",
|
40 |
+
"25": "LABEL_25",
|
41 |
+
"26": "LABEL_26",
|
42 |
+
"27": "LABEL_27",
|
43 |
+
"28": "LABEL_28",
|
44 |
+
"29": "LABEL_29",
|
45 |
+
"30": "LABEL_30",
|
46 |
+
"31": "LABEL_31",
|
47 |
+
"32": "LABEL_32",
|
48 |
+
"33": "LABEL_33",
|
49 |
+
"34": "LABEL_34",
|
50 |
+
"35": "LABEL_35",
|
51 |
+
"36": "LABEL_36",
|
52 |
+
"37": "LABEL_37",
|
53 |
+
"38": "LABEL_38",
|
54 |
+
"39": "LABEL_39",
|
55 |
+
"40": "LABEL_40",
|
56 |
+
"41": "LABEL_41",
|
57 |
+
"42": "LABEL_42",
|
58 |
+
"43": "LABEL_43"
|
59 |
+
},
|
60 |
+
"initializer_range": 0.02,
|
61 |
+
"intermediate_size": 3072,
|
62 |
+
"label2id": {
|
63 |
+
"B-CALLE": 0,
|
64 |
+
"B-CENTRO_SALUD": 2,
|
65 |
+
"B-CORREO_ELECTRONICO": 4,
|
66 |
+
"B-EDAD_SUJETO_ASISTENCIA": 6,
|
67 |
+
"B-FAMILIARES_SUJETO_ASISTENCIA": 8,
|
68 |
+
"B-FECHAS": 10,
|
69 |
+
"B-HOSPITAL": 12,
|
70 |
+
"B-ID_ASEGURAMIENTO": 14,
|
71 |
+
"B-ID_CONTACTO_ASISTENCIAL": 16,
|
72 |
+
"B-ID_EMPLEO_PERSONAL_SANITARIO": 17,
|
73 |
+
"B-ID_SUJETO_ASISTENCIA": 19,
|
74 |
+
"B-ID_TITULACION_PERSONAL_SANITARIO": 21,
|
75 |
+
"B-INSTITUCION": 23,
|
76 |
+
"B-NOMBRE_PERSONAL_SANITARIO": 25,
|
77 |
+
"B-NOMBRE_SUJETO_ASISTENCIA": 27,
|
78 |
+
"B-NUMERO_FAX": 29,
|
79 |
+
"B-NUMERO_TELEFONO": 31,
|
80 |
+
"B-OTROS_SUJETO_ASISTENCIA": 34,
|
81 |
+
"B-PAIS": 36,
|
82 |
+
"B-PROFESION": 38,
|
83 |
+
"B-SEXO_SUJETO_ASISTENCIA": 40,
|
84 |
+
"B-TERRITORIO": 42,
|
85 |
+
"I-CALLE": 1,
|
86 |
+
"I-CENTRO_SALUD": 3,
|
87 |
+
"I-CORREO_ELECTRONICO": 5,
|
88 |
+
"I-EDAD_SUJETO_ASISTENCIA": 7,
|
89 |
+
"I-FAMILIARES_SUJETO_ASISTENCIA": 9,
|
90 |
+
"I-FECHAS": 11,
|
91 |
+
"I-HOSPITAL": 13,
|
92 |
+
"I-ID_ASEGURAMIENTO": 15,
|
93 |
+
"I-ID_EMPLEO_PERSONAL_SANITARIO": 18,
|
94 |
+
"I-ID_SUJETO_ASISTENCIA": 20,
|
95 |
+
"I-ID_TITULACION_PERSONAL_SANITARIO": 22,
|
96 |
+
"I-INSTITUCION": 24,
|
97 |
+
"I-NOMBRE_PERSONAL_SANITARIO": 26,
|
98 |
+
"I-NOMBRE_SUJETO_ASISTENCIA": 28,
|
99 |
+
"I-NUMERO_FAX": 30,
|
100 |
+
"I-NUMERO_TELEFONO": 32,
|
101 |
+
"I-OTROS_SUJETO_ASISTENCIA": 35,
|
102 |
+
"I-PAIS": 37,
|
103 |
+
"I-PROFESION": 39,
|
104 |
+
"I-SEXO_SUJETO_ASISTENCIA": 41,
|
105 |
+
"I-TERRITORIO": 43,
|
106 |
+
"O": 33
|
107 |
+
},
|
108 |
+
"layer_norm_eps": 1e-05,
|
109 |
+
"max_position_embeddings": 514,
|
110 |
+
"model_type": "roberta",
|
111 |
+
"num_attention_heads": 12,
|
112 |
+
"num_hidden_layers": 12,
|
113 |
+
"pad_token_id": 1,
|
114 |
+
"position_embedding_type": "absolute",
|
115 |
+
"torch_dtype": "float32",
|
116 |
+
"transformers_version": "4.25.1",
|
117 |
+
"type_vocab_size": 1,
|
118 |
+
"use_cache": true,
|
119 |
+
"vocab_size": 50262
|
120 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:533a4504d77af271c606cc7f5afc7c70bd56cd53d2d4af41320c2b55ea8b0d0a
|
3 |
+
size 498779189
|