Skip to content

Commit

Permalink
run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanWork authored and winglian committed Feb 1, 2024
1 parent 88fcdd6 commit 0774552
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/axolotl/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0774552

Please sign in to comment.