Scroll to navigation

GGUF-NEW-METADATA(1) User Commands GGUF-NEW-METADATA(1)

NAME

gguf-new-metadata - gguf-new-metadata

DESCRIPTION

usage: gguf-new-metadata [-h] [--general-name "name"]

[--general-description "Description ..."]
[--chat-template "{% ... %} ..."] [--chat-template-config tokenizer_config.json] [--pre-tokenizer "pre tokenizer"] [--remove-metadata general.url] [--special-token bos | eos | eot | eom | unknown | seperator | padding | mask | fim_pre | fim_suf | fim_mid | fim_pad | fim_rep | fim_sep | prefix | suffix | middle "<token>"] [--special-token-by-id bos | eos | eot | eom | unknown | seperator | padding | mask | fim_pre | fim_suf | fim_mid | fim_pad | fim_rep | fim_sep | prefix | suffix | middle 0] [--force] [--verbose] input output

Make a copy of a GGUF file with new metadata

positional arguments:

GGUF format model input filename
GGUF format model output filename

options:

show this help message and exit
The models general.name
The models general.description
Chat template string (or JSON string containing templates)
Config file containing chat template(s)
The models tokenizer.ggml.pre
Remove metadata (by key name) from output model
Special token by value
Special token by id
Bypass warnings without confirmation
Increase output verbosity
August 2025 debian