ChatGLM-6B icon indicating copy to clipboard operation
ChatGLM-6B copied to clipboard

[BUG/Help] <运行web_demo.py成功,但是对话没回应>

Open tianyang820 opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

使用ptuing_v2进行微调后,loss最终在4.几,这会不会有点太高了,因为loss基本没降多少,然后打开网页后,不管输入什么问题,都得不到回应

Expected Behavior

No response

Steps To Reproduce

环境与作者的一致

Environment

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

Anything else?

No response

tianyang820 avatar Nov 23 '23 06:11 tianyang820

同问,部署训练后的模型运行webdemo后模型无回应

Big-yellowa avatar Nov 24 '23 05:11 Big-yellowa

我也是,至今没有找到合适的解决方法

JiXia830 avatar Nov 24 '23 05:11 JiXia830

https://zhuanlan.zhihu.com/p/633901827我参照这个运行成功了

Big-yellowa avatar Nov 25 '23 11:11 Big-yellowa

搞定了,被yield卡住了,改成return就行,只是不能够一个字一个字打印了

1701228494271

liuyuesheng avatar Nov 29 '23 03:11 liuyuesheng

搞定了,被yield卡住了,改成return就行,只是不能够一个字一个字打印了

1701228494271

按照你的方法完美解决,you are my hero

Tombston6 avatar Dec 01 '23 02:12 Tombston6