From fb324e035adcde96bdad1b0aac2bf563e21e80c2 Mon Sep 17 00:00:00 2001 From: tpoisonooo Date: Fri, 17 Mar 2023 16:56:45 +0800 Subject: [PATCH] improvement(tools): add example --- convert-pth-to-ggml.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/convert-pth-to-ggml.py b/convert-pth-to-ggml.py index df630c0cd..8cde9a158 100644 --- a/convert-pth-to-ggml.py +++ b/convert-pth-to-ggml.py @@ -30,7 +30,9 @@ from sentencepiece import SentencePieceProcessor def parse_args(): parser = argparse.ArgumentParser( - description='Convert ckpt models to ggml models.') + description= + 'Convert ckpt models to ggml models. For example: python3 convert-pth-to-ggml.py ../llama-models/7B/ f32 models/llama-7B ' + ) parser.add_argument('dir_model', type=str, help='Directory path of the checkpoint model')