ChatGLM-6B
ChatGLM-6B copied to clipboard
通过ptuning微调参数加载checkpoint后,推理逻辑不对了
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
这个是不是有问题呢,
加载训练完后的checkpoint后,之前的推理逻辑都没了,这是加载训练checkpoint的代码
这个结果明显不对啊
训练用的json就是文档里的
Expected Behavior
No response
Steps To Reproduce
- bash ptuning/train.sh
- bash ptuning/evaluate.sh
- streamlit run web_demo2.py --server.port 6006
Environment
- OS: ubuntu
- Python: 3.8
- Transformers: 4.27
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) : True
Anything else?
No response
同样的问题。
感觉这个模型根本不能调
同样的问题
我的是微调完后只能回答喵喵了
我的是微调完后只能回答喵喵了
你好,问一下哈,你的微调训练参数有自己调整吗?我的微调完推理时答复是空的,并且推理速度特别慢
没有
我也遇到了,ptuning v2调过之后就变傻子了。
Duplicate of #403