MWPGen Automatic Math Word Problem Generation With Topic-Expression Co-Attention Mechanism and Reinforcement Learning published at TASLP2022 (IEEE/ACM Transactions on Audio, Speech and Language Processing)
- Python2.7
- Pytorch 1.4.0
- numpy
- nltk
- nlgeval [https://github.com/Maluuba/nlg-eval]
python main.py
Metrics ## - BLEU - METEOR - ROUGE - CIDEr
python eval_BLEU.py --test MWPGen
#Metircs Solvability of the generated math word problems. Evaluated by a state-of-art math word problem solving model GTS [https://github.com/ShichaoSun/math_seq2tree]
python eval_NLG.py --test MWPGen