PyABSA
PyABSA copied to clipboard
Fail to load the model from ./checkpoints/ATEPC_ENGLISH_CHECKPOINT!
I'm using Google Colab. As was suggested, the version was downgraded to 1.16.27. I get the following error while loading the model :
RuntimeError: Exception: Error(s) in loading state_dict for FAST_LCF_ATEPC: Unexpected key(s) in state_dict: "bert4global.embeddings.position_ids". Fail to load the model from ./checkpoints/ATEPC_ENGLISH_CHECKPOINT!
Thanks in advance.
freeze transformers==4.29.0
I am having same issue, freezing is also not working and all pyabsa versions. Please help me to fix that. @yangheng95
I am having same issue, freezing is also not working and all pyabsa versions. Please help me to fix that. @yangheng95
Hi! Please report your problem in details: https://github.com/yangheng95/PyABSA/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=
Below installations are worked for me
!pip install pyabsa==1.16.24 !pip install transformers==4.29.0
I think you need to update your code to compatible with new version transformers.
I think you need to update your code to compatible with new version transformers.
Hi, are you using v1.x?