Open Louis24 opened 7 months ago
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'BertModel' object has no attribute 'transformer'
No response
run api.py
- OS:win10 - Python:3.9 - Transformers:4.26.1 - PyTorch:1.13 - CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
Is there an existing issue for this?
Current Behavior
AttributeError: 'BertModel' object has no attribute 'transformer'
Expected Behavior
No response
Steps To Reproduce
run api.py
Environment
Anything else?
No response