summaryrefslogtreecommitdiff
path: root/convert-llama-hf-to-gguf.py
diff options
context:
space:
mode:
authormaddes8cht <55592906+maddes8cht@users.noreply.github.com>2023-08-29 15:51:02 +0200
committerGitHub <noreply@github.com>2023-08-29 16:51:02 +0300
commit53885d7256909ec3e2176cdc2477f3986c15ec69 (patch)
tree0ee27480f39887470fac09d095ca96354e7daf63 /convert-llama-hf-to-gguf.py
parentbcce96ba4dd95482824700c4ce2455fe8c49055a (diff)
py : fix "usage" messages (#2873)
convert-to-gguf python scripts
Diffstat (limited to 'convert-llama-hf-to-gguf.py')
-rwxr-xr-xconvert-llama-hf-to-gguf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-llama-hf-to-gguf.py b/convert-llama-hf-to-gguf.py
index 08fde238..b00810db 100755
--- a/convert-llama-hf-to-gguf.py
+++ b/convert-llama-hf-to-gguf.py
@@ -44,7 +44,7 @@ def count_model_parts(dir_model: str) -> int:
if len(sys.argv) < 3:
- print("Usage: convert-h5-to-ggml.py dir-model ftype\n")
+ print(f"Usage: python {sys.argv[0]} dir-model ftype\n")
print(" ftype == 0 -> float32")
print(" ftype == 1 -> float16")