ChatGLM-6B
ChatGLM-6B copied to clipboard
'BertModel' object has no attribute 'transformer'
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'BertModel' object has no attribute 'transformer'
Expected Behavior
No response
Steps To Reproduce
run api.py
Environment
- OS:win10
- Python:3.9
- Transformers:4.26.1
- PyTorch:1.13
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
Anything else?
No response