This repository contains the code for the my blog post on setting up a server for NLP models in production.
conda env create -f environment.ymlpython train_model.pymkdir serving-nlp/model_repository/mv sentiment-model/ model_repository/cp config.pbtxt model_repository/sentiment-model/touch model_repository/sentiment-model/labels.txtprintf '%s\n%s\n' 'negative' 'positive' >> model_repository/sentiment-model/labels.txtdocker-compose uppython query_model.py