Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[P] Sentence similarity using siamese LSTM

So I have a project where I find the semantic sentence similarity between a dataset of two sentences. For the dataset, I use STS-Benchmark.

First, I used English Wikipedia dump to create a word2vec matrix. Then I used the function text_to_sequence to convert my sentences to an array.

I developped a siamese LSTM, but my problem is that the validation accuracy never increase. I’m stuck at an accuracy of 0.25 to 0.30. When I use spearman’s correlation, I get a value of 45%.

Here is my code: https://pastebin.com/jPaZbDDM

submitted by /u/momo11arsenal
[link] [comments]