llm: quick fix path (#8810)

This commit is contained in:
Ruonan Wang 2023-08-25 16:02:31 +08:00 committed by GitHub
parent 0186f3ab2f
commit eae92bc7da

View file

@ -26,7 +26,7 @@ from transformers import AutoTokenizer
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Stream Chat for ChatGLM2 model')
parser.add_argument('--repo-id-or-model-path', type=str, default="/mnt/disk1/models/chatglm2-6b",
parser.add_argument('--repo-id-or-model-path', type=str, default="THUDM/chatglm2-6b",
help='The huggingface repo id for the ChatGLM2 model to be downloaded'
', or the path to the huggingface checkpoint folder')
parser.add_argument('--question', type=str, default="晚上睡不着应该怎么办",