From 664057a9b3138edf6aa025010c09a144ed80b34f Mon Sep 17 00:00:00 2001 From: Charles Goddard Date: Sat, 30 Dec 2023 15:06:28 -0800 Subject: [PATCH] Remove unused format parameter --- mergekit/card.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mergekit/card.py b/mergekit/card.py index b16935c0..96395cc4 100644 --- a/mergekit/card.py +++ b/mergekit/card.py @@ -175,7 +175,6 @@ def generate_card(config: MergeConfiguration, name: Optional[str] = None) -> str return CARD_TEMPLATE.format( metadata=yaml.dump({"base_model": hf_bases, "tags": tags}), model_list="\n".join(model_bullets), - config=yaml.dump(config.model_dump(exclude_defaults=True, mode="json")), base_text=base_text, merge_method=method_md(config.merge_method), name=name,