bilalfaye commited on
Commit
676c456
·
verified ·
1 Parent(s): ff9578b

Upload tokenizer

Browse files
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|inst_end|>": 50258,
3
+ "<|inst_start|>": 50257
4
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|inst_end|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ }
10
+ ],
11
+ "bos_token": "<|endoftext|>",
12
+ "eos_token": "<|endoftext|>",
13
+ "pad_token": "<|endoftext|>",
14
+ "unk_token": "<|endoftext|>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "50257": {
13
+ "content": "<|inst_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "50258": {
21
+ "content": "<|inst_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|inst_end|>"
31
+ ],
32
+ "bos_token": "<|endoftext|>",
33
+ "chat_template": "\n {{- bos_token }} \n {%- for message in messages %}\n {%- if message['role'] != 'assistant' %}\n {{- '<|inst_start|> ' + message['content'] + ' <|inst_end|> ' }}\n {%- else %}\n {{- message['content'] }}\n {%- endif %}\n {%- endfor %}\n {{- eos_token }}\n ",
34
+ "clean_up_tokenization_spaces": false,
35
+ "eos_token": "<|endoftext|>",
36
+ "extra_special_tokens": {},
37
+ "model_max_length": 1024,
38
+ "pad_token": "<|endoftext|>",
39
+ "tokenizer_class": "GPT2Tokenizer",
40
+ "unk_token": "<|endoftext|>"
41
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff