kevinzhang120
commited on
Upload tokenizer
Browse files- special_tokens_map.json +1 -0
- tokenizer.json +14 -2
- tokenizer.model +2 -2
- tokenizer_config.json +2 -1
special_tokens_map.json
CHANGED
@@ -23,6 +23,7 @@
|
|
23 |
"rstrip": false,
|
24 |
"single_word": false
|
25 |
},
|
|
|
26 |
"unk_token": {
|
27 |
"content": "<unk>",
|
28 |
"lstrip": false,
|
|
|
23 |
"rstrip": false,
|
24 |
"single_word": false
|
25 |
},
|
26 |
+
"pad_token": "</s>",
|
27 |
"unk_token": {
|
28 |
"content": "<unk>",
|
29 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -1,7 +1,19 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 2048,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
+
"padding": {
|
10 |
+
"strategy": "BatchLongest",
|
11 |
+
"direction": "Right",
|
12 |
+
"pad_to_multiple_of": null,
|
13 |
+
"pad_id": 2,
|
14 |
+
"pad_type_id": 0,
|
15 |
+
"pad_token": "</s>"
|
16 |
+
},
|
17 |
"added_tokens": [
|
18 |
{
|
19 |
"id": 0,
|
tokenizer.model
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
|
3 |
+
size 500058
|
tokenizer_config.json
CHANGED
@@ -77,7 +77,8 @@
|
|
77 |
"legacy": null,
|
78 |
"middle_token": "▁<MID>",
|
79 |
"model_max_length": 1000000000000000019884624838656,
|
80 |
-
"pad_token":
|
|
|
81 |
"prefix_token": "▁<PRE>",
|
82 |
"sp_model_kwargs": {},
|
83 |
"suffix_token": "▁<SUF>",
|
|
|
77 |
"legacy": null,
|
78 |
"middle_token": "▁<MID>",
|
79 |
"model_max_length": 1000000000000000019884624838656,
|
80 |
+
"pad_token": "</s>",
|
81 |
+
"padding_side": "right",
|
82 |
"prefix_token": "▁<PRE>",
|
83 |
"sp_model_kwargs": {},
|
84 |
"suffix_token": "▁<SUF>",
|