config: {"architectures": ["LlamaForCausalLM"], "model_type": "llama", "tokenizer_config": {"chat_template": "{{ bos_token }}{% for message in messages %}{% if message['role'] in ['user', 'assistant'] %}{% set content = '<|start_header_id|>GPT4 Correct ' + message['role'].title() + '<|end_header_id|>\n\n' + message['content'] | trim + '<|eot_id|>' %}{% elif message['role'] == 'system' %}{% set content = '<|start_header_id|>System<|end_header_id|>\n\n' + message['content'] | trim + '<|eot_id|>' %}{% else %}{{ raise_exception('Only user, assistant and system roles are supported!') }}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>GPT4 Correct Assistant<|end_header_id|>\n\n' }}{% endif %}", "bos_token": "<|begin_of_text|>", "eos_token": "<|eot_id|>"}}
tags: transformers safetensors llama text-generation openchat llama3 C-RLFT conversational arxiv:2309.11235 base_model:meta-llama/Meta-Llama-3-8B base_model:finetune:meta-llama/Meta-Llama-3-8B license:llama3 autotrain_compatible text-generation-inference endpoints_compatible region:us