janrodriguez commited on
Commit
9cff0c3
1 Parent(s): e01baac

Initial commit

Browse files
config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PlanTL-GOB-ES/bsc-bio-ehr-es",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": 0.5,
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": "O",
16
+ "1": "B-CALLE",
17
+ "2": "I-CALLE",
18
+ "3": "B-CENTRO_SALUD",
19
+ "4": "I-CENTRO_SALUD",
20
+ "5": "B-EDAD_SUJETO_ASISTENCIA",
21
+ "6": "I-EDAD_SUJETO_ASISTENCIA",
22
+ "7": "B-FAMILIARES_SUJETO_ASISTENCIA",
23
+ "8": "I-FAMILIARES_SUJETO_ASISTENCIA",
24
+ "9": "B-FECHAS",
25
+ "10": "I-FECHAS",
26
+ "11": "B-HOSPITAL",
27
+ "12": "I-HOSPITAL",
28
+ "13": "B-ID_CONTACTO_ASISTENCIAL",
29
+ "14": "I-ID_CONTACTO_ASISTENCIAL",
30
+ "15": "B-ID_SUJETO_ASISTENCIA",
31
+ "16": "I-ID_SUJETO_ASISTENCIA",
32
+ "17": "B-INSTITUCION",
33
+ "18": "I-INSTITUCION",
34
+ "19": "B-NOMBRE_PERSONAL_SANITARIO",
35
+ "20": "I-NOMBRE_PERSONAL_SANITARIO",
36
+ "21": "B-NUMERO_IDENTIF",
37
+ "22": "I-NUMERO_IDENTIF",
38
+ "23": "B-NUMERO_TELEFONO",
39
+ "24": "I-NUMERO_TELEFONO",
40
+ "25": "B-OTROS_SUJETO_ASISTENCIA",
41
+ "26": "I-OTROS_SUJETO_ASISTENCIA",
42
+ "27": "B-PAIS",
43
+ "28": "I-PAIS",
44
+ "29": "B-PROFESION",
45
+ "30": "I-PROFESION",
46
+ "31": "B-SEXO_SUJETO_ASISTENCIA",
47
+ "32": "I-SEXO_SUJETO_ASISTENCIA",
48
+ "33": "B-TERRITORIO",
49
+ "34": "I-TERRITORIO",
50
+ "35": "B-URL_WEB",
51
+ "36": "I-URL_WEB"
52
+ },
53
+ "initializer_range": 0.02,
54
+ "intermediate_size": 3072,
55
+ "label2id": {
56
+ "B-CALLE": 1,
57
+ "B-CENTRO_SALUD": 3,
58
+ "B-EDAD_SUJETO_ASISTENCIA": 5,
59
+ "B-FAMILIARES_SUJETO_ASISTENCIA": 7,
60
+ "B-FECHAS": 9,
61
+ "B-HOSPITAL": 11,
62
+ "B-ID_CONTACTO_ASISTENCIAL": 13,
63
+ "B-ID_SUJETO_ASISTENCIA": 15,
64
+ "B-INSTITUCION": 17,
65
+ "B-NOMBRE_PERSONAL_SANITARIO": 19,
66
+ "B-NUMERO_IDENTIF": 21,
67
+ "B-NUMERO_TELEFONO": 23,
68
+ "B-OTROS_SUJETO_ASISTENCIA": 25,
69
+ "B-PAIS": 27,
70
+ "B-PROFESION": 29,
71
+ "B-SEXO_SUJETO_ASISTENCIA": 31,
72
+ "B-TERRITORIO": 33,
73
+ "B-URL_WEB": 35,
74
+ "I-CALLE": 2,
75
+ "I-CENTRO_SALUD": 4,
76
+ "I-EDAD_SUJETO_ASISTENCIA": 6,
77
+ "I-FAMILIARES_SUJETO_ASISTENCIA": 8,
78
+ "I-FECHAS": 10,
79
+ "I-HOSPITAL": 12,
80
+ "I-ID_CONTACTO_ASISTENCIAL": 14,
81
+ "I-ID_SUJETO_ASISTENCIA": 16,
82
+ "I-INSTITUCION": 18,
83
+ "I-NOMBRE_PERSONAL_SANITARIO": 20,
84
+ "I-NUMERO_IDENTIF": 22,
85
+ "I-NUMERO_TELEFONO": 24,
86
+ "I-OTROS_SUJETO_ASISTENCIA": 26,
87
+ "I-PAIS": 28,
88
+ "I-PROFESION": 30,
89
+ "I-SEXO_SUJETO_ASISTENCIA": 32,
90
+ "I-TERRITORIO": 34,
91
+ "I-URL_WEB": 36,
92
+ "O": 0
93
+ },
94
+ "layer_norm_eps": 1e-05,
95
+ "max_position_embeddings": 514,
96
+ "model_type": "roberta",
97
+ "num_attention_heads": 12,
98
+ "num_hidden_layers": 12,
99
+ "pad_token_id": 1,
100
+ "position_embedding_type": "absolute",
101
+ "torch_dtype": "float32",
102
+ "transformers_version": "4.30.1",
103
+ "type_vocab_size": 1,
104
+ "use_cache": true,
105
+ "vocab_size": 50262
106
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8b2976c284b72db42adf97df8d5a1609ca477f3abdae71a5d201d4d3ff89acd
3
+ size 496395825
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "clean_up_tokenization_spaces": true,
12
+ "cls_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "eos_token": {
21
+ "__type": "AddedToken",
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "errors": "replace",
29
+ "mask_token": {
30
+ "__type": "AddedToken",
31
+ "content": "<mask>",
32
+ "lstrip": true,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "max_len": 512,
38
+ "model_max_length": 512,
39
+ "pad_token": {
40
+ "__type": "AddedToken",
41
+ "content": "<pad>",
42
+ "lstrip": false,
43
+ "normalized": true,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ },
47
+ "sep_token": {
48
+ "__type": "AddedToken",
49
+ "content": "</s>",
50
+ "lstrip": false,
51
+ "normalized": true,
52
+ "rstrip": false,
53
+ "single_word": false
54
+ },
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": {
58
+ "__type": "AddedToken",
59
+ "content": "<unk>",
60
+ "lstrip": false,
61
+ "normalized": true,
62
+ "rstrip": false,
63
+ "single_word": false
64
+ }
65
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a9075a8d16c955914f9c7afda984d5dd4454bc2a579f62f4c8fda21e438dbe6
3
+ size 3951
vocab.json ADDED
The diff for this file is too large to render. See raw diff