HUB
Sign inSign up
e2e-serving logo

convmind/e2e-serving

By convmind

•Updated over 7 years ago

Image
0

1M+

convmind/e2e-serving repository overview

⁠Neural Match Bot

A deep neural network-based dialog model that match dialog context with corresponding dialog actions.

⁠Usage

This repository contains programs for both training and inference and can be built into two Docker Images.

⁠Training

The main script to pull data from the database and train a model is in:

python train_model.py

Note that this script are generic and will do:

  1. pull data from MongoDB
  2. Train a model and save the best model based on validation loss
  3. Push the model to S3
  4. Create a bot document in the MongoDB.
⁠Inference

There is a local client that use HTTP API to talk to the model served at localhost:7000 python wsgi.py

For production deployment, the Dockerfile contains the build file to compile for the program into a inference docker image. This image is linked to NeuralMatchBot in DockerHub.

⁠API Docs

API document can be found at in POSTMAN⁠.

⁠Run a model in the terminal
python tty_client.py

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

over 7 years ago

docker pull convmind/e2e-serving