@@ -136,11 +136,11 @@ def main() -> None:
136
136
parser = argparse .ArgumentParser (description = "Make a copy of a GGUF file with new metadata" )
137
137
parser .add_argument ("input" , type = Path , help = "GGUF format model input filename" )
138
138
parser .add_argument ("output" , type = Path , help = "GGUF format model output filename" )
139
- parser .add_argument ("--general-name" , type = str , help = "The models general.name" )
140
- parser .add_argument ("--general-description" , type = str , help = "The models general.description" )
141
- parser .add_argument ("--chat-template" , type = str , help = "Chat template string (or JSON string containing templates)" )
142
- parser .add_argument ("--chat-template-config" , type = Path , help = "Config file (tokenizer_config.json) containing chat template(s)" )
143
- parser .add_argument ("--remove-metadata" , action = "append" , type = str , help = "Remove metadata (by key name) from output model" )
139
+ parser .add_argument ("--general-name" , type = str , help = "The models general.name" , metavar = '"name"' )
140
+ parser .add_argument ("--general-description" , type = str , help = "The models general.description" , metavar = '"Description ..."' )
141
+ parser .add_argument ("--chat-template" , type = str , help = "Chat template string (or JSON string containing templates)" , metavar = '"{% ... %} ..."' )
142
+ parser .add_argument ("--chat-template-config" , type = Path , help = "Config file containing chat template(s)" , metavar = 'tokenizer_config.json' )
143
+ parser .add_argument ("--remove-metadata" , action = "append" , type = str , help = "Remove metadata (by key name) from output model" , metavar = 'general.url' )
144
144
parser .add_argument ("--special-token" , action = "append" , type = str , help = "Special token by value" , nargs = 2 , metavar = (' | ' .join (token_names .keys ()), '"<token>"' ))
145
145
parser .add_argument ("--special-token-by-id" , action = "append" , type = str , help = "Special token by id" , nargs = 2 , metavar = (' | ' .join (token_names .keys ()), '0' ))
146
146
parser .add_argument ("--force" , action = "store_true" , help = "Bypass warnings without confirmation" )
0 commit comments