shahidul034
commited on
Commit
•
e6c6975
1
Parent(s):
f05cc16
Upload tokenizer
Browse files- special_tokens_map.json +5 -35
- tokenizer.json +8 -1
- tokenizer_config.json +0 -4
special_tokens_map.json
CHANGED
@@ -1,37 +1,7 @@
|
|
1 |
{
|
2 |
-
"cls_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"mask_token": {
|
10 |
-
"content": "[MASK]",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"pad_token": {
|
17 |
-
"content": "[PAD]",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"sep_token": {
|
24 |
-
"content": "[SEP]",
|
25 |
-
"lstrip": false,
|
26 |
-
"normalized": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
},
|
30 |
-
"unk_token": {
|
31 |
-
"content": "[UNK]",
|
32 |
-
"lstrip": false,
|
33 |
-
"normalized": false,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false
|
36 |
-
}
|
37 |
}
|
|
|
1 |
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
tokenizer.json
CHANGED
@@ -6,7 +6,14 @@
|
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
-
"padding":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"added_tokens": [
|
11 |
{
|
12 |
"id": 0,
|
|
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
+
"padding": {
|
10 |
+
"strategy": "BatchLongest",
|
11 |
+
"direction": "Right",
|
12 |
+
"pad_to_multiple_of": null,
|
13 |
+
"pad_id": 0,
|
14 |
+
"pad_type_id": 0,
|
15 |
+
"pad_token": "[PAD]"
|
16 |
+
},
|
17 |
"added_tokens": [
|
18 |
{
|
19 |
"id": 0,
|
tokenizer_config.json
CHANGED
@@ -47,16 +47,12 @@
|
|
47 |
"do_lower_case": false,
|
48 |
"full_tokenizer_file": null,
|
49 |
"mask_token": "[MASK]",
|
50 |
-
"max_length": 512,
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
52 |
"never_split": null,
|
53 |
"pad_token": "[PAD]",
|
54 |
"sep_token": "[SEP]",
|
55 |
-
"stride": 0,
|
56 |
"strip_accents": null,
|
57 |
"tokenize_chinese_chars": false,
|
58 |
"tokenizer_class": "ElectraTokenizer",
|
59 |
-
"truncation_side": "right",
|
60 |
-
"truncation_strategy": "longest_first",
|
61 |
"unk_token": "[UNK]"
|
62 |
}
|
|
|
47 |
"do_lower_case": false,
|
48 |
"full_tokenizer_file": null,
|
49 |
"mask_token": "[MASK]",
|
|
|
50 |
"model_max_length": 1000000000000000019884624838656,
|
51 |
"never_split": null,
|
52 |
"pad_token": "[PAD]",
|
53 |
"sep_token": "[SEP]",
|
|
|
54 |
"strip_accents": null,
|
55 |
"tokenize_chinese_chars": false,
|
56 |
"tokenizer_class": "ElectraTokenizer",
|
|
|
|
|
57 |
"unk_token": "[UNK]"
|
58 |
}
|