Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mwptoolkit-0.0.6.tar.gz (251.5 kB view details)

Uploaded Source

Built Distribution

mwptoolkit-0.0.6-py3-none-any.whl (366.9 kB view details)

Uploaded Python 3

File details

Details for the file mwptoolkit-0.0.6.tar.gz.

File metadata

  • Download URL: mwptoolkit-0.0.6.tar.gz
  • Upload date:
  • Size: 251.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.0

File hashes

Hashes for mwptoolkit-0.0.6.tar.gz
Algorithm Hash digest
SHA256 354dd56091ad5a7e632d2e93b9d13bf72a9e137ef84d522aa3ea8987bb78fa5c
MD5 f7587e4d671bce91210b5ea8cf780587
BLAKE2b-256 c444684b1fa54b697e60e84fe06f96d49cff9ffa828005612e7d9a4062e77000

See more details on using hashes here.

File details

Details for the file mwptoolkit-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: mwptoolkit-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 366.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.0

File hashes

Hashes for mwptoolkit-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 684e34b9821b805c40bf74f76afdcc28c4b6335b1b97ea40bdfeba9c853d5e5a
MD5 6df8a4375e5612247b4f45e7f34a3a81
BLAKE2b-256 f716fd7d3a1491c80868ed3d7a63ecc09e741d2d52335f3f20f83a330e37f7c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page