We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading word2vec embedding causes the memory issue. Loading embedding vector in string format require much more memory.
Modify the function matchzoo.embedding.load_from_file from:
matchzoo.embedding.load_from_file
data = pd.read_csv(file_path, sep=" ", index_col=0, header=None, skiprows=1)
to:
data = pd.read_csv(file_path, sep=" ", index_col=0, header=None, skiprows=1, quoting=csv.QUOTE_NONE)
The text was updated successfully, but these errors were encountered:
would you like to send a PR to fix this issue? @danielwonght
Sorry, something went wrong.
Sure.
No branches or pull requests
Describe the bug
Loading word2vec embedding causes the memory issue. Loading embedding vector in string format require much more memory.
Solution
Modify the function
matchzoo.embedding.load_from_file
from:to:
The text was updated successfully, but these errors were encountered: