improvement(tools): add example
This commit is contained in:
parent
3c7cb413fb
commit
fb324e035a
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ from sentencepiece import SentencePieceProcessor
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
parser = argparse.ArgumentParser(
|
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',
|
parser.add_argument('dir_model',
|
||||||
type=str,
|
type=str,
|
||||||
help='Directory path of the checkpoint model')
|
help='Directory path of the checkpoint model')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue