improvement(tools): add example

This commit is contained in:
tpoisonooo 2023-03-17 16:56:45 +08:00
parent 3c7cb413fb
commit fb324e035a

View file

@ -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')