All Projects → wyu-du → ARCII-for-Matching-Natural-Language-Sentences

wyu-du / ARCII-for-Matching-Natural-Language-Sentences

Licence: other
A simple Keras implementation of ARC-II model proposed by paper "Convolutional Neural Network Architectures for Matching Natural Language Sentences"

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ARCII-for-Matching-Natural-Language-Sentences

VirtualBLU
A Virtual Assistant for Windows PC with wicked Qt Graphics.
Stars: ✭ 41 (+57.69%)
Mutual labels:  keras-implementations
EDVR Keras
Keras implementation of EDVR: Video Restoration with Enhanced Deformable Convolutional Networks
Stars: ✭ 35 (+34.62%)
Mutual labels:  keras-implementations
keras-stochastic-weight-averaging
Keras callback function for stochastic weight averaging
Stars: ✭ 53 (+103.85%)
Mutual labels:  keras-implementations
GAN-keras
tensorflow2.x implementations of Generative Adversarial Networks.
Stars: ✭ 30 (+15.38%)
Mutual labels:  keras-implementations
open-solution-cdiscount-starter
Open solution to the Cdiscount’s Image Classification Challenge
Stars: ✭ 20 (-23.08%)
Mutual labels:  keras-implementations
Keras-Generating-Sentences-from-a-Continuous-Space
Text Variational Autoencoder inspired by the paper 'Generating Sentences from a Continuous Space' Bowman et al. https://arxiv.org/abs/1511.06349
Stars: ✭ 32 (+23.08%)
Mutual labels:  keras-implementations
conv3d-video-action-recognition
My experimentation around action recognition in videos. Contains Keras implementation for C3D network based on original paper "Learning Spatiotemporal Features with 3D Convolutional Networks", Tran et al. and it includes video processing pipelines coded using mPyPl package. Model is being benchmarked on popular UCF101 dataset and achieves result…
Stars: ✭ 50 (+92.31%)
Mutual labels:  keras-implementations
Anyq
FAQ-based Question Answering System
Stars: ✭ 2,336 (+8884.62%)
Mutual labels:  semantic-matching
Kaggle Crowdflower
1st Place Solution for CrowdFlower Product Search Results Relevance Competition on Kaggle.
Stars: ✭ 1,708 (+6469.23%)
Mutual labels:  semantic-matching
DLSS
Deep Learning Super Sampling with Deep Convolutional Generative Adversarial Networks.
Stars: ✭ 88 (+238.46%)
Mutual labels:  keras-implementations

ARCII-for-Matching-Natural-Language-Sentences

A simple version of ARC-II model implemented in Keras.
Please reference paper:Convolutional Neural Network Architectures for Matching Natural Language Sentences

Quick Glance

  1. Input Data Format
  • Train set:
label	|q1	|q2
1	|Amrozi accused his brother, whom he called "the witness", of deliberately distorting his evidence.	|Referring to him as only "the witness", Amrozi accused his brother of deliberately distorting his evidence.
0	|Yucaipa owned Dominick's before selling the chain to Safeway in 1998 for $2.5 billion.	|Yucaipa bought Dominick's in 1995 for $693 million and sold it to Safeway for $1.8 billion in 1998.
  • Test set:
q1	|q2
Amrozi accused his brother, whom he called "the witness", of deliberately distorting his evidence.	|Referring to him as only "the witness", Amrozi accused his brother of deliberately distorting his evidence.
Yucaipa owned Dominick's before selling the chain to Safeway in 1998 for $2.5 billion.	|Yucaipa bought Dominick's in 1995 for $693 million and sold it to Safeway for $1.8 billion in 1998.
  • Word Embedding:
word	|embedding (300-dimension)
Amrozi	|-0.54645991 2.28509140 ... -0.34052843 -2.01874685
chief	|-9.01635551 -3.80108356 ... 1.86873138 2.14706421
  1. Train the model
$ python arcii.py
  1. Loss and Accuracy
    A toy data set example copied from MatchZoo's toy example

Requirements

  • Python 3.5
  • TensorFlow 1.8.0
  • Keras 2.1.6

To do list

  • Negative Sampling
  • Mask zero inputs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].