From 077455238e97071eb2aa38b669b0bef320ceddc9 Mon Sep 17 00:00:00 2001 From: Johan Hansson <39947546+JohanWork@users.noreply.github.com> Date: Wed, 31 Jan 2024 08:46:52 +0000 Subject: [PATCH] run pre-commit --- src/axolotl/utils/config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/axolotl/utils/config.py b/src/axolotl/utils/config.py index 0b342edf11..225b8adc4c 100644 --- a/src/axolotl/utils/config.py +++ b/src/axolotl/utils/config.py @@ -528,7 +528,13 @@ def validate_config(cfg): if cfg.datasets: for idx, ds_cfg in enumerate(cfg.datasets): if ( - ds_cfg.type in ["ultra_apply_chatml", "toxic_apply_chatml","chatml.intel","chatml.argilla"] + ds_cfg.type + in [ + "ultra_apply_chatml", + "toxic_apply_chatml", + "chatml.intel", + "chatml.argilla", + ] and ds_cfg.conversation ): raise ValueError(