Skip to main content

Simple demo server for AllenNLP models and training config builder.

Project description

A demo server for AllenNLP models.

Build PyPI License

❗️ To file an issue, please open a ticket on allenai/allennlp and tag it with "Server". ❗️


From PyPI

allennlp-server is available on PyPI. To install with pip, just run

pip install allennlp-server

Note that the allennlp-server package is tied to the allennlp core package and allennlp-models package. Therefore when you install the server package you will get the latest compatible version of allennlp and allennlp-models (if you haven't already installed allennlp or allennlp-models). For example,

pip install allennlp-server
pip freeze | grep allennlp
# > allennlp==2.2.0
# > allennlp-models==2.2.0
# > allennlp-server==1.0.0

From source

You can install AllenNLP Server by cloning our git repository:

git clone

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

pip install --editable .

Running AllenNLP Server

AllenNLP Server is a plugin for AllenNLP which adds a "serve" subcommand:

allennlp serve --help

Project details

Download files

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

Files for allennlp-server, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size allennlp_server-1.0.0-py3-none-any.whl (13.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size allennlp-server-1.0.0.tar.gz (14.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page