Spacy: Sentence Similarity web demo is not working

Created on 9 Oct 2017  路  6Comments  路  Source: explosion/spaCy

Hi, I am not sure if it's the right repo to report this issue, but I was tinkering around with spaCy sentence similarity demo and it is not working on all my browsers, it keeps loading and giving me this:

Oops, something went wrong. Please try again!

Example query: https://demos.explosion.ai/similarity/?text1=Spain%20&text2=The%20Philippines

examples

Most helpful comment

Sorry for dragging my feet on this folks.

I was never really thrilled by the results the similarity models were giving, even though the performance on the development data was pretty good. I think the things the models learned really didn't generalise well.

I've now replaced the similarity demo with one that compares the similarity results from spaCy's en_core_web_lg and en_core_web_sm models.

https://demos.explosion.ai/similarity/?text1=This%20is%20a%20sentence&text2=This%20is%20another%20sentence

I'm hoping to revisit the supervised similarity stuff soon. @msamogh I thought I got the siamese example up to date in thinc? When did you try?

All 6 comments

The cause is GET https://api.explosion.ai/similarity/models returns a 502.
Additionally, the root GET https://api.explosion.ai/ returns the default nginx page.

Any update on this?

I'm unable to run the siamese network provided in the thinc repo's demo folder as well. So hoping for some solution to this to test out how well it works.

Sorry for dragging my feet on this folks.

I was never really thrilled by the results the similarity models were giving, even though the performance on the development data was pretty good. I think the things the models learned really didn't generalise well.

I've now replaced the similarity demo with one that compares the similarity results from spaCy's en_core_web_lg and en_core_web_sm models.

https://demos.explosion.ai/similarity/?text1=This%20is%20a%20sentence&text2=This%20is%20another%20sentence

I'm hoping to revisit the supervised similarity stuff soon. @msamogh I thought I got the siamese example up to date in thinc? When did you try?

@honnibal I tried it a couple of times in the last month.

There was a one-line change that I had to make in Thinc's source code to get the example running. When I tried recompiling, however, I would run into a circular dependency error involving the spaCy and Thinc versions. So I could never get it to work.

Regarding this:

I was never really thrilled by the results the similarity models were giving, even though the performance on the development data was pretty good. I think the things the models learned really didn't generalise well.

Was it trained on the Quora QA dataset?

Was it trained on the Quora QA dataset?

Yes, we trained one model on Quora, and one on StackOverflow (CQADupStack). There was also a baseline model using the English GloVe vectors.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings