Upload tokenizer
Browse files- added_tokens.json +19 -0
- merges.txt +0 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +74 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</head>": 50269,
|
3 |
+
"</tail>": 50271,
|
4 |
+
"<date>": 50278,
|
5 |
+
"<dept>": 50275,
|
6 |
+
"<durt>": 50280,
|
7 |
+
"<evid>": 50276,
|
8 |
+
"<freq>": 50281,
|
9 |
+
"<head>": 50268,
|
10 |
+
"<obj>": 50265,
|
11 |
+
"<occr>": 50277,
|
12 |
+
"<prob>": 50272,
|
13 |
+
"<subj>": 50266,
|
14 |
+
"<tail>": 50270,
|
15 |
+
"<test>": 50273,
|
16 |
+
"<time>": 50279,
|
17 |
+
"<tret>": 50274,
|
18 |
+
"<triplet>": 50267
|
19 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<obj>",
|
4 |
+
"<subj>",
|
5 |
+
"<triplet>",
|
6 |
+
"<head>",
|
7 |
+
"</head>",
|
8 |
+
"<tail>",
|
9 |
+
"</tail>"
|
10 |
+
],
|
11 |
+
"bos_token": "<s>",
|
12 |
+
"cls_token": "<s>",
|
13 |
+
"eos_token": "</s>",
|
14 |
+
"mask_token": {
|
15 |
+
"content": "<mask>",
|
16 |
+
"lstrip": true,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"pad_token": "<pad>",
|
22 |
+
"sep_token": "</s>",
|
23 |
+
"unk_token": "<unk>"
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"additional_special_tokens": [
|
4 |
+
"<obj>",
|
5 |
+
"<subj>",
|
6 |
+
"<triplet>",
|
7 |
+
"<head>",
|
8 |
+
"</head>",
|
9 |
+
"<tail>",
|
10 |
+
"</tail>"
|
11 |
+
],
|
12 |
+
"bos_token": {
|
13 |
+
"__type": "AddedToken",
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"cls_token": {
|
21 |
+
"__type": "AddedToken",
|
22 |
+
"content": "<s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"eos_token": {
|
29 |
+
"__type": "AddedToken",
|
30 |
+
"content": "</s>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": true,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false
|
35 |
+
},
|
36 |
+
"errors": "replace",
|
37 |
+
"mask_token": {
|
38 |
+
"__type": "AddedToken",
|
39 |
+
"content": "<mask>",
|
40 |
+
"lstrip": true,
|
41 |
+
"normalized": true,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false
|
44 |
+
},
|
45 |
+
"model_max_length": 1024,
|
46 |
+
"name_or_path": "/content/drive/MyDrive/Colab/ClinicalREBEL/model/",
|
47 |
+
"pad_token": {
|
48 |
+
"__type": "AddedToken",
|
49 |
+
"content": "<pad>",
|
50 |
+
"lstrip": false,
|
51 |
+
"normalized": true,
|
52 |
+
"rstrip": false,
|
53 |
+
"single_word": false
|
54 |
+
},
|
55 |
+
"sep_token": {
|
56 |
+
"__type": "AddedToken",
|
57 |
+
"content": "</s>",
|
58 |
+
"lstrip": false,
|
59 |
+
"normalized": true,
|
60 |
+
"rstrip": false,
|
61 |
+
"single_word": false
|
62 |
+
},
|
63 |
+
"special_tokens_map_file": null,
|
64 |
+
"tokenizer_class": "BartTokenizer",
|
65 |
+
"trim_offsets": true,
|
66 |
+
"unk_token": {
|
67 |
+
"__type": "AddedToken",
|
68 |
+
"content": "<unk>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": true,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false
|
73 |
+
}
|
74 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|