Rename to convert-llama-ggml-to-gguf.py
Include original file type information in description
This commit is contained in:
parent
00fe3fdb61
commit
645b6a2e47
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class GGMLToGGUF:
|
|||
def add_params(self, gguf_writer):
|
||||
hp = self.model.hyperparameters
|
||||
cfg = self.cfg
|
||||
desc = cfg.desc if cfg.desc is not None else 'converted from legacy GGJTv3 format'
|
||||
desc = cfg.desc if cfg.desc is not None else f'converted from legacy {self.model.file_format.name}v{self.model.format_version} {hp.ftype.name} format'
|
||||
try:
|
||||
# Filenames aren't necessarily valid UTF8.
|
||||
name = cfg.name if cfg.name is not None else cfg.input.name
|
Loading…
Add table
Add a link
Reference in a new issue