Pytorch implementations of several text semantic matching models. The repository currently contains ESIM, CAFE, RE2
The repository contains several Pytorch model implementations for text semantic matching. The implemented models are as followed,
cd setup
bash setup_snli.sh
python train.py --model="esim" # run ESIM model
or
python train.py --model="cafe" # run CAFE model
or
python train.py --model="re2" # run RE2 model
We report the performance of ESIM, CAFE, RE2 in the SNLI dataset
| Models | Accuracy |
|—-|—-|
| ESIM | 88.325 |
| CAFE | 87.320 |
| RE2 | 88.458 |