Skip to content

Pytorch implementations of several text semantic matching models. The repository currently contains ESIM, CAFE, RE2

Notifications You must be signed in to change notification settings

HansiZeng/text-semantic-matching

Repository files navigation

text-semantic-matching

The repository contains several Pytorch model implementations for text semantic matching. The implemented models are as followed,

Data Preparation

cd setup
bash setup_snli.sh

Run Model

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

Performance

We report the performance of ESIM, CAFE, RE2 in the SNLI dataset

Models Accuracy
ESIM 88.325
CAFE 87.320
RE2 88.458

About

Pytorch implementations of several text semantic matching models. The repository currently contains ESIM, CAFE, RE2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published