allennlp 2.10.1


pip install allennlp

  Latest version

Released: Oct 18, 2022

Project Links

Meta
Author: Allen Institute for Artificial Intelligence
Requires Python: >=3.7.1

Classifiers

Intended Audience
  • Science/Research

Development Status
  • 3 - Alpha

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3

Topic
  • Scientific/Engineering :: Artificial Intelligence

An Apache 2.0 NLP research library, built on PyTorch, for developing state-of-the-art deep learning models on a wide variety of linguistic tasks.


CI PyPI License Codecov Optuna

⚠️ NOTICE: The AllenNLP library is now in maintenance mode. That means we are no longer adding new features or upgrading dependencies. We will still respond to questions and address bugs as they arise up until December 16th, 2022. If you have any concerns or are interested in maintaining AllenNLP going forward, please open an issue on this repository.

AllenNLP has been a big success, but as the field is advancing quickly it's time to focus on new initiatives. We're working hard to make AI2 Tango the best way to organize research codebases. If you are an active user of AllenNLP, here are some suggested alternatives:

  • If you like the trainer, the configuration language, or are simply looking for a better way to manage your experiments, check out AI2 Tango.
  • If you like AllenNLP's modules and nn packages, check out delmaksym/allennlp-light. It's even compatible with AI2 Tango!
  • If you like the framework aspect of AllenNLP, check out flair. It has multiple state-of-art NLP models and allows you to easily use pretrained embeddings such as those from transformers.
  • If you like the AllenNLP metrics package, check out torchmetrics. It has the same API as AllenNLP, so it should be a quick learning curve to make the switch.
  • If you want to vectorize text, try the transformers library.
  • If you want to maintain the AllenNLP Fairness or Interpret components, please get in touch. There is no alternative to it, so we are looking for a dedicated maintainer.
  • If you are concerned about other AllenNLP functionality, please create an issue. Maybe we can find another way to continue supporting your use case.

Quick Links

In this README

Getting Started Using the Library

If you're interested in using AllenNLP for model development, we recommend you check out the AllenNLP Guide for a thorough introduction to the library, followed by our more advanced guides on GitHub Discussions.

When you're ready to start your project, we've created a couple of template repositories that you can use as a starting place:

  • If you want to use allennlp train and config files to specify experiments, use this template. We recommend this approach.
  • If you'd prefer to use python code to configure your experiments and run your training loop, use this template. There are a few things that are currently a little harder in this setup (loading a saved model, and using distributed training), but otherwise it's functionality equivalent to the config files setup.

In addition, there are external tutorials:

And others on the AI2 AllenNLP blog.

Plugins

AllenNLP supports loading "plugins" dynamically. A plugin is just a Python package that provides custom registered classes or additional allennlp subcommands.

There is ecosystem of open source plugins, some of which are maintained by the AllenNLP team here at AI2, and some of which are maintained by the broader community.

Plugin Maintainer CLI Description
allennlp-models AI2 No A collection of state-of-the-art models
allennlp-semparse AI2 No A framework for building semantic parsers
allennlp-server AI2 Yes A simple demo server for serving models
allennlp-optuna Makoto Hiramatsu Yes Optuna integration for hyperparameter optimization

AllenNLP will automatically find any official AI2-maintained plugins that you have installed, but for AllenNLP to find personal or third-party plugins you've installed, you also have to create either a local plugins file named .allennlp_plugins in the directory where you run the allennlp command, or a global plugins file at ~/.allennlp/plugins. The file should list the plugin modules that you want to be loaded, one per line.

To test that your plugins can be found and imported by AllenNLP, you can run the allennlp test-install command. Each discovered plugin will be logged to the terminal.

For more information about plugins, see the plugins API docs. And for information on how to create a custom subcommand to distribute as a plugin, see the subcommand API docs.

Package Overview

allennlp An open-source NLP research library, built on PyTorch
allennlp.commands Functionality for the CLI
allennlp.common Utility modules that are used across the library
allennlp.data A data processing module for loading datasets and encoding strings as integers for representation in matrices
allennlp.fairness A module for bias mitigation and fairness algorithms and metrics
allennlp.modules A collection of PyTorch modules for use with text
allennlp.nn Tensor utility functions, such as initializers and activation functions
allennlp.training Functionality for training models

Installation

AllenNLP requires Python 3.6.1 or later and PyTorch.

