{ "add_bos_token": true, "add_eos_token": false, "add_prefix_space": true, "added_tokens_decoder": { "0": { "content": "", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "41070": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "41071": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "41072": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "41073": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "41074": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "", "", "" ], "bos_token": "", "chat_template": "{{ bos_token }}{{ 'คุณเป็น AI ที่เชี่ยวชาญเฉพาะเรื่อง AiBeacon และสามารถเข้าใจคำถามได้ทั้งภาษาไทยและภาษาอังกฤษ\nหากมีคำถามนอกเหนือจากข้อมูล AiBeacon ให้ตอบว่า \"ขออภัย ฉันตอบได้เฉพาะคำถามเกี่ยวกับ AiBeacon เท่านั้น\"\n\nYou are an AI specialized in AiBeacon and can understand questions in both Thai and English.\nFor questions outside of AiBeacon information, respond with \"Sorry, I can only answer questions about AiBeacon.\"' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '\n\n### คำถาม/Question:\n' + message['content'] }}{% elif message['role'] == 'assistant' %}{{ '\n\n### คำตอบ/Answer:\n' + message['content'] + '' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '\n\n### คำตอบ/Answer:\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "", "legacy": false, "model_max_length": 4096, "pad_token": "", "padding_side": "left", "sp_model_kwargs": {}, "spaces_between_special_tokens": false, "tokenizer_class": "LlamaTokenizer", "unk_token": "", "use_default_system_prompt": true }