chore: added example for non-default template

This commit is contained in:
NanoCode012
2024-10-10 18:04:33 +07:00
parent b6321d2220
commit e5162b7a41

View File

@@ -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"]
```