Text Generation
Transformers
Safetensors
Chinese
English
llama
conversational
Inference Endpoints
text-generation-inference
Azure99 commited on
Commit
52b0616
1 Parent(s): 83ae9be

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -28,6 +28,7 @@
28
  }
29
  },
30
  "bos_token": "<|startoftext|>",
 
31
  "clean_up_tokenization_spaces": false,
32
  "eos_token": "<|endoftext|>",
33
  "legacy": true,
 
28
  }
29
  },
30
  "bos_token": "<|startoftext|>",
31
+ "chat_template": "A chat between a human and an artificial intelligence bot. The bot gives helpful, detailed, and polite answers to the human's questions.\n{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '|Human|: ' + content + '\\n|Bot|: ' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>\\n' }}{% endif %}{% endfor %}",
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "<|endoftext|>",
34
  "legacy": true,