From 4dbce7d009df8e1545161b2ef94aa34a5ed16d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Yusuf=20Sar=C4=B1g=C3=B6z?= Date: Thu, 17 Aug 2023 20:02:38 +0300 Subject: [PATCH] gguf : rm file_type key and method --- gguf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gguf.py b/gguf.py index 81b475e85..2ae5e88cf 100644 --- a/gguf.py +++ b/gguf.py @@ -23,7 +23,6 @@ KEY_GENERAL_NAME = "general.name" KEY_GENERAL_AUTHOR = "general.author" KEY_GENERAL_URL = "general.url" KEY_GENERAL_DESCRIPTION = "general.description" -KEY_GENERAL_FILE_TYPE = "general.file_type" KEY_GENERAL_LICENSE = "general.license" KEY_GENERAL_SOURCE_URL = "general.source.url" KEY_GENERAL_SOURCE_HF_REPO = "general.source.hugginface.repository" @@ -537,9 +536,6 @@ class GGUFWriter: def add_description(self, description: str): self.add_string(KEY_GENERAL_DESCRIPTION, description) - def add_file_type(self, file_type: str): - self.add_string(KEY_GENERAL_FILE_TYPE, file_type) - def add_source_url(self, url: str): self.add_string(KEY_GENERAL_SOURCE_URL, url)