Giter VIP home page Giter VIP logo

celarex / sts-cnn-stsbenchmark-semantic-similarity-semantic-textual-similarity-cnn-hcti-tensorflow-keras Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 7.0 430 KB

A simple implementation of paper "HCTI at SemEval-2017 Task 1: Use convolutional neural network to evaluate semantic textual similarity."

Python 100.00%
semantic-textual-similarity sts stsbenchmark semantic-similarity dataset-sts convolutional-neural-networks cnn nlp natural-language-processing natural-language-understanding

sts-cnn-stsbenchmark-semantic-similarity-semantic-textual-similarity-cnn-hcti-tensorflow-keras's Introduction

STSbenchmark

Introduction

This repository contains an implementation of paper "HCTI at SemEval-2017 Task 1: Use convolutional neural network to evaluate semantic textual similarity." https://www.aclweb.org/anthology/S17-2016

A simple CNN approach to get semantic textual similarity scores is proposed in the paper, which got the 3rd place in SemEval-2017 task 1. This implementation is based on python 3.5/Tensorflow 1.7.0/Keras 1.2.2 and can achieve over 0.77 on STSbenchmark datasets.

Citation

If you use these codes for your research, please cite:

@inproceedings{Shao:2017,
	author = {Yang Shao},
	title  = {{HCTI} at SemEval-2017 Task 1: Use convolutional neural network to evaluate Semantic Textual Similarity},
	booktitle = {Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval 2017)},
	year   = {2017},
	address = {Vancouver, Canada},
	publisher = {Association for Computational Linguistics},
	note = {\href{https://github.com/celarex}{URL}},
}

Yang Shao. 2017. HCTI at SemEval-2017 Task 1: Use convolutional neural network to evaluate semantic textual similarity. In Proceedings of SemEval-2017. https://github.com/celarex/Semantic-Textual-Similarity-STSbenchmark-HCTI-CNN

Training

To train your own model, you need to download GloVe pre-trained word vectors from http://nlp.stanford.edu/data/glove.840B.300d.zip first and unzip it in your folder.
To train your CNN model on STSbenchmark datasets:

python sts.py

Enjoy!

sts-cnn-stsbenchmark-semantic-similarity-semantic-textual-similarity-cnn-hcti-tensorflow-keras's People

Contributors

celarex avatar kamikazeteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sts-cnn-stsbenchmark-semantic-similarity-semantic-textual-similarity-cnn-hcti-tensorflow-keras'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.