Error with sample Code
#2
by
martinWatzinger
- opened
Hi,
thank you for providing this library. When I try to run the sample code, the error
"AttributeError: 'BertConfig' object has no attribute 'pretrained_model'"
comes back. Unfortunately I am a novice and this might be an easy thing, but I do not know how to resolve this.
Can you help?
Thanks
Hi Martin,
Sorry for the late reply. We also noticed this issue lately, we just had not time to fix it for the latest transformers version. A version we know works is 4.30
so installing with that version should resolve it. Let me know if you have further issues. Would also be keen to hear what application you are using the model for π