finiteautomata
commited on
Commit
•
e7728f0
1
Parent(s):
db1c348
Upload RobertaForTokenClassification
Browse files- config.json +122 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "PlanTL-GOB-ES/roberta-base-bne",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
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.0,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-FECHAS",
|
17 |
+
"10": "I-INSTITUCION",
|
18 |
+
"11": "B-ID_TITULACION_PERSONAL_SANITARIO",
|
19 |
+
"12": "I-ID_TITULACION_PERSONAL_SANITARIO",
|
20 |
+
"13": "B-CALLE",
|
21 |
+
"14": "I-CALLE",
|
22 |
+
"15": "B-ID_SUJETO_ASISTENCIA",
|
23 |
+
"16": "I-ID_SUJETO_ASISTENCIA",
|
24 |
+
"17": "B-ID_ASEGURAMIENTO",
|
25 |
+
"18": "I-ID_ASEGURAMIENTO",
|
26 |
+
"19": "B-ID_EMPLEO_PERSONAL_SANITARIO",
|
27 |
+
"2": "I-FECHAS",
|
28 |
+
"20": "I-ID_EMPLEO_PERSONAL_SANITARIO",
|
29 |
+
"21": "B-TERRITORIO",
|
30 |
+
"22": "I-TERRITORIO",
|
31 |
+
"23": "B-SEXO_SUJETO_ASISTENCIA",
|
32 |
+
"24": "I-SEXO_SUJETO_ASISTENCIA",
|
33 |
+
"25": "B-CORREO_ELECTRONICO",
|
34 |
+
"26": "I-CORREO_ELECTRONICO",
|
35 |
+
"27": "B-HOSPITAL",
|
36 |
+
"28": "I-HOSPITAL",
|
37 |
+
"29": "B-FAMILIARES_SUJETO_ASISTENCIA",
|
38 |
+
"3": "B-CENTRO_SALUD",
|
39 |
+
"30": "I-FAMILIARES_SUJETO_ASISTENCIA",
|
40 |
+
"31": "B-NUMERO_FAX",
|
41 |
+
"32": "I-NUMERO_FAX",
|
42 |
+
"33": "B-OTROS_SUJETO_ASISTENCIA",
|
43 |
+
"34": "I-OTROS_SUJETO_ASISTENCIA",
|
44 |
+
"35": "B-NUMERO_TELEFONO",
|
45 |
+
"36": "I-NUMERO_TELEFONO",
|
46 |
+
"37": "B-NOMBRE_PERSONAL_SANITARIO",
|
47 |
+
"38": "I-NOMBRE_PERSONAL_SANITARIO",
|
48 |
+
"39": "B-PROFESION",
|
49 |
+
"4": "I-CENTRO_SALUD",
|
50 |
+
"40": "I-PROFESION",
|
51 |
+
"41": "B-EDAD_SUJETO_ASISTENCIA",
|
52 |
+
"42": "I-EDAD_SUJETO_ASISTENCIA",
|
53 |
+
"43": "B-ID_CONTACTO_ASISTENCIAL",
|
54 |
+
"44": "I-ID_CONTACTO_ASISTENCIAL",
|
55 |
+
"5": "B-NOMBRE_SUJETO_ASISTENCIA",
|
56 |
+
"6": "I-NOMBRE_SUJETO_ASISTENCIA",
|
57 |
+
"7": "B-PAIS",
|
58 |
+
"8": "I-PAIS",
|
59 |
+
"9": "B-INSTITUCION"
|
60 |
+
},
|
61 |
+
"initializer_range": 0.02,
|
62 |
+
"intermediate_size": 3072,
|
63 |
+
"label2id": {
|
64 |
+
"B-CALLE": 13,
|
65 |
+
"B-CENTRO_SALUD": 3,
|
66 |
+
"B-CORREO_ELECTRONICO": 25,
|
67 |
+
"B-EDAD_SUJETO_ASISTENCIA": 41,
|
68 |
+
"B-FAMILIARES_SUJETO_ASISTENCIA": 29,
|
69 |
+
"B-FECHAS": 1,
|
70 |
+
"B-HOSPITAL": 27,
|
71 |
+
"B-ID_ASEGURAMIENTO": 17,
|
72 |
+
"B-ID_CONTACTO_ASISTENCIAL": 43,
|
73 |
+
"B-ID_EMPLEO_PERSONAL_SANITARIO": 19,
|
74 |
+
"B-ID_SUJETO_ASISTENCIA": 15,
|
75 |
+
"B-ID_TITULACION_PERSONAL_SANITARIO": 11,
|
76 |
+
"B-INSTITUCION": 9,
|
77 |
+
"B-NOMBRE_PERSONAL_SANITARIO": 37,
|
78 |
+
"B-NOMBRE_SUJETO_ASISTENCIA": 5,
|
79 |
+
"B-NUMERO_FAX": 31,
|
80 |
+
"B-NUMERO_TELEFONO": 35,
|
81 |
+
"B-OTROS_SUJETO_ASISTENCIA": 33,
|
82 |
+
"B-PAIS": 7,
|
83 |
+
"B-PROFESION": 39,
|
84 |
+
"B-SEXO_SUJETO_ASISTENCIA": 23,
|
85 |
+
"B-TERRITORIO": 21,
|
86 |
+
"I-CALLE": 14,
|
87 |
+
"I-CENTRO_SALUD": 4,
|
88 |
+
"I-CORREO_ELECTRONICO": 26,
|
89 |
+
"I-EDAD_SUJETO_ASISTENCIA": 42,
|
90 |
+
"I-FAMILIARES_SUJETO_ASISTENCIA": 30,
|
91 |
+
"I-FECHAS": 2,
|
92 |
+
"I-HOSPITAL": 28,
|
93 |
+
"I-ID_ASEGURAMIENTO": 18,
|
94 |
+
"I-ID_CONTACTO_ASISTENCIAL": 44,
|
95 |
+
"I-ID_EMPLEO_PERSONAL_SANITARIO": 20,
|
96 |
+
"I-ID_SUJETO_ASISTENCIA": 16,
|
97 |
+
"I-ID_TITULACION_PERSONAL_SANITARIO": 12,
|
98 |
+
"I-INSTITUCION": 10,
|
99 |
+
"I-NOMBRE_PERSONAL_SANITARIO": 38,
|
100 |
+
"I-NOMBRE_SUJETO_ASISTENCIA": 6,
|
101 |
+
"I-NUMERO_FAX": 32,
|
102 |
+
"I-NUMERO_TELEFONO": 36,
|
103 |
+
"I-OTROS_SUJETO_ASISTENCIA": 34,
|
104 |
+
"I-PAIS": 8,
|
105 |
+
"I-PROFESION": 40,
|
106 |
+
"I-SEXO_SUJETO_ASISTENCIA": 24,
|
107 |
+
"I-TERRITORIO": 22,
|
108 |
+
"O": 0
|
109 |
+
},
|
110 |
+
"layer_norm_eps": 1e-05,
|
111 |
+
"max_position_embeddings": 514,
|
112 |
+
"model_type": "roberta",
|
113 |
+
"num_attention_heads": 12,
|
114 |
+
"num_hidden_layers": 12,
|
115 |
+
"pad_token_id": 1,
|
116 |
+
"position_embedding_type": "absolute",
|
117 |
+
"torch_dtype": "float32",
|
118 |
+
"transformers_version": "4.31.0",
|
119 |
+
"type_vocab_size": 1,
|
120 |
+
"use_cache": true,
|
121 |
+
"vocab_size": 50262
|
122 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:411b1e1f38a21f706d1bbe9e9c02b24afed0c0756e5f0570548cbac80ba98844
|
3 |
+
size 496417641
|