skip-thoughts
skip-thoughts copied to clipboard
Sent2Vec encoder and training code from the paper "Skip-Thought Vectors"
i'm using this code to calculate the Semantic-Relatedness. When i run this code `import eval_sick` `eval_sick.evaluate(model, evaltest=True)` I got an error as follow: > File "/home/weixinru/skip-thoughts-master/skipthoughts.py", line 145, in encode...
If I have a corpus of documents, each with multiple sentences, how should I preprocess these sentences so that when they are tokenized they yield useful tokens? For example, should...
A model has been trained according to the instruction [here](https://github.com/ryankiros/skip-thoughts/tree/master/training). I can load the model using the following commands: ``` import tools embed_map = tools.load_googlenews_vectors() model = tools.load_model(embed_map) ``` After...
Do you have an example usage of `nn_words`, i.e., as shown in "Table 3: Nearest neighbours of words after vocabulary expansion" in the paper? It's not clear how to prepare...
Right now the Logistic Regression model that is built with Keras to be used for evaluating semantic relatedness doesn't work with any new versions. This has a simple fix.
Currently you have to scroll down to the bottom of README.md to determine how the code in this repository is licensed. Please add a separate LICENSE file to make it...
TypeError: load_googlenews_vectors() takes no arguments (1 given)
When I run the Semantic-Relatedness task import eval_sick eval_sick.evaluate(model, evaltest=True) Errors: In [7]: import eval_sick Using Theano backend. In [8]: eval_sick.evaluate(model, evaltest=True) Preparing data... Computing training skipthoughts... Computing development skipthoughts......
When I run the Semantic-Relatedness task import eval_sick eval_sick.evaluate(model, evaltest=True) Errors: Traceback (most recent call last): File "/home/mmc/Downloads/skip-thoughts-master/Semantic-Relatedness.py", line 8, in eval_sick.evaluate(model, evaltest=False) File "/home/mmc/Downloads/skip-thoughts-master/eval_sick.py", line 42, in evaluate lrmodel...