UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 10: illegal multibyte sequence
make_vocab.py
22行 f = open(args.raw_data_path, 'r',encoding='utf-8')
AttributeError: module transformers has no attribute modeling_gpt2
解决方法为把transformers版本降为2.1.1
pip install transformers=2.1.1
博客经营得不错啊,大赞