From 71e6d5eb383075990a12f02ace06f7cb9edbb8cb Mon Sep 17 00:00:00 2001 From: Vinay Umrethe Date: Wed, 30 Sep 2026 19:22:57 +0530 Subject: [PATCH] feat: add base model to the model card (#459) --- src/heretic/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/heretic/main.py b/src/heretic/main.py index d6905ba..8df6f95 100644 --- a/src/heretic/main.py +++ b/src/heretic/main.py @@ -1272,6 +1272,12 @@ def run(): card.data.tags.append("abliterated") if reproducibility_information != "none": card.data.tags.append("reproducible") + + # Must be a Hugging Face Hub repository ID, + # so local paths are excluded. + if is_hf_path(settings.model): + card.data.base_model = settings.model + card.text = ( get_readme_intro( settings,