From abc351c270656d171d1a61d9a4223beb6bd97758 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Sun, 14 Jul 2024 12:00:59 +1000 Subject: [PATCH] convert-*.py: quantized_by in model card is not relevant for converted gguf --- gguf-py/gguf/metadata.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gguf-py/gguf/metadata.py b/gguf-py/gguf/metadata.py index e1cb1340a..103e489e2 100644 --- a/gguf-py/gguf/metadata.py +++ b/gguf-py/gguf/metadata.py @@ -236,10 +236,6 @@ class Metadata: base_model["repo_url"] = f"https://huggingface.co/{org_component}/{model_full_name_component}" metadata.base_models.append(base_model) - if "quantized_by" in model_card and metadata.quantized_by is None: - # Not part of hugging face model card standard, but is used by TheBloke to credit them self for quantizing 3rd party models - metadata.quantized_by = model_card.get("quantized_by") - if "license" in model_card and metadata.license is None: metadata.license = model_card.get("license")