Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1001 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 1001 Bytes

NLP-Microservice

An example for a Deep Learning NLP model hosted as a RESTful API.

Python Environment

  • Conda environment: conda create -n nlp-ms python=3.8
  • Dependencies:

Usage

To run the Text-Generation-API simply execute python src/service.py in the root directory.

The script sample_request.py can be used to issue requests to a running Text-Generation-API: python sample_request.py <api-host-or-ip-adress>.

Tutorial for Creating such a Microservice

Please refer to the folder tutorial.