We support AllenNLP on Mac and Linux environments. We presently do not support Windows but are open to contributions.

Installing via conda-forge

The simplest way to install AllenNLP is using conda (you can choose a different python version):

conda install -c conda-forge python=3.8 allennlp

To install optional packages, such as checklist, use

conda install -c conda-forge allennlp-checklist

or simply install allennlp-all directly. The plugins mentioned above are similarly installable, e.g.

conda install -c conda-forge allennlp-models allennlp-semparse allennlp-server allennlp-optuna

Installing via pip

It's recommended that you install the PyTorch ecosystem before installing AllenNLP by following the instructions on pytorch.org.

After that, just run pip install allennlp.

⚠️ If you're using Python 3.7 or greater, you should ensure that you don't have the PyPI version of dataclasses installed after running the above command, as this could cause issues on certain platforms. You can quickly check this by running pip freeze | grep dataclasses. If you see something like dataclasses=0.6 in the output, then just run pip uninstall -y dataclasses.

If you need pointers on setting up an appropriate Python environment or would like to install AllenNLP using a different method, see below.

Setting up a virtual environment

Conda can be used set up a virtual environment with the version of Python required for AllenNLP. If you already have a Python 3 environment you want to use, you can skip to the 'installing via pip' section.

  1. Download and install Conda.

  2. Create a Conda environment with Python 3.8 (3.7 or 3.9 would work as well):

    conda create -n allennlp_env python=3.8
    
  3. Activate the Conda environment. You will need to activate the Conda environment in each terminal in which you want to use AllenNLP:

    conda activate allennlp_env
    

Installing the library and dependencies

Installing the library and dependencies is simple using pip.

pip install allennlp

To install the optional dependencies, such as checklist, run

pip install allennlp[checklist]

Or you can just install all optional dependencies with pip install allennlp[all].

Looking for bleeding edge features? You can install nightly releases directly from pypi

AllenNLP installs a script when you install the python package, so you can run allennlp commands just by typing allennlp into a terminal. For example, you can now test your installation with allennlp test-install.

You may also want to install allennlp-models, which contains the NLP constructs to train and run our officially supported models, many of which are hosted at https://demo.allennlp.org.

pip install allennlp-models

Installing using Docker

Docker provides a virtual machine with everything set up to run AllenNLP-- whether you will leverage a GPU or just run on a CPU. Docker provides more isolation and consistency, and also makes it easy to distribute your environment to a compute cluster.

AllenNLP provides official Docker images with the library and all of its dependencies installed.

Once you have installed Docker, you should also install the NVIDIA Container Toolkit if you have GPUs available.

Then run the following command to get an environment that will run on GPU:

mkdir -p $HOME/.allennlp/
docker run --rm --gpus all -v $HOME/.allennlp:/root/.allennlp allennlp/allennlp:latest

You can test the Docker environment with

docker run --rm --gpus all -v $HOME/.allennlp:/root/.allennlp allennlp/allennlp:latest test-install 

If you don't have GPUs available, just omit the --gpus all flag.

Building your own Docker image

For various reasons you may need to create your own AllenNLP Docker image, such as if you need a different version of PyTorch. To do so, just run make docker-image from the root of your local clone of AllenNLP.

By default this builds an image with the tag allennlp/allennlp, but you can change this to anything you want by setting the DOCKER_IMAGE_NAME flag when you call make. For example, make docker-image DOCKER_IMAGE_NAME=my-allennlp.

If you want to use a different version of Python or PyTorch, set the flags DOCKER_PYTHON_VERSION and DOCKER_TORCH_VERSION to something like 3.9 and 1.9.0-cuda10.2, respectively. These flags together determine the base image that is used. You can see the list of valid combinations in this GitHub Container Registry: github.com/allenai/docker-images/pkgs/container/pytorch.

After building the image you should be able to see it listed by running docker images allennlp.

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
allennlp/allennlp   latest              b66aee6cb593        5 minutes ago       2.38GB

Installing from source

You can also install AllenNLP by cloning our git repository:

git clone https://github.com/allenai/allennlp.git

Create a Python 3.7 or 3.8 virtual environment, and install AllenNLP in editable mode by running:

pip install -U pip setuptools wheel
pip install --editable .[dev,all]

This will make allennlp available on your system but it will use the sources from the local clone you made of the source repository.

You can test your installation with allennlp test-install. See https://github.com/allenai/allennlp-models for instructions on installing allennlp-models from source.

Running AllenNLP

Once you've installed AllenNLP, you can run the command-line interface with the allennlp command (whether you installed from pip or from source). allennlp has various subcommands such as train, evaluate, and predict. To see the full usage information, run allennlp --help.

You can test your installation by running allennlp test-install.

Issues

Everyone is welcome to file issues with either feature requests, bug reports, or general questions. As a small team with our own internal goals, we may ask for contributions if a prompt fix doesn't fit into our roadmap. To keep things tidy we will often close issues we think are answered, but don't hesitate to follow up if further discussion is needed.

Contributions

The AllenNLP team at AI2 (@allenai) welcomes contributions from the community. If you're a first time contributor, we recommend you start by reading our CONTRIBUTING.md guide. Then have a look at our issues with the tag Good First Issue.

If you would like to contribute a larger feature, we recommend first creating an issue with a proposed design for discussion. This will prevent you from spending significant time on an implementation which has a technical limitation someone could have pointed out early on. Small contributions can be made directly in a pull request.

Pull requests (PRs) must have one approving review and no requested changes before they are merged. As AllenNLP is primarily driven by AI2 we reserve the right to reject or revert contributions that we don't think are good additions.

Citing

If you use AllenNLP in your research, please cite AllenNLP: A Deep Semantic Natural Language Processing Platform.

@inproceedings{Gardner2017AllenNLP,
  title={AllenNLP: A Deep Semantic Natural Language Processing Platform},
  author={Matt Gardner and Joel Grus and Mark Neumann and Oyvind Tafjord
    and Pradeep Dasigi and Nelson F. Liu and Matthew Peters and
    Michael Schmitz and Luke S. Zettlemoyer},
  year={2017},
  Eprint = {arXiv:1803.07640},
}

Team

AllenNLP is an open-source project backed by the Allen Institute for Artificial Intelligence (AI2). AI2 is a non-profit institute with the mission to contribute to humanity through high-impact AI research and engineering. To learn more about who specifically contributed to this codebase, see our contributors page.

