Llama2ChatFormat¶
- class torchtune.data.Llama2ChatFormat[source]¶
Chat format that formats human and system prompts with appropriate tags used in Llama2 pre-training. Taken from Meta’s official Llama inference repository.
"[INST] <<SYS>> You are a helpful, respectful and honest assistant. <</SYS>>" I am going to Paris, what should I see? [/INST] Paris, the capital of France, is known for its stunning architecture..."