ytsvetko / qvec Goto Github PK
View Code? Open in Web Editor NEWIntrinsic evaluation of word vectors
License: Open Data Commons Open Database License v1.0
Intrinsic evaluation of word vectors
License: Open Data Commons Open Database License v1.0
Thanks for making the code available. I want to run supersense_matrix.py. But the error occurred after execution. I found that the 'node' method has been deprecated. Could you please tell me how I can solve this problem?Thanks. My nltk version is 3.4.
Hi,
Thanks for making the code available. I have an embedding model in this format:
word1 4 -2 3 1 1 1 0 -2 2 3 1 0 0 0 -3 -4 0 0 3 -4 1 -5 2 -2 0 -1 -2 0 0 1 0 0 2 2 0 3 -4 -2 0 -5 -1 1 1 2 -2 0 -2 0 -2 -3 -1 -3 0 0 -5 0 5 -2 -1 -2 0 2 0 0 0 2 5 -3 1 2 1 -3 0 1 3 0 -3 0 1 -2 2 -1 -1 0 -4 2 0 -1 0 0 -1 1 0 -5 2 0 0 0 -2 -2
word2 ...
It contains 10008676 lines and about 2.5 GB in size. I use python2.7. my running command is this:
$> ./qvec-python2.7.py --in_vectors $embedding --in_oracle oracles/semcor_noun_verb.supersenses.en
After running "Loading VSM file: ....", it takes around 10-20 mins till it stops. The output after being stoped is "Killed". It can't be memory since I tired bigger embeddings and they went through. What could it be the possible reason?
I'm running QVEC as per the provided instructions and this is the error I get. My input word vectors file follows the word2vec convention (Line 1: [vocab_size] [vector_dimension], all future lines contain [word] [vector]).
Traceback (most recent call last):
File "qvec-python2.7.py", line 208, in <module>
main()
File "qvec-python2.7.py", line 189, in main
vsm_matrix.AddMatrix(args.in_vectors, top_k)
File "qvec-python2.7.py", line 127, in AddMatrix
val = float(val)
ValueError: could not convert string to float: cleves
Could you please let me know what changes I'll have to make to get this to work? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.