Adds chat templates (#1022)

This commit is contained in:
mhenrichsen
2023-12-29 22:44:23 +01:00
committed by GitHub
parent 4f4d638b84
commit f8ae59b0a8
3 changed files with 39 additions and 0 deletions

View File

@@ -589,6 +589,9 @@ datasets:
# For `completion` datsets only, uses the provided field instead of `text` column
field:
# Saves the desired chat template to the tokenizer_config.json for easier inferencing
# Currently supports chatml and inst (mistral/mixtral)
chat_template: chatml
# Axolotl attempts to save the dataset as an arrow after packing the data together so
# subsequent training attempts load faster, relative path
dataset_prepared_path: data/last_run_prepared