i4never commited on
Commit
9c23b91
1 Parent(s): 704cdb8

Upload tokenizer

Browse files
added_tokens.json CHANGED
@@ -1,8 +1,5 @@
1
  {
2
  "\n\n### Instruction:\n": 65107,
3
  "\n\n### Response:\n": 65108,
4
- "</s>": 2,
5
- "<pad>": 65109,
6
- "<s>": 1,
7
- "<unk>": 0
8
  }
 
1
  {
2
  "\n\n### Instruction:\n": 65107,
3
  "\n\n### Response:\n": 65108,
4
+ "<pad>": 65109
 
 
 
5
  }
special_tokens_map.json CHANGED
@@ -1,14 +1,34 @@
1
  {
2
  "additional_special_tokens": [
3
- "<unk>",
4
- "<s>",
5
- "</s>",
6
  "\n\n### Instruction:\n",
7
- "\n\n### Response:\n",
8
- "<pad>"
9
  ],
10
- "bos_token": "<s>",
11
- "eos_token": "</s>",
12
- "pad_token": "<pad>",
13
- "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
 
1
  {
2
  "additional_special_tokens": [
 
 
 
3
  "\n\n### Instruction:\n",
4
+ "\n\n### Response:\n"
 
5
  ],
6
+ "bos_token": {
7
+ "content": "<s>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<pad>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
  }
tokenizer.json CHANGED
@@ -34,8 +34,8 @@
34
  "id": 65107,
35
  "content": "\n\n### Instruction:\n",
36
  "single_word": false,
37
- "lstrip": true,
38
- "rstrip": true,
39
  "normalized": false,
40
  "special": true
41
  },
@@ -43,8 +43,8 @@
43
  "id": 65108,
44
  "content": "\n\n### Response:\n",
45
  "single_word": false,
46
- "lstrip": true,
47
- "rstrip": true,
48
  "normalized": false,
49
  "special": true
50
  },
@@ -54,7 +54,7 @@
54
  "single_word": false,
55
  "lstrip": false,
56
  "rstrip": false,
57
- "normalized": true,
58
  "special": true
59
  }
60
  ],
 
34
  "id": 65107,
35
  "content": "\n\n### Instruction:\n",
36
  "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
  "normalized": false,
40
  "special": true
41
  },
 
43
  "id": 65108,
44
  "content": "\n\n### Response:\n",
45
  "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
  "normalized": false,
49
  "special": true
50
  },
 
54
  "single_word": false,
55
  "lstrip": false,
56
  "rstrip": false,
57
+ "normalized": false,
58
  "special": true
59
  }
60
  ],
tokenizer_config.json CHANGED
@@ -1,6 +1,4 @@
1
  {
2
- "add_bos_token": false,
3
- "add_eos_token": false,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
@@ -28,47 +26,42 @@
28
  },
29
  "65107": {
30
  "content": "\n\n### Instruction:\n",
31
- "lstrip": true,
32
  "normalized": false,
33
- "rstrip": true,
34
  "single_word": false,
35
  "special": true
36
  },
37
  "65108": {
38
  "content": "\n\n### Response:\n",
39
- "lstrip": true,
40
  "normalized": false,
41
- "rstrip": true,
42
  "single_word": false,
43
  "special": true
44
  },
45
  "65109": {
46
  "content": "<pad>",
47
  "lstrip": false,
48
- "normalized": true,
49
  "rstrip": false,
50
  "single_word": false,
51
  "special": true
52
  }
53
  },
54
  "additional_special_tokens": [
55
- "<unk>",
56
- "<s>",
57
- "</s>",
58
  "\n\n### Instruction:\n",
59
- "\n\n### Response:\n",
60
- "<pad>"
61
  ],
62
  "bos_token": "<s>",
 
63
  "clean_up_tokenization_spaces": false,
64
  "eos_token": "</s>",
65
  "legacy": true,
66
  "model_max_length": 1000000000000000019884624838656,
67
  "pad_token": "<pad>",
68
  "sp_model_kwargs": {},
69
- "spaces_between_special_tokens": false,
70
  "tokenizer_class": "LlamaTokenizer",
71
  "unk_token": "<unk>",
72
- "use_default_system_prompt": true,
73
- "use_fast": true
74
  }
 
1
  {
 
 
2
  "added_tokens_decoder": {
3
  "0": {
4
  "content": "<unk>",
 
26
  },
27
  "65107": {
28
  "content": "\n\n### Instruction:\n",
29
+ "lstrip": false,
30
  "normalized": false,
31
+ "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
  "65108": {
36
  "content": "\n\n### Response:\n",
37
+ "lstrip": false,
38
  "normalized": false,
39
+ "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  },
43
  "65109": {
44
  "content": "<pad>",
45
  "lstrip": false,
46
+ "normalized": false,
47
  "rstrip": false,
48
  "single_word": false,
49
  "special": true
50
  }
51
  },
52
  "additional_special_tokens": [
 
 
 
53
  "\n\n### Instruction:\n",
54
+ "\n\n### Response:\n"
 
55
  ],
56
  "bos_token": "<s>",
57
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '\n\n### Instruction:\n' }}{% elif message['role'] == 'assistant' %}{{ '\n\n### Response:\n' }}{% endif %}{{ message['content'] }}{{ eos_token }}{% endfor %}",
58
  "clean_up_tokenization_spaces": false,
59
  "eos_token": "</s>",
60
  "legacy": true,
61
  "model_max_length": 1000000000000000019884624838656,
62
  "pad_token": "<pad>",
63
  "sp_model_kwargs": {},
 
64
  "tokenizer_class": "LlamaTokenizer",
65
  "unk_token": "<unk>",
66
+ "use_default_system_prompt": false
 
67
  }