nqg
nqg copied to clipboard
Invalid literal for float
After doing:
python preprocess_embedding.py --embedding data/qg-train.t7 --dict data/qg.src.dict --output data/qg.src.840B.300d.npy
error:
Traceback (most recent call last):
File "preprocess_embedding.py", line 76, in
Can you try with python3?
i have the same error, using python 2, do you have any tips to solve this error? thanks
whats the format for the text file which needs to be replaced in the paragraph/preprocess_embedding.sh
file ??
Can i use this file ? glove.840B.300d.txt
or is there a way to generate a embedding text file by my own ??