JeremyHide / BiMPM_Pytorch

This is a pytorch implementation of BiMPM
7 stars 2 forks source link

BiMPM_Pytorch

Pytorch implementation of Bilateral Multi-Perspective Matching [1] using in Quora Question Duplicate Pairs Competition. You can find the original tensorflow implementation from here.

Description

models/model.py - model graph.

models/MultiPerspective.py - multi perspective matching layer.

train_bimpm_gpu.py - train and test BiMPM model.

If you find any bugs, please create an issue, thanks.

Requirements

References

[1] Zhiguo Wang, Wael Hamza and Radu Florian. "Bilateral Multi-Perspective Matching for Natural Language Sentences."