From e5162b7a415b1d2e3302091438fde6570fdaebdc Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Thu, 10 Oct 2024 18:04:33 +0700 Subject: [PATCH] chore: added example for non-default template --- docs/dataset-formats/conversation.qmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/dataset-formats/conversation.qmd b/docs/dataset-formats/conversation.qmd index 9a35d3bad..6dfafa2c2 100644 --- a/docs/dataset-formats/conversation.qmd +++ b/docs/dataset-formats/conversation.qmd @@ -92,13 +92,14 @@ datasets: chat_template: tokenizer_default ``` -2. Using the default chat template in the tokenizer_config.json on OpenAI messages format, training on all assistant messages. +2. Using the `gemma` chat template in the tokenizer_config.json on OpenAI messages format, training on all assistant messages. ```yaml +chat_template: gemma datasets: - path: ... type: chat_template - chat_template: tokenizer_default + chat_template: gemma roles_to_train: ["assistant"] ```