Morizeyao / GPT2-Chinese

Chinese version of GPT2 training code, using BERT tokenizer.
MIT License
7.48k stars 1.7k forks source link

train. py encountered an error during runtime. Value Error: invalid literal for int() with base 10: '[SEP]' How to solve it? #292

Open nasha112 opened 9 months ago

nasha112 commented 9 months ago

train.py运行时报错 ValueError: invalid literal for int() with base 10: '[SEP]' 怎么解决?

lishangru commented 9 months ago

thankyou