diff --git a/src/unitxt/formats.py b/src/unitxt/formats.py index 0c0215ec08..9c4086e74c 100644 --- a/src/unitxt/formats.py +++ b/src/unitxt/formats.py @@ -528,6 +528,9 @@ class HFSystemFormat(ChatAPIFormat): See more details in https://huggingface.co/docs/transformers/main/en/chat_templating + If the tokenizer of the model does not define a chat template, a Jinja chat template can be passed explicitly: + ``HFSystemFormat(model_name=..., chat_kwargs_dict={"chat_template": "