Traceback (most recent call last):


 "fairseq_en_de.py", line 16, in <module>

bpe='subword_nmt')


 "H:\Research\torch\env\lib\site-packages\torch\hub.py", line 340, in load

model = entry(*args, **kwargs)


 "C:\Users\youwei/.cache\torch\hub\pytorch_fairseq_master\fairseq\models\fairseq_model.py", line 176, in from_pretrained

return hub_utils.GeneratorHubInterface(x['args'], x['task'], x['models'])


 "C:\Users\youwei/.cache\torch\hub\pytorch_fairseq_master\fairseq\hub_utils.py", line 92, in __init__

self.bpe = encoders.build_bpe(args)


 "C:\Users\youwei/.cache\torch\hub\pytorch_fairseq_master\fairseq\registry.py", line 41, in build_x

return builder(args, *extra_args, **extra_kwargs)


 "C:\Users\youwei/.cache\torch\hub\pytorch_fairseq_master\fairseq\data\encoders\subword_nmt_bpe.py", line 41, in __init__

bpe_args.glossaries,


 "H:\Research\torch\env\lib\site-packages\subword_nmt\apply_bpe.py", line 37, in __init__

firstline = codes.readline()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 3259: illegal multibyte sequence


Traceback (most recent call last):


 "/usr/lib/python3.7/pathlib.py", line 697, in __str__

return self._str

AttributeError: _str
