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
when i use run_ner_crf.py, i want switch to xlnet model to do ner, i come aross follow error: File "pytorch_version\models\transformers\tokenization_utils.py", line 639, in split_on_tokens if sub_text not in self.added_tokens_encoder \ TypeError: unhashable type: 'list'
my configuration is: 'xlnet': (XLNetConfig, XLNetCrfForNer, XLNetTokenizer)
i thought this is caused by tokenize process, but i cannot locate the error
appreciate for your help
The text was updated successfully, but these errors were encountered:
when i use run_ner_crf.py, i want switch to xlnet model to do ner, i come aross follow error:
File "pytorch_version\models\transformers\tokenization_utils.py", line 639, in split_on_tokens if sub_text not in self.added_tokens_encoder \ TypeError: unhashable type: 'list'
my configuration is:
'xlnet': (XLNetConfig, XLNetCrfForNer, XLNetTokenizer)
i thought this is caused by tokenize process, but i cannot locate the error
appreciate for your help
The text was updated successfully, but these errors were encountered: