Skip to main content



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

Metadata

Release files for allennlp-server 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allennlp-server 1.0.0
File Size Uploaded
allennlp-server-1.0.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for allennlp-server 1.0.0
File Interpreter ABI Platform
allennlp_server-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / allennlp-server-1.0.0.tar.gz

Download URL allennlp-server-1.0.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f739d17f8c2f6c702d874996f646c891ad46361c1e36fd9c07e59f286cc7b7db
BLAKE2b-256 checksum
How to use checksums
b44584bf01e7b2addb0a046d6d326ad78f6f6d6e3298538a24bde6086e7ba384
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / allennlp_server-1.0.0-py3-none-any.whl

Download URL allennlp_server-1.0.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57a0037ccad3f62e68a80b361d3dca70feeeaff6fc1622386f5efb46eeb6951d
BLAKE2b-256 checksum
How to use checksums
b279cea90d4c1d045b2833c95e3d888090b7f4ad5bdc2fc22fb8a91310f2cbf7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page