/KA-S2T

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

A Knowledge-Aware Sequence-to-Tree Network for Math Word Problem Solving, In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP 2020), November 16-20, 2020.

Requirement

  • Python2.7
  • Pytorch 1.1.0
  • numpy
  • nltk
  • hownet
  • cilin

Train the model.

python run_seq2tree.py

Evaluate the model.

python evaluate.py