Instructions to use invokerliang/MWP-BERT-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use invokerliang/MWP-BERT-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="invokerliang/MWP-BERT-en")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("invokerliang/MWP-BERT-en") model = AutoModelForMaskedLM.from_pretrained("invokerliang/MWP-BERT-en") - Notebooks
- Google Colab
- Kaggle
MWP-BERT
NAACL 2022 Findings Paper: MWP-BERT: Numeracy-Augmented Pre-training for Math Word Problem Solving
Github link: https://github.com/LZhenwen/MWP-BERT/
Citation
@inproceedings{liang2022mwp,
title={MWP-BERT: Numeracy-Augmented Pre-training for Math Word Problem Solving},
author={Liang, Zhenwen and Zhang, Jipeng and Wang, Lei and Qin, Wei and Lan, Yunshi and Shao, Jie and Zhang, Xiangliang},
booktitle={Findings of NAACL 2022},
pages={997--1009},
year={2022}
}
- Downloads last month
- 9