THUDM / ChatGLM-6B

ChatGLM-6B: An Open Bilingual Dialogue Language Model | 开源双语对话语言模型
Apache License 2.0
39.96k stars 5.15k forks source link

[BUG/Help] ValueError: not enough values to unpack (expected 2, got 1) #1480

Open ChenSir254 opened 1 month ago

ChenSir254 commented 1 month ago

Is there an existing issue for this?

Current Behavior

在运行命令行对话demo时报错

Expected Behavior

No response

Steps To Reproduce

1.从github 中clone好chatglm3代码 2.从huggingface下载模型chatglm3-6b-base 3.配置好环境 4.运行python cli_demo.py

Environment

- OS: Ubuntu 20.04
- Python:3.7
- Transformers: 4.26.1
- PyTorch:2.30
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True

Anything else?

No response

Tianyu100 commented 1 month ago

Is it solved?