Code Monkey home page Code Monkey logo

siamese-lstm's Introduction

Siamese-LSTM RNN for semantic sentence search

last edit:9-5-2018 This project is actually for the IRTA course in leiden Uni.

Target: to detect the semantic duplicate from pairs of sentence.

用途:用来记录语意相似文本

the basic idea behind this program is this paper.

environment环境:

    python 3.6.4
    tensorflow 1.8
    nltk 3.2.5
    keras 2.1.5
    sklearn 0.19
    gensim 1.7

reference:

    https://github.com/likejazz/Siamese-LSTM
    https://github.com/aditya1503/Siamese-LSTM
    https://blog.csdn.net/android_ruben/article/details/78427068

note:

    the pre-trained word vector has been used(numberbatch-17-06_en in the test).both word2vec and numberbatch are recommended

result:

    acc on training data: 0.9078
    acc on test data: 0.8316

future work:

may be improved by useing stemming of words and filter stopwords
to do:
    1.train new word embedding(numberbatch may not support stemming)
    2.process the input file into stemming version 

siamese-lstm's People

Contributors

dabingrosewood avatar

Stargazers

maxinrui avatar 班克斯 avatar

Watchers

James Cloos avatar

Forkers

kyroad

siamese-lstm's Issues

感谢

看了这么多版本的孪生网络,还是阁下您写的简单易懂
帮了大忙,多谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.