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
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