lbolanos commited on
Commit
8dba2b8
1 Parent(s): 9115151

First version of the medslabs model and tokenizer.

Browse files
README.md ADDED
@@ -0,0 +1 @@
 
1
+ Med Labs Cariai
config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "spanberta-ner",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "eos_token_ids": null,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B-AMOU",
16
+ "1": "B-CED",
17
+ "2": "B-CONC",
18
+ "3": "B-DATE",
19
+ "4": "B-DOSE",
20
+ "5": "B-FORM",
21
+ "6": "B-FREQ",
22
+ "7": "B-IDTY",
23
+ "8": "B-LAB",
24
+ "9": "B-LOC",
25
+ "10": "B-MED",
26
+ "11": "B-MISC",
27
+ "12": "B-ORG",
28
+ "13": "B-PER",
29
+ "14": "B-PERI",
30
+ "15": "B-POS",
31
+ "16": "B-PROC",
32
+ "17": "B-ROA",
33
+ "18": "I-AMOU",
34
+ "19": "I-CED",
35
+ "20": "I-CONC",
36
+ "21": "I-DATE",
37
+ "22": "I-DOSE",
38
+ "23": "I-FORM",
39
+ "24": "I-FREQ",
40
+ "25": "I-IDTY",
41
+ "26": "I-LAB",
42
+ "27": "I-LOC",
43
+ "28": "I-MED",
44
+ "29": "I-MISC",
45
+ "30": "I-ORG",
46
+ "31": "I-PER",
47
+ "32": "I-PERI",
48
+ "33": "I-POS",
49
+ "34": "I-PROC",
50
+ "35": "I-ROA",
51
+ "36": "O"
52
+ },
53
+ "initializer_range": 0.02,
54
+ "intermediate_size": 3072,
55
+ "label2id": {
56
+ "B-AMOU": 0,
57
+ "B-CED": 1,
58
+ "B-CONC": 2,
59
+ "B-DATE": 3,
60
+ "B-DOSE": 4,
61
+ "B-FORM": 5,
62
+ "B-FREQ": 6,
63
+ "B-IDTY": 7,
64
+ "B-LAB": 8,
65
+ "B-LOC": 9,
66
+ "B-MED": 10,
67
+ "B-MISC": 11,
68
+ "B-ORG": 12,
69
+ "B-PER": 13,
70
+ "B-PERI": 14,
71
+ "B-POS": 15,
72
+ "B-PROC": 16,
73
+ "B-ROA": 17,
74
+ "I-AMOU": 18,
75
+ "I-CED": 19,
76
+ "I-CONC": 20,
77
+ "I-DATE": 21,
78
+ "I-DOSE": 22,
79
+ "I-FORM": 23,
80
+ "I-FREQ": 24,
81
+ "I-IDTY": 25,
82
+ "I-LAB": 26,
83
+ "I-LOC": 27,
84
+ "I-MED": 28,
85
+ "I-MISC": 29,
86
+ "I-ORG": 30,
87
+ "I-PER": 31,
88
+ "I-PERI": 32,
89
+ "I-POS": 33,
90
+ "I-PROC": 34,
91
+ "I-ROA": 35,
92
+ "O": 36
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
+ "output_past": true,
100
+ "pad_token_id": 1,
101
+ "type_vocab_size": 1,
102
+ "vocab_size": 50265
103
+ }
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:9df21e50b8a8d4dc770df52adeaac53aa461e8c39578a34c2592abc787ebb5f7
3
+ size 496386543
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": "<mask>"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"errors": "replace", "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "max_len": 512, "do_lower_case": false, "special_tokens_map_file": "spanberta-ner/special_tokens_map.json", "tokenizer_file": null, "name_or_path": "spanberta-ner"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff