Skip to content

steven640pixel/PsedualMWP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solving Math Word Problems with Re-examination

The code is the implementation of PseDual for reexamination.

Requirements

  • Pytorch = 1.6.0;
  • Transformers

Data

Math23k and MathQA datasets can be downloaded from public sources and set to ./data directory.

The annotations include problem tokens, expression, num_list and nums position in problem.

Pre-trained bert-base model for problems encoding can be downloaded to a ./pretrained_models directory.

Train and Test

The main.py can be used to train and test model. The example trained model can be downloaded.

python main.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages