vecto
vecto copied to clipboard
Analogies
Hello, I'm trying to evaluate some word embeddings with analogies, however, the examples from the jupyter notebooks and documentations are not working, probably deprecated...
import vecto.embeddings
embeddings = vecto.embeddings.load_from_dir("/storage/data/NLP/embeddings/6b.wiki_giga")
analogy = Analogy()
analogy.get_result()
or
path_model = "./UC/SINONIMO_N_8_2_100_50.txt"
options = {}
options["path_dataset"] = "./UC/SINONIMO_N_8_2_100_50.txt"
options["path_results"] = "UC/results"
options["name_method"] = "3CosAdd"
vecto.benchmarks.analogy.run(model, options)
None of those approaches work..
How can I use my analogies to test my embeddings?
how exactly it doesn't work? documentation might be dated, but the tests are passing, so you can look at unittests source to check how it is invoked. also can use vecto from the command line