Skip to main content

MWPToolkit

MWPToolkit is a PyTorch-based toolkit for Math Word Problem(MWP) solving. It is a comprehensive framework for research purpose that integrates popular MWP benchmark datasets and typical deep learning-based MWP algorithms.

Feature

  • Comprehensive toolkit for MWP solving task. To our best knowledge, MWP toolkit is the first open-source library for MWP solving task, where popular benchmark datasets and advanced deep learning-based methods for MWP solving tasks are integrated into a unified framework.
  • Easy to get started. MWP toolkit is developed upon Python and Pytorch. We provide detailed instruction, which facilitates users to evaluate the build-in datasets or apply the code to their own data.
  • Highly modularized framework. MWP toolkit is designed with highly reused modules and provides convenient interfaces for users. Specifically, data preprocessor, data loader, encoder, decoder and evaluator form the running procedure. Each module could be developed and extended independently.

News in version 0.0.6

  • 1.Fix some bugs [Issue #12, #8]:

    (1)from_prefix_to_infix,from_postfix_to_infix in mwptoolkit/utils/preprocess_tool/equation_operator.py

    (2)the sequence length will be longer than pos_embedder's max length in RobertGen, BertGen.

    (3)data preprocessing for new dataset won't automatically remove 'x=' or '=x' in single equation.

  • 2.Update new models:

    (1)Seq2Tree model BertTD

    (2)Seq2Tree model MWPBert

  • 3.Rewrite Dataloader and Config

  • 4.Implement function save_dataset() and load_from_pretrained() of Dataset

  • 5.Implement function save_config() and load_from_pretrained() of Config

Release files for mwptoolkit 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mwptoolkit 0.0.6
File Size Uploaded
mwptoolkit-0.0.6.tar.gz 251.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mwptoolkit 0.0.6
File Interpreter ABI Platform
mwptoolkit-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 618.3 kB

Release files / mwptoolkit-0.0.6.tar.gz

Download URL mwptoolkit-0.0.6.tar.gz
Size 251.5 kB
Tags Source
SHA-256 checksum
How to use checksums
354dd56091ad5a7e632d2e93b9d13bf72a9e137ef84d522aa3ea8987bb78fa5c
BLAKE2b-256 checksum
How to use checksums
c444684b1fa54b697e60e84fe06f96d49cff9ffa828005612e7d9a4062e77000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.0

Release files / mwptoolkit-0.0.6-py3-none-any.whl

Download URL mwptoolkit-0.0.6-py3-none-any.whl
Size 366.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
684e34b9821b805c40bf74f76afdcc28c4b6335b1b97ea40bdfeba9c853d5e5a
BLAKE2b-256 checksum
How to use checksums
f716fd7d3a1491c80868ed3d7a63ecc09e741d2d52335f3f20f83a330e37f7c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page