THUDM / ChatGLM2-6B

ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型
Other
15.73k stars 1.85k forks source link

[Help] <title请问一下,如果训练可以让chatglm2-6b获取时间 #579

Open lianyifeng opened 1 year ago

lianyifeng commented 1 year ago

Is there an existing issue for this?

Current Behavior

请问各位大佬,怎么微调才能让chatglm2-6b返回时间,比如提问今天 能返回 yyyy-MM-dd HH:mm:ss 这样的时间格式

Expected Behavior

No response

Steps To Reproduce

OS: Ubuntu 20.04 Python: 3.8 Transformers: 4.26.1 PyTorch: 1.12 CUDA Support: True

Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :

Anything else?

No response