{ | |
"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": false, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"additional_special_tokens": [ | |
"<unk>", | |
"<s>", | |
"</s>" | |
], | |
"bos_token": "<s>", | |
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{% if message['content']%}{{'### System:\n' + message['content']+'\n\n'}}{% endif %}{% elif message['role'] == 'user' %}{{'### 질문: 아래 텍스트에서 주제어를 최대 20개 추출해주세요. 출력 형식은 {{\"topics\": [ \"주제어1\",\"주제어2\", \"주제어3\", ...] }}과 동일한 형식으로 합니다.\n짧은 단어 보다는 두개 이상의 단어들로 주제어를 추출합니다. 명사나 명사구가 좋습니다. 중복되는 주제어는 제외합니다.\n텍스트: ' + message['content']+'\n\n'}}{% elif message['role'] == 'assistant' %}{{'### 답변:' + message['content']}}{% endif %}{% if loop.last and add_generation_prompt %}{{ '### 답변:' }}{% endif %}{% endfor %}", | |
"clean_up_tokenization_spaces": false, | |
"eos_token": "</s>", | |
"legacy": true, | |
"max_length": 4096, | |
"model_max_length": 1000000000000000019884624838656, | |
"pad_token": "<unk>", | |
"sp_model_kwargs": {}, | |
"spaces_between_special_tokens": false, | |
"stride": 0, | |
"tokenizer_class": "LlamaTokenizer", | |
"truncation_side": "right", | |
"truncation_strategy": "longest_first", | |
"unk_token": "<unk>", | |
"use_default_system_prompt": true | |
} | |