A tensorflow implementation of ESIM model ,
Enhanced LSTM for Natural Language Inference
which is on the strength of decompAtt.A Decomposable Attention Model for Natural Language Inference
- Python>=3
- TensorFlow>=1.12
- Numpy
- Gensim
- NLTK >=3.4
For Textual Entailment dataset,
such as The Stanford Natural Language Inference (SNLI) ,The Scitail dataset etc.
-
Download dataset
-
Modify file paths in
config.py
-
Training model
python run.py --train