You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In preprocess.py, function load_bin_vec : the line ch = f.read(1) is incorrect, atleast for Python3.
Need to add .decode("utf-8") for correctly decoding characters from GoogleNews-vectors-negative300.bin
Also, need to convert the code to Python3 for 2020 use.
The text was updated successfully, but these errors were encountered:
In
preprocess.py
, functionload_bin_vec
: the linech = f.read(1)
is incorrect, atleast for Python3.Need to add
.decode("utf-8")
for correctly decoding characters fromGoogleNews-vectors-negative300.bin
Also, need to convert the code to Python3 for 2020 use.
The text was updated successfully, but these errors were encountered: