#1、首先学习,按照步骤执行https://nuly9zxzf1.feishu.cn/docx/HOmzdmST9oc43gxjTF0c7PAAnnb
#2、执行过程中,报错raise HFValidationError(
huggingface_hub.utils.validators.HFValidationError: Repo id must use alphanumeric chars or ‘-’, '', ‘.’, ‘–’ and ‘…’ are forbidden, ‘-’ and ‘.’ cannot start or end the name, max length is 96: ‘\gemini\data-2’.,检查发现’data-2‘输入有问题,切换英文重新输入
#3、继续报错OSError: /gemini/data-2 does not appear to have a file named config.json. Checkout ‘https://huggingface.co//gemini/data-2/None’ for available files.,解决办法其实文件是在"/gemini/data-2/chatglm2-6b"文件夹中,再次修改路径
#4,执行python ChatGLM2-6B/cli_demo.py,Loading checkpoint shards: 100%。
#5,这样就可以愉快的使用个人聊天机器人啦。