You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bert runs very well for me, however when switching to XLNET i constantly get this error.
error:
Traceback (most recent call last):
File "main.py", line 522, in <module>
main()
File "main.py", line 412, in main
config=config, cache_dir='./cache')
File "C:\Anaconda3\envs\py37_dev\lib\site-packages\transformers\modeling_utils.py", line 342, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
File "\BERT-E2E-ABSA\absa_layer.py", line 488, in __init__
self.tagger_config = xlnet_config.absa_tagger_config
AttributeError: 'XLNetConfig' object has no attribute 'absa_tagger_config'
Thank you for your attention. The implementation of XLNetABSATagger is incomplete (and thus you cannot run normally). The reason I do not continue to add this feature is that the model based on XLNet performs quite poor on ABSA datasets. I am not sure if I miss some important details. Considering your case, you can write a new XLNetABSATagger class following the style of BertABSATagger and check whether it works or not.
Hi, thanks for the great repo!
Bert runs very well for me, however when switching to XLNET i constantly get this error.
error:
heres my train.bat:
am running transformers 2.0.0 as per the requirements.
The text was updated successfully, but these errors were encountered: