Bert-Chinese-Text-Classification-Pytorch icon indicating copy to clipboard operation
Bert-Chinese-Text-Classification-Pytorch copied to clipboard

运行错误 AttributeError: 'NoneType' object has no attribute 'tokenize'

Open Upsetin opened this issue 3 years ago • 3 comments

AttributeError: 'NoneType' object has no attribute 'tokenize' 求救

Upsetin avatar Mar 03 '21 13:03 Upsetin

AttributeError: 'NoneType' object has no attribute 'tokenize' 求救

把bert_pretrain目录下的bert-base-chinese-vocab.txt 改名为 vocab.txt 就好了

geralt-write-code avatar Mar 04 '21 07:03 geralt-write-code

AttributeError: 'NoneType' object has no attribute 'tokenize' 求救

把bert_pretrain目录下的bert-base-chinese-vocab.txt 改名为 vocab.txt 就好了

谢谢

ArlanCooper avatar Apr 13 '21 09:04 ArlanCooper

AttributeError: 'NoneType' object has no attribute 'tokenize' 求救

把bert_pretrain目录下的bert-base-chinese-vocab.txt 改名为 vocab.txt 就好了

谢谢

谢谢,解决了

YjhCS avatar Oct 31 '21 07:10 YjhCS