pytorch_uie_ner icon indicating copy to clipboard operation
pytorch_uie_ner copied to clipboard

微调得时候报错

Open wish-1996 opened this issue 2 years ago • 2 comments

微调的时候报"return convert_example(self.dataset[index], tokenizer=self.tokenizer, max_seq_len=self.max_seq_len) IndexError: list index out of range"我也不知道该怎么解决 前面运行 python convert.py都是可以的

wish-1996 avatar Dec 21 '22 03:12 wish-1996

微调的时候报"return convert_example(self.dataset[index], tokenizer=self.tokenizer, max_seq_len=self.max_seq_len) IndexError: list index out of range"我也不知道该怎么解决 前面运行 python convert.py都是可以的

检查一下生成的数据看看。

taishan1994 avatar Dec 21 '22 04:12 taishan1994

微调的时候报"return convert_example(self.dataset[index], tokenizer=self.tokenizer, max_seq_len=self.max_seq_len) IndexError: list index out of range"我也不知道该怎么解决 前面运行 python convert.py都是可以的

检查一下生成的数据看看。 发现问题了,是电脑得问题 回家换了台式机就能跑通了

wish-1996 avatar Jan 12 '23 14:01 wish-1996