RichardErkhov
commited on
Commit
•
67900d6
1
Parent(s):
cc1d9c6
uploaded model
Browse files- tokenizer_config.json +31 -0
tokenizer_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"1": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"2": {
|
14 |
+
"content": "</s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"bos_token": "</s>",
|
23 |
+
"chat_template": "{%- for message in messages %}\n {%- if message['role'] == 'user' %}\n {{- 'Uporabnik: ' + message['content'].strip() + '\\n' }}\n {%- elif message['role'] == 'assistant' %}\n {{- 'Asistent: ' + message['content'].strip() + '\\n' }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- 'Asistent:' }}\n{%- endif %}",
|
24 |
+
"clean_up_tokenization_spaces": true,
|
25 |
+
"eos_token": "</s>",
|
26 |
+
"errors": "replace",
|
27 |
+
"model_max_length": 1000000000000000019884624838656,
|
28 |
+
"pad_token": "<pad>",
|
29 |
+
"tokenizer_class": "GPT2Tokenizer",
|
30 |
+
"unk_token": "</s>"
|
31 |
+
}
|