examples/github_issue_summarization
Zhenghui Wang 74378a2990 Add end2end test for Xgboost housing example (#493)
* Add e2e test for xgboost housing example

* fix typo

add ks apply

add [

modify example to trigger tests

add prediction test

add xgboost ks param

rename the job name without _

use - instead of _

libson params

rm redudent component

rename component in prow config

add ames-hoursing-env

use - for all names

use _ for params names

use xgboost_ames_accross

rename component name

shorten the name

change deploy-test command

change to xgboost-
namespace

init ks app

fix type

add confest.py

change path

change deploy command

change dep

change the query URL for seldon

add ks_app with seldon lib

update ks_app

use ks init only

rerun

change to kf-v0-4-n00 cluster

add ks_app

use ks-13

remove --namespace

use kubeflow as namespace

delete seldon deployment

simplify ks_app

retry on 503

fix typo

query 1285

move deletion after prediction

wait 10s

always retry till 10 mins

move check to retry

 fix pylint

move  clean-up to the delete template

* set up xgboost component

* check in ks component& run it directly

* change comments

* add comment on why use 'ks delete'

* add two modules to pylint whitelist

* ignore tf_operator/py

* disable pylint per line

* reorder import
2019-02-12 06:37:05 -08:00
..
demo [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
docker Setup continuous building of Docker images for GH Issue Summarization Example (#449) 2019-01-04 17:02:24 -08:00
ks_app GIS E2E test verify the TFJob runs successfully (#456) 2019-01-08 15:06:49 -08:00
notebooks GitHub Summarization Seldon Update (#472) 2019-01-17 16:07:34 -08:00
sql Remove third_party folder & MIT license file 2018-02-27 13:17:42 -05:00
testing Add end2end test for Xgboost housing example (#493) 2019-02-12 06:37:05 -08:00
workflow Add .pylintrc (#61) 2018-03-29 08:25:02 -07:00
.gitignore Setup continuous building of Docker images for GH Issue Summarization Example (#449) 2019-01-04 17:02:24 -08:00
01_setup_a_kubeflow_cluster.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
02_distributed_training.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
02_training_the_model.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
02_training_the_model_tfjob.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
03_serving_the_model.md GitHub Summarization Seldon Update (#472) 2019-01-17 16:07:34 -08:00
04_querying_the_model.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
05_teardown.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
Makefile Setup continuous building of Docker images for GH Issue Summarization Example (#449) 2019-01-04 17:02:24 -08:00
README.md [GH Issue Summarization] Upgrade to kf v0.4.0-rc.2 (#450) 2018-12-30 20:05:29 -08:00
image_build.jsonnet Setup continuous building of Docker images for GH Issue Summarization Example (#449) 2019-01-04 17:02:24 -08:00
requirements.txt Remove third_party folder & MIT license file 2018-02-27 13:17:42 -05:00

README.md

End-to-End kubeflow tutorial using a Sequence-to-Sequence model

This example demonstrates how you can use kubeflow end-to-end to train and serve a Sequence-to-Sequence model on an existing kubernetes cluster. This tutorial is based upon @hamelsmu's article "How To Create Data Products That Are Magical Using Sequence-to-Sequence Models".

Goals

There are two primary goals for this tutorial:

  • Demonstrate an End-to-End kubeflow example
  • Present an End-to-End Sequence-to-Sequence model

By the end of this tutorial, you should learn how to:

  • Setup a Kubeflow cluster on an existing Kubernetes deployment
  • Spawn a Jupyter Notebook on the cluster
  • Spawn a shared-persistent storage across the cluster to store large datasets
  • Train a Sequence-to-Sequence model using TensorFlow and GPUs on the cluster
  • Serve the model using Seldon Core
  • Query the model from a simple front-end application

Steps:

  1. Setup a Kubeflow cluster
  2. Training the model. You can train the model using any of the following methods using Jupyter Notebook or using TFJob:
  3. Serving the model
  4. Querying the model
  5. Teardown