|
{
|
|
"add_bos_token": true,
|
|
"add_eos_token": false,
|
|
"added_tokens_decoder": {
|
|
"0": {
|
|
"content": "<unk>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"1": {
|
|
"content": "<s>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"2": {
|
|
"content": "</s>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": false
|
|
},
|
|
"32000": {
|
|
"content": "<|endoftext|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32001": {
|
|
"content": "<|assistant|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32002": {
|
|
"content": "<|placeholder1|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32003": {
|
|
"content": "<|placeholder2|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32004": {
|
|
"content": "<|placeholder3|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32005": {
|
|
"content": "<|placeholder4|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32006": {
|
|
"content": "<|system|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32007": {
|
|
"content": "<|end|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32008": {
|
|
"content": "<|placeholder5|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32009": {
|
|
"content": "<|placeholder6|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32010": {
|
|
"content": "<|user|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32011": {
|
|
"content": "<|step|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32012": {
|
|
"content": "<|function_output|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32013": {
|
|
"content": "<|tag|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32014": {
|
|
"content": "<|function_call|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32015": {
|
|
"content": "<|raw|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32016": {
|
|
"content": "<|continue|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32017": {
|
|
"content": "<|function_list|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32018": {
|
|
"content": "<|calc|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32019": {
|
|
"content": "<|code|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32020": {
|
|
"content": "<|/code|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32021": {
|
|
"content": "<|summary|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32022": {
|
|
"content": "<|resource|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32023": {
|
|
"content": "<|assistant_mask|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32024": {
|
|
"content": "<|start|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32025": {
|
|
"content": "<|message|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32026": {
|
|
"content": "<|fim_prefix|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32027": {
|
|
"content": "<|fim_middle|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32028": {
|
|
"content": "<|fim_suffix|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32029": {
|
|
"content": "<|meta_start|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32030": {
|
|
"content": "<|ipynb_marker|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32031": {
|
|
"content": "<|diff_marker|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32032": {
|
|
"content": "<|ghissue|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32033": {
|
|
"content": "<|ghreview|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32034": {
|
|
"content": "<|disc_start|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32035": {
|
|
"content": "<|disc_sep|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32036": {
|
|
"content": "<|disc_thread|><|query|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32037": {
|
|
"content": "<|/query|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32038": {
|
|
"content": "<|data|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32039": {
|
|
"content": "<|/data|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32040": {
|
|
"content": "<|sys|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32041": {
|
|
"content": "<|/sys|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32042": {
|
|
"content": "<|inst|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32043": {
|
|
"content": "<|/inst|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"32044": {
|
|
"content": "<|image|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": true,
|
|
"single_word": false,
|
|
"special": true
|
|
}
|
|
},
|
|
"additional_special_tokens": [
|
|
"<|system|>",
|
|
"<|end|>",
|
|
"<|user|>",
|
|
"<|end|>"
|
|
],
|
|
"bos_token": "<s>",
|
|
"chat_template": "{% for message in messages %}{{'<|' + message['role'] + '|>' + '\n' + message['content'] + '<|end|>\n' }}{% endfor %}{% if add_generation_prompt and messages[-1]['role'] != 'assistant' %}{{- '<|assistant|>\n' -}}{% endif %}",
|
|
"clean_up_tokenization_spaces": false,
|
|
"eos_token": "<|endoftext|>",
|
|
"model_max_length": 131072,
|
|
"pad_token": "<|endoftext|>",
|
|
"padding_side": "right",
|
|
"sp_model_kwargs": {},
|
|
"tokenizer_class": "LlamaTokenizer",
|
|
"unk_token": "<unk>",
|
|
"use_default_system_prompt": false
|
|
}
|
|
|