examples/github_issue_summarization/Pachyderm_Example/build.json

32 lines
573 B
JSON

{
"pipeline": {
"name": "build"
},
"transform": {
"image": "seldonio/core-python-wrapper:0.7",
"cmd": [ "/bin/bash" ],
"stdin": [
"mkdir /my_model",
"cp /pfs/pre_process/*.dpkl /my_model",
"cp /pfs/train/* /my_model",
"python wrap_model.py /my_model IssueSummarization $PACH_JOB_ID pachyderm --out-folder=/pfs/out --base-image=python:3.6"
]
},
"input": {
"cross": [
{
"pfs": {
"repo": "train",
"glob": "/"
}
},
{
"pfs": {
"repo": "pre_process",
"glob": "/"
}
}
]
}
}