2.10.1 Oct 18, 2022
2.10.0 Jul 14, 2022
2.9.3 Apr 14, 2022
2.9.2 Mar 22, 2022
2.9.1 Mar 09, 2022
2.9.0 Jan 27, 2022
2.9.0.dev20220127 Jan 27, 2022
2.9.0.dev20220126 Jan 26, 2022
2.9.0.dev20220125 Jan 25, 2022
2.9.0.dev20220124 Jan 24, 2022
2.9.0.dev20220120 Jan 20, 2022
2.9.0.dev20220119 Jan 19, 2022
2.9.0.dev20220118 Jan 18, 2022
2.9.0.dev20220117 Jan 17, 2022
2.9.0.dev20220114 Jan 14, 2022
2.9.0.dev20220113 Jan 13, 2022
2.9.0.dev20220112 Jan 12, 2022
2.9.0.dev20220107 Jan 07, 2022
2.9.0.dev20220106 Jan 06, 2022
2.9.0.dev20220105 Jan 05, 2022
2.9.0.dev20220104 Jan 04, 2022
2.9.0.dev20220103 Jan 03, 2022
2.9.0.dev20211231 Dec 31, 2021
2.9.0.dev20211230 Dec 30, 2021
2.9.0.dev20211229 Dec 29, 2021
2.9.0.dev20211228 Dec 28, 2021
2.9.0.dev20211224 Dec 24, 2021
2.9.0.dev20211217 Dec 17, 2021
2.9.0.dev20211215 Dec 15, 2021
2.8.0 Nov 01, 2021
2.7.0 Sep 01, 2021
2.7.0.dev20210901 Sep 01, 2021
2.7.0.dev20210831 Aug 31, 2021
2.7.0.dev20210830 Aug 30, 2021
2.7.0.dev20210826 Aug 26, 2021
2.7.0.dev20210825 Aug 25, 2021
2.7.0.dev20210824 Aug 24, 2021
2.7.0.dev20210823 Aug 23, 2021
2.7.0.dev20210820 Aug 20, 2021
2.7.0.dev20210819 Aug 19, 2021
2.7.0.dev20210818 Aug 18, 2021
2.7.0.dev20210817 Aug 17, 2021
2.7.0.dev20210813 Aug 13, 2021
2.7.0.dev20210812 Aug 12, 2021
2.7.0.dev20210811 Aug 11, 2021
2.7.0.dev20210810 Aug 10, 2021
2.6.0 Jul 19, 2021
2.5.1.dev20210715 Jul 15, 2021
2.5.1.dev20210714 Jul 14, 2021
2.5.1.dev20210713 Jul 13, 2021
2.5.1.dev20210709 Jul 09, 2021
2.5.1.dev20210708 Jul 08, 2021
2.5.1.dev20210707 Jul 07, 2021
2.5.1.dev20210706 Jul 06, 2021
2.5.1.dev20210705 Jul 05, 2021
2.5.1.dev20210702 Jul 02, 2021
2.5.1.dev20210701 Jul 01, 2021
2.5.1.dev20210630 Jun 30, 2021
2.5.1.dev20210629 Jun 29, 2021
2.5.1.dev20210628 Jun 28, 2021
2.5.1.dev20210625 Jun 25, 2021
2.5.1.dev20210623 Jun 23, 2021
2.5.1.dev20210622 Jun 22, 2021
2.5.1.dev20210621 Jun 21, 2021
2.5.1.dev20210616 Jun 16, 2021
2.5.1.dev20210615 Jun 15, 2021
2.5.1.dev20210614 Jun 14, 2021
2.5.1.dev20210611 Jun 11, 2021
2.5.1.dev20210610 Jun 10, 2021
2.5.1.dev20210609 Jun 09, 2021
2.5.1.dev20210608 Jun 08, 2021
2.5.1.dev20210607 Jun 07, 2021
2.5.1.dev20210604 Jun 04, 2021
2.5.0 Jun 03, 2021
2.5.0.dev20210603 Jun 03, 2021
2.4.0 Apr 23, 2021
2.3.1 Apr 20, 2021
2.3.0 Apr 14, 2021
2.2.1.dev20210414 Apr 14, 2021
2.2.1.dev20210413 Apr 13, 2021
2.2.1.dev20210412 Apr 12, 2021
2.2.1.dev20210409 Apr 09, 2021
2.2.1.dev20210408 Apr 08, 2021
2.2.1.dev20210406 Apr 06, 2021
2.2.1.dev20210402 Apr 02, 2021
2.2.1.dev20210401 Apr 01, 2021
2.2.1.dev20210331 Mar 31, 2021
2.2.1.dev20210330 Mar 30, 2021
2.2.1.dev20210329 Mar 29, 2021
2.2.0 Mar 26, 2021
2.1.0 Feb 24, 2021
2.0.2.dev20210224 Feb 24, 2021
2.0.2.dev20210222 Feb 22, 2021
2.0.2.dev20210219 Feb 19, 2021
2.0.2.dev20210216 Feb 16, 2021
2.0.2.dev20210215 Feb 15, 2021
2.0.2.dev20210212 Feb 12, 2021
2.0.2.dev20210211 Feb 11, 2021
2.0.2.dev20210210 Feb 10, 2021
2.0.2.dev20210209 Feb 09, 2021
2.0.2.dev20210208 Feb 08, 2021
2.0.2.dev20210204 Feb 04, 2021
2.0.2.dev20210203 Feb 03, 2021
2.0.2.dev20210202 Feb 02, 2021
2.0.1 Jan 29, 2021
2.0.0 Jan 27, 2021
2.0.0rc1 Jan 22, 2021
1.5.0 Mar 01, 2021
1.4.1 Jan 29, 2021
1.4.0 Jan 27, 2021
1.3.0 Dec 15, 2020
1.2.2 Nov 17, 2020
1.2.1 Nov 11, 2020
1.2.0 Oct 29, 2020
1.2.0rc1 Oct 22, 2020
1.2.0rc1.dev20201022 Oct 22, 2020
1.2.0rc1.dev20201021 Oct 21, 2020
1.2.0rc1.dev20201020 Oct 20, 2020
1.2.0rc1.dev20201015 Oct 15, 2020
1.2.0rc1.dev20201014 Oct 14, 2020
1.2.0rc1.dev20201013 Oct 13, 2020
1.2.0rc1.dev20201012 Oct 12, 2020
1.2.0rc1.dev20201009 Oct 09, 2020
1.2.0rc1.dev20201008 Oct 08, 2020
1.2.0rc1.dev20201007 Oct 07, 2020
1.2.0rc1.dev20201006 Oct 06, 2020
1.2.0rc1.dev20201005 Oct 05, 2020
1.2.0rc1.dev20201002 Oct 02, 2020
1.2.0rc1.dev20201001 Oct 01, 2020
1.2.0rc1.dev20200930 Sep 30, 2020
1.2.0rc1.dev20200929 Sep 29, 2020
1.2.0rc1.dev20200928 Sep 28, 2020
1.2.0rc1.dev20200925 Sep 25, 2020
1.2.0rc1.dev20200924 Sep 24, 2020
1.2.0rc1.dev20200923 Sep 23, 2020
1.1.0 Sep 08, 2020
1.1.0rc4 Aug 20, 2020
1.1.0rc3 Aug 12, 2020
1.1.0rc3.dev20200812 Aug 12, 2020
1.1.0rc3.dev20200811 Aug 11, 2020
1.1.0rc2 Jul 31, 2020
1.1.0rc2.dev20200731 Jul 31, 2020
1.1.0rc2.dev20200729 Jul 29, 2020
1.1.0rc2.dev20200727 Jul 27, 2020
1.1.0rc2.dev20200724 Jul 24, 2020
1.1.0rc2.dev20200722 Jul 22, 2020
1.1.0rc2.dev20200721 Jul 21, 2020
1.1.0rc2.dev20200720 Jul 20, 2020
1.1.0rc2.dev20200717 Jul 17, 2020
1.1.0rc2.dev20200716 Jul 16, 2020
1.1.0rc1 Jul 14, 2020
1.1.0rc1.dev20200714 Jul 14, 2020
1.1.0rc1.dev20200713 Jul 13, 2020
1.1.0rc1.dev20200710 Jul 10, 2020
1.1.0rc1.dev20200709 Jul 09, 2020
1.1.0rc1.dev20200708 Jul 08, 2020
1.1.0rc1.dev20200707 Jul 07, 2020
1.1.0rc1.dev20200706 Jul 06, 2020
1.1.0rc1.dev20200703 Jul 03, 2020
1.1.0rc1.dev20200702 Jul 02, 2020
1.1.0rc1.dev20200701 Jul 01, 2020
1.1.0rc1.dev20200630 Jun 30, 2020
1.1.0rc1.dev20200629 Jun 29, 2020
1.1.0rc1.dev20200626 Jun 26, 2020
1.1.0rc1.dev20200625 Jun 25, 2020
1.1.0rc1.dev20200624 Jun 24, 2020
1.1.0rc1.dev20200623 Jun 23, 2020
1.0.1.dev20200622 Jun 22, 2020
1.0.1.dev20200618 Jun 18, 2020
1.0.0 Jun 16, 2020
1.0.0rc6 Jun 11, 2020
1.0.0rc6.dev20200611 Jun 11, 2020
1.0.0rc6.dev20200609 Jun 09, 2020
1.0.0rc6.dev20200605 Jun 05, 2020
1.0.0rc6.dev20200604 Jun 04, 2020
1.0.0rc6.dev20200603 Jun 03, 2020
1.0.0rc6.dev20200602 Jun 02, 2020
1.0.0rc6.dev20200601 Jun 01, 2020
1.0.0rc6.dev20200529 May 29, 2020
1.0.0rc6.dev20200528 May 28, 2020
1.0.0rc6.dev20200527 May 27, 2020
1.0.0rc5 May 26, 2020
1.0.0rc5.dev20200526 May 26, 2020
1.0.0rc5.dev20200525 May 25, 2020
1.0.0rc5.dev20200522 May 22, 2020
1.0.0rc5.dev20200521 May 21, 2020
1.0.0rc5.dev20200520 May 20, 2020
1.0.0rc5.dev20200519 May 19, 2020
1.0.0rc5.dev20200518 May 18, 2020
1.0.0rc5.dev20200515 May 15, 2020
1.0.0rc4 May 14, 2020
1.0.0rc4.dev20200514 May 14, 2020
1.0.0rc4.dev20200513 May 13, 2020
1.0.0rc4.dev20200511 May 11, 2020
1.0.0rc4.dev20200508 May 08, 2020
1.0.0rc4.dev20200507 May 07, 2020
1.0.0rc4.dev20200506 May 06, 2020
1.0.0rc4.dev20200505 May 05, 2020
1.0.0rc4.dev20200504 May 04, 2020
1.0.0rc4.dev20200501 May 01, 2020
1.0.0rc4.dev20200430 Apr 30, 2020
1.0.0rc3 Apr 27, 2020
1.0.0rc2 Apr 23, 2020
1.0.0rc1 Apr 16, 2020
1.0.0.dev20200427 Apr 27, 2020
1.0.0.dev20200424 Apr 24, 2020
1.0.0.dev20200420 Apr 20, 2020
1.0.0.dev20200418 Apr 18, 2020
1.0.0.dev20200417 Apr 17, 2020
0.9.1.dev20200416 Apr 16, 2020
0.9.1.dev20200415 Apr 15, 2020
0.9.1.dev20200413 Apr 13, 2020
0.9.1.dev20200411 Apr 11, 2020
0.9.1.dev20200408 Apr 08, 2020
0.9.1.dev20200405 Apr 05, 2020
0.9.1.dev20200404 Apr 04, 2020
0.9.1.dev20200401 Apr 01, 2020
0.9.1.dev20200330 Mar 30, 2020
0.9.1.dev20200327 Mar 27, 2020
0.9.1.dev20200326 Mar 26, 2020
0.9.1.dev20200325 Mar 25, 2020
0.9.1.dev20200324 Mar 24, 2020
0.9.1.dev20200323 Mar 23, 2020
0.9.1.dev20200321 Mar 21, 2020
0.9.1.dev20200318 Mar 18, 2020
0.9.1.dev20200317 Mar 17, 2020
0.9.1.dev20200316 Mar 16, 2020
0.9.1.dev20200314 Mar 14, 2020
0.9.1.dev20200313 Mar 13, 2020
0.9.1.dev20200312 Mar 12, 2020
0.9.1.dev20200311 Mar 11, 2020
0.9.1.dev20200302 Mar 02, 2020
0.9.1.dev20200228 Feb 28, 2020
0.9.1.dev20200227 Feb 27, 2020
0.9.1.dev20200226 Feb 26, 2020
0.9.1.dev20200224 Feb 24, 2020
0.9.1.dev20200223 Feb 23, 2020
0.9.1.dev20200222 Feb 22, 2020
0.9.1.dev20200221 Feb 21, 2020
0.9.1.dev20200220 Feb 20, 2020
0.9.1.dev20200218 Feb 18, 2020
0.9.0 Sep 25, 2019
0.8.5 Aug 21, 2019
0.8.4 May 30, 2019
0.8.3 Mar 29, 2019
0.8.2 Feb 19, 2019
0.8.1 Jan 08, 2019
0.8.0 Dec 19, 2018
0.7.2 Dec 03, 2018
0.7.1 Oct 25, 2018
0.7.0 Oct 05, 2018
0.6.1 Aug 30, 2018
0.6.0 Aug 15, 2018
0.5.1 Jun 14, 2018
0.5.0 Jun 13, 2018
0.4.3 May 24, 2018
0.4.2 May 01, 2018
0.4.1 Mar 23, 2018
0.4.0 Feb 20, 2018
0.3.0 Dec 15, 2017
0.2.3 Dec 06, 2017
0.2.2 Nov 29, 2017
0.2.1 Sep 11, 2017
0.2.0 Sep 08, 2017
0.1a6 Sep 01, 2017

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
torch (<1.13.0,>=1.10.0)
torchvision (<0.14.0,>=0.8.1)
cached-path (<1.2.0,>=1.1.3)
fairscale (==0.4.6)
nltk (>=3.6.5)
spacy (<3.4,>=2.1.0)
numpy (>=1.21.4)
tensorboardX (>=1.2)
requests (>=2.28)
tqdm (>=4.62)
h5py (>=3.6.0)
scikit-learn (>=1.0.1)
scipy (>=1.7.3)
pytest (>=6.2.5)
transformers (<4.21,>=4.1)
sentencepiece (>=0.1.96)
filelock (<3.8,>=3.3)
lmdb (>=1.2.1)
more-itertools (>=8.12.0)
termcolor (==1.1.0)
wandb (<0.13.0,>=0.10.0)
huggingface-hub (>=0.0.16)
dill (>=0.3.4)
base58 (>=2.1.1)
sacremoses
typer (>=0.4.1)
protobuf (<4.0.0,>=3.12.0)
traitlets (>5.1.1)
dataclasses
jsonnet (>=0.10.0)