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". ❗️

Installation

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 https://github.com/allenai/allennlp-server

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.

Source Distribution

allennlp-server-1.0.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

allennlp_server-1.0.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file allennlp-server-1.0.0.tar.gz.

File metadata

  • Download URL: allennlp-server-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for allennlp-server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f739d17f8c2f6c702d874996f646c891ad46361c1e36fd9c07e59f286cc7b7db
MD5 5e6f94da12d43daa8f213e8afd86bf04
BLAKE2b-256 b44584bf01e7b2addb0a046d6d326ad78f6f6d6e3298538a24bde6086e7ba384

See more details on using hashes here.

File details

Details for the file allennlp_server-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: allennlp_server-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for allennlp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57a0037ccad3f62e68a80b361d3dca70feeeaff6fc1622386f5efb46eeb6951d
MD5 78d66913c1ca205c73e7285fc9361da6
BLAKE2b-256 b279cea90d4c1d045b2833c95e3d888090b7f4ad5bdc2fc22fb8a91310f2cbf7

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