yao8839836 / kg-bert

KG-BERT: BERT for Knowledge Graph Completion
Apache License 2.0
679 stars 141 forks source link

UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1519: character maps to <undefined> #30

Closed wiqijan2002 closed 2 years ago

wiqijan2002 commented 2 years ago

When I try to use Freebase in three categories of triple, relation, and link prediction it gives the Unicode decode error. What should be the possible solution for this? tried with python 3.6 and 3.7.

File "C:\Users\waqas\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1519: character maps to