thomasdic2000 / enhancedLSTM

Bi-directional Attention mechanism in Enhanced LSTM for Natural Language Inference (NLI)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attention Mechanism-based Text Matching: Enhanced LSTM

Natural Language Inference (NLI) is concerned with determining whether a natural language hypothesis can be inferred (entailed) from a premise. Bi-directional Attention Mechanism.

Illustration of high-level Model Architecture esim

Reference

  1. Enhanced LSTM for Natural Language Inference https://arxiv.org/pdf/1609.06038v3.pdf
  2. Reasoning about Entailment with Neural Attention https://arxiv.org/pdf/1509.06664v1.pdf

TO-RUN:

Training:python train.py
Testing: python test.py

About

Bi-directional Attention mechanism in Enhanced LSTM for Natural Language Inference (NLI)


Languages

Language:Python 100.0%