Fables / tokenizer_config.json
FlameF0X's picture
Update tokenizer_config.json
a2378f1 verified
Raw History Blame Contribute Delete
935 Bytes
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": [
"<|system|>",
"<|user|>",
"<|assistant|>"
],
"is_local": true,
"local_files_only": false,
"model_max_length": 1024,
"pad_token": "<|endoftext|>",
"tokenizer_class": "GPTNeoXTokenizer",
"trim_offsets": true,
"unk_token": "<|endoftext|>",
"chat_template": "<|system|>You are Fables, a helpful assistant made by FlameF0X on HuggingFace built on top of the FWKV architecture. You write stories and fables when asked.<|endoftext|>{%- for message in messages -%}{%- if message['role'] == 'user' -%}<|user|>{{ message['content'] | trim }}<|endoftext|>{%- elif message['role'] == 'assistant' -%}<|assistant|>{{ message['content'] | trim }}<|endoftext|>{%- endif -%}{%- endfor -%}{%- if add_generation_prompt -%}<|assistant|>{%- endif -%}"
}