npvinHnivqn
commited on
Commit
•
336fb8a
1
Parent(s):
8106d50
Upload tokenizer
Browse files- special_tokens_map.json +6 -20
- tokenizer.json +0 -0
- tokenizer_config.json +23 -37
special_tokens_map.json
CHANGED
@@ -1,41 +1,27 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"[UNK]",
|
5 |
-
"[CLS]",
|
6 |
-
"[SEP]",
|
7 |
-
"[MASK]"
|
8 |
-
],
|
9 |
-
"cls_token": {
|
10 |
-
"content": "[CLS]",
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"
|
17 |
-
"content": "
|
18 |
"lstrip": false,
|
19 |
"normalized": false,
|
20 |
"rstrip": false,
|
21 |
"single_word": false
|
22 |
},
|
23 |
"pad_token": {
|
24 |
-
"content": "
|
25 |
-
"lstrip": false,
|
26 |
-
"normalized": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
},
|
30 |
-
"sep_token": {
|
31 |
-
"content": "[SEP]",
|
32 |
"lstrip": false,
|
33 |
"normalized": false,
|
34 |
"rstrip": false,
|
35 |
"single_word": false
|
36 |
},
|
37 |
"unk_token": {
|
38 |
-
"content": "
|
39 |
"lstrip": false,
|
40 |
"normalized": false,
|
41 |
"rstrip": false,
|
|
|
1 |
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"lstrip": false,
|
5 |
"normalized": false,
|
6 |
"rstrip": false,
|
7 |
"single_word": false
|
8 |
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|im_end|>",
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
"pad_token": {
|
17 |
+
"content": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
"lstrip": false,
|
19 |
"normalized": false,
|
20 |
"rstrip": false,
|
21 |
"single_word": false
|
22 |
},
|
23 |
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
"lstrip": false,
|
26 |
"normalized": false,
|
27 |
"rstrip": false,
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,71 +1,57 @@
|
|
1 |
{
|
|
|
|
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
-
"content": "
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
8 |
"single_word": false,
|
9 |
"special": true
|
10 |
},
|
11 |
-
"
|
12 |
-
"content": "
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
-
"content": "
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
-
"content": "
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
-
"
|
36 |
-
"content": "
|
37 |
"lstrip": false,
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
-
"special":
|
42 |
}
|
43 |
},
|
44 |
-
"
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"mask_token": "[MASK]",
|
56 |
-
"max_length": 128,
|
57 |
-
"model_max_length": 512,
|
58 |
-
"never_split": null,
|
59 |
-
"pad_to_multiple_of": null,
|
60 |
-
"pad_token": "[PAD]",
|
61 |
-
"pad_token_type_id": 0,
|
62 |
-
"padding_side": "right",
|
63 |
-
"sep_token": "[SEP]",
|
64 |
-
"stride": 0,
|
65 |
-
"strip_accents": null,
|
66 |
-
"tokenize_chinese_chars": true,
|
67 |
-
"tokenizer_class": "BertTokenizer",
|
68 |
-
"truncation_side": "right",
|
69 |
-
"truncation_strategy": "longest_first",
|
70 |
-
"unk_token": "[UNK]"
|
71 |
}
|
|
|
1 |
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
"lstrip": false,
|
8 |
"normalized": false,
|
9 |
"rstrip": false,
|
10 |
"single_word": false,
|
11 |
"special": true
|
12 |
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
"lstrip": false,
|
16 |
"normalized": false,
|
17 |
"rstrip": false,
|
18 |
"single_word": false,
|
19 |
"special": true
|
20 |
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
"lstrip": false,
|
24 |
"normalized": false,
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
},
|
29 |
+
"46303": {
|
30 |
+
"content": "<|im_end|>",
|
31 |
"lstrip": false,
|
32 |
"normalized": false,
|
33 |
"rstrip": false,
|
34 |
"single_word": false,
|
35 |
"special": true
|
36 |
},
|
37 |
+
"46304": {
|
38 |
+
"content": "<|im_start|>",
|
39 |
"lstrip": false,
|
40 |
"normalized": false,
|
41 |
"rstrip": false,
|
42 |
"single_word": false,
|
43 |
+
"special": false
|
44 |
}
|
45 |
},
|
46 |
+
"bos_token": "<s>",
|
47 |
+
"clean_up_tokenization_spaces": false,
|
48 |
+
"eos_token": "<|im_end|>",
|
49 |
+
"legacy": false,
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"pad_token": "</s>",
|
52 |
+
"sp_model_kwargs": {},
|
53 |
+
"tokenizer_class": "LlamaTokenizer",
|
54 |
+
"unk_token": "<unk>",
|
55 |
+
"use_default_system_prompt": true,
|
56 |
+
"use_fast": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|