Update tokenizer_config.json
#2
by
Raj-Sanjay-Shah
- opened
- tokenizer_config.json +11 -60
tokenizer_config.json
CHANGED
@@ -1,61 +1,4 @@
|
|
1 |
{
|
2 |
-
"errors": "replace",
|
3 |
-
"bos_token": {
|
4 |
-
"content": "<s>",
|
5 |
-
"single_word": false,
|
6 |
-
"lstrip": false,
|
7 |
-
"rstrip": false,
|
8 |
-
"normalized": true,
|
9 |
-
"__type": "AddedToken"
|
10 |
-
},
|
11 |
-
"eos_token": {
|
12 |
-
"content": "</s>",
|
13 |
-
"single_word": false,
|
14 |
-
"lstrip": false,
|
15 |
-
"rstrip": false,
|
16 |
-
"normalized": true,
|
17 |
-
"__type": "AddedToken"
|
18 |
-
},
|
19 |
-
"unk_token": {
|
20 |
-
"content": "<unk>",
|
21 |
-
"single_word": false,
|
22 |
-
"lstrip": false,
|
23 |
-
"rstrip": false,
|
24 |
-
"normalized": true,
|
25 |
-
"__type": "AddedToken"
|
26 |
-
},
|
27 |
-
"sep_token": {
|
28 |
-
"content": "</s>",
|
29 |
-
"single_word": false,
|
30 |
-
"lstrip": false,
|
31 |
-
"rstrip": false,
|
32 |
-
"normalized": true,
|
33 |
-
"__type": "AddedToken"
|
34 |
-
},
|
35 |
-
"cls_token": {
|
36 |
-
"content": "<s>",
|
37 |
-
"single_word": false,
|
38 |
-
"lstrip": false,
|
39 |
-
"rstrip": false,
|
40 |
-
"normalized": true,
|
41 |
-
"__type": "AddedToken"
|
42 |
-
},
|
43 |
-
"pad_token": {
|
44 |
-
"content": "<pad>",
|
45 |
-
"single_word": false,
|
46 |
-
"lstrip": false,
|
47 |
-
"rstrip": false,
|
48 |
-
"normalized": true,
|
49 |
-
"__type": "AddedToken"
|
50 |
-
},
|
51 |
-
"mask_token": {
|
52 |
-
"content": "<mask>",
|
53 |
-
"single_word": false,
|
54 |
-
"lstrip": true,
|
55 |
-
"rstrip": false,
|
56 |
-
"normalized": true,
|
57 |
-
"__type": "AddedToken"
|
58 |
-
},
|
59 |
"add_prefix_space": true,
|
60 |
"added_tokens_decoder": {
|
61 |
"0": {
|
@@ -99,15 +42,23 @@
|
|
99 |
"special": true
|
100 |
}
|
101 |
},
|
|
|
102 |
"clean_up_tokenization_spaces": true,
|
|
|
|
|
|
|
|
|
103 |
"max_length": 128,
|
104 |
-
"model_max_length":
|
105 |
"pad_to_multiple_of": null,
|
|
|
106 |
"pad_token_type_id": 0,
|
107 |
"padding_side": "right",
|
|
|
108 |
"stride": 0,
|
|
|
109 |
"trim_offsets": true,
|
110 |
"truncation_side": "right",
|
111 |
"truncation_strategy": "longest_first",
|
112 |
-
"
|
113 |
-
}
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"add_prefix_space": true,
|
3 |
"added_tokens_decoder": {
|
4 |
"0": {
|
|
|
42 |
"special": true
|
43 |
}
|
44 |
},
|
45 |
+
"bos_token": "<s>",
|
46 |
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
"max_length": 128,
|
52 |
+
"model_max_length": 1000000000000000019884624838656,
|
53 |
"pad_to_multiple_of": null,
|
54 |
+
"pad_token": "<pad>",
|
55 |
"pad_token_type_id": 0,
|
56 |
"padding_side": "right",
|
57 |
+
"sep_token": "</s>",
|
58 |
"stride": 0,
|
59 |
+
"tokenizer_class": "RobertaTokenizer",
|
60 |
"trim_offsets": true,
|
61 |
"truncation_side": "right",
|
62 |
"truncation_strategy": "longest_first",
|
63 |
+
"unk_token": "<unk>"
|
64 |
+
}
|