add tokenizer
Browse files- special_tokens_map.json +5 -49
- tokenizer.json +0 -0
- tokenizer_config.json +11 -60
- vocab.txt +0 -0
special_tokens_map.json
CHANGED
@@ -1,51 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"cls_token": {
|
10 |
-
"content": "<s>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": true,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"eos_token": {
|
17 |
-
"content": "</s>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": true,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"mask_token": {
|
24 |
-
"content": "<mask>",
|
25 |
-
"lstrip": true,
|
26 |
-
"normalized": true,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
},
|
30 |
-
"pad_token": {
|
31 |
-
"content": "<pad>",
|
32 |
-
"lstrip": false,
|
33 |
-
"normalized": true,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false
|
36 |
-
},
|
37 |
-
"sep_token": {
|
38 |
-
"content": "</s>",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": true,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false
|
43 |
-
},
|
44 |
-
"unk_token": {
|
45 |
-
"content": "<unk>",
|
46 |
-
"lstrip": false,
|
47 |
-
"normalized": true,
|
48 |
-
"rstrip": false,
|
49 |
-
"single_word": false
|
50 |
-
}
|
51 |
}
|
|
|
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
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,64 +1,15 @@
|
|
1 |
{
|
2 |
"add_prefix_space": true,
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
},
|
11 |
-
"cls_token": {
|
12 |
-
"__type": "AddedToken",
|
13 |
-
"content": "<s>",
|
14 |
-
"lstrip": false,
|
15 |
-
"normalized": true,
|
16 |
-
"rstrip": false,
|
17 |
-
"single_word": false
|
18 |
-
},
|
19 |
-
"eos_token": {
|
20 |
-
"__type": "AddedToken",
|
21 |
-
"content": "</s>",
|
22 |
-
"lstrip": false,
|
23 |
-
"normalized": true,
|
24 |
-
"rstrip": false,
|
25 |
-
"single_word": false
|
26 |
-
},
|
27 |
-
"errors": "replace",
|
28 |
-
"mask_token": {
|
29 |
-
"__type": "AddedToken",
|
30 |
-
"content": "<mask>",
|
31 |
-
"lstrip": true,
|
32 |
-
"normalized": true,
|
33 |
-
"rstrip": false,
|
34 |
-
"single_word": false
|
35 |
-
},
|
36 |
-
"name_or_path": "cardiffnlp/twitter-roberta-base",
|
37 |
-
"pad_token": {
|
38 |
-
"__type": "AddedToken",
|
39 |
-
"content": "<pad>",
|
40 |
-
"lstrip": false,
|
41 |
-
"normalized": true,
|
42 |
-
"rstrip": false,
|
43 |
-
"single_word": false
|
44 |
-
},
|
45 |
-
"sep_token": {
|
46 |
-
"__type": "AddedToken",
|
47 |
-
"content": "</s>",
|
48 |
-
"lstrip": false,
|
49 |
-
"normalized": true,
|
50 |
-
"rstrip": false,
|
51 |
-
"single_word": false
|
52 |
-
},
|
53 |
"special_tokens_map_file": null,
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
|
58 |
-
"content": "<unk>",
|
59 |
-
"lstrip": false,
|
60 |
-
"normalized": true,
|
61 |
-
"rstrip": false,
|
62 |
-
"single_word": false
|
63 |
-
}
|
64 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"name_or_path": "bert-base-uncased",
|
8 |
+
"pad_token": "[PAD]",
|
9 |
+
"sep_token": "[SEP]",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"special_tokens_map_file": null,
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|