Skip to content

JeremyHide/BiMPM_Pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  • python 3.6
  • pytorch 2.0
  • numpy 1.12.1
  • pandas 0.19.2
  • nltk 3.2.2
  • gensim 1.0.1
  • argparse

References

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

About

This is a pytorch implementation of BiMPM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages