Commit
•
b69c919
1
Parent(s):
49452c4
Delete tokenizer_config (1).json
Browse files- tokenizer_config (1).json +0 -74
tokenizer_config (1).json
DELETED
@@ -1,74 +0,0 @@
|
|
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 |
-
"3": {
|
30 |
-
"content": "<pad>",
|
31 |
-
"lstrip": false,
|
32 |
-
"normalized": false,
|
33 |
-
"rstrip": false,
|
34 |
-
"single_word": false,
|
35 |
-
"special": true
|
36 |
-
},
|
37 |
-
"32000": {
|
38 |
-
"content": "<instruction>",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": true,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false,
|
43 |
-
"special": true
|
44 |
-
},
|
45 |
-
"32001": {
|
46 |
-
"content": "</instruction>",
|
47 |
-
"lstrip": false,
|
48 |
-
"normalized": true,
|
49 |
-
"rstrip": false,
|
50 |
-
"single_word": false,
|
51 |
-
"special": true
|
52 |
-
}
|
53 |
-
},
|
54 |
-
"additional_special_tokens": [
|
55 |
-
"<instruction>",
|
56 |
-
"</instruction>"
|
57 |
-
],
|
58 |
-
"bos_token": "<s>",
|
59 |
-
"bos_token_id": 1,
|
60 |
-
"chat_template": "{{bos_token}}{% for message in messages %}\n {% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}\n {% endif %}\n {% if message['role'] == 'user' %}\n {{ '<instruction>' + message['content'].strip() + '</instruction>'}}\n {% elif message['role'] == 'assistant' %}\n {{ message['content'].strip() + eos_token}}\n {% else %}\n {{ raise_exception('Only user and assistant roles are supported!') }}\n {% endif %}\n {% endfor %}",
|
61 |
-
"clean_up_tokenization_spaces": false,
|
62 |
-
"eos_token": "</s>",
|
63 |
-
"eos_token_id": 2,
|
64 |
-
"legacy": false,
|
65 |
-
"model_max_length": 1000000000000000019884624838656,
|
66 |
-
"pad_token": "</s>",
|
67 |
-
"pad_token_id": 2,
|
68 |
-
"padding_side": "right",
|
69 |
-
"sp_model_kwargs": {},
|
70 |
-
"tokenizer_class": "LlamaTokenizer",
|
71 |
-
"unk_token": "<unk>",
|
72 |
-
"unk_token_id": 0,
|
73 |
-
"use_default_system_prompt": false
|
74 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|