notebook cleanup (#679)

This commit is contained in:
Amy 2019-11-11 16:42:06 -08:00 committed by Kubernetes Prow Robot
parent 7a2977ef11
commit 91374e6d27
1 changed files with 4 additions and 4 deletions

View File

@ -141,11 +141,11 @@
"MODEL = 'model'\n",
"\n",
"copydata_op = comp.load_component_from_url(\n",
" 'https://raw.githubusercontent.com/amygdala/kubeflow-examples/ghpl_update/github_issue_summarization/pipelines/components/t2t/datacopy_component.yaml' # pylint: disable=line-too-long\n",
" 'https://raw.githubusercontent.com/kubeflow/examples/master/github_issue_summarization/pipelines/components/t2t/datacopy_component.yaml' # pylint: disable=line-too-long\n",
" )\n",
"\n",
"train_op = comp.load_component_from_url(\n",
" 'https://raw.githubusercontent.com/amygdala/kubeflow-examples/ghpl_update/github_issue_summarization/pipelines/components/t2t/train_component.yaml' # pylint: disable=line-too-long\n",
" 'https://raw.githubusercontent.com/kubeflow/examples/master/github_issue_summarization/pipelines/components/t2t/train_component.yaml' # pylint: disable=line-too-long\n",
" )\n",
"\n",
"metadata_log_op = comp.load_component_from_url(\n",
@ -172,7 +172,7 @@
" description='Demonstrate Tensor2Tensor-based training and TF-Serving'\n",
")\n",
"def gh_summ( #pylint: disable=unused-argument\n",
" train_steps: Integer = 2019300,\n",
" train_steps: 'Integer' = 2019300,\n",
" project: String = 'YOUR_PROJECT_HERE',\n",
" github_token: String = 'YOUR_GITHUB_TOKEN_HERE',\n",
" working_dir: GCSPath = 'YOUR_GCS_DIR_HERE',\n",
@ -328,7 +328,7 @@
" description='Demonstrate Tensor2Tensor-based training and TF-Serving'\n",
")\n",
"def gh_summ2(\n",
" train_steps: Integer = 2019300,\n",
" train_steps: 'Integer' = 2019300,\n",
" project: String = 'YOUR_PROJECT_HERE',\n",
" github_token: String = 'YOUR_GITHUB_TOKEN_HERE',\n",
" working_dir: GCSPath = 'YOUR_GCS_DIR_HERE',\n",