Skip to main content

Mohan Zhang's toolkit

Project description

.. _mzutils:

mzutils_ is a personal toolkit that contains various methods to do miscellaneous jobs related to data cleaning, preprocessing, visualizing, evaluating and modeling in various fields of machine learning, especially NLP and RL. It supports Datasets like SQuAD, GLUE, Deepmind CNN/DailyMail in NLP and d4rl in offlineRL, as well as their conversions to JSON, CSV, numpy arrays and tensors.

The purpose of this toolkit is to reuse the code and make Mohan Zhang's life easier.

Read the documentation here <>_!


  • if you want to use only the minimal functionalities, please do

.. code-block::

$ pip install -U mzutils
  • or if you want to use nlp specific functions, please do

.. code-block::

$ pip install -U mzutils[nlp]
  • or if you want to use all the functionalities, please do

.. code-block::

$ pip install -U mzutils[all]
$ pip install -r security_requirements.txt

.. note:: due to this unreasonable feature of pip <>, you will need to check and install from requirements.txt <>, extras_requirements.txt <>_ or security_requirements.txt <>_ according to your specific need.

Project details

Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mzutils-0.2022-py3-none-any.whl (33.9 kB view hashes)

Uploaded py3

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