Skip to content
Permalink
Browse files

Update external facing doc to use Bento instead of BentoArchive (#244)

  • Loading branch information...
parano committed Aug 3, 2019
1 parent eaa421e commit 8d30db4476f8f84f2767259ec1c836cecc017a07
@@ -19,7 +19,7 @@ prediction services.

The framework provides high-level APIs for defining an ML service and packaging
its trained model artifacts, preprocessing source code, dependencies, and
configurations into a standard file format called BentoArchive - which can be
configurations into a standard file format called Bento - which can be
deployed as containerize REST API server, PyPI package, CLI tool, and
batch/streaming inference job.

@@ -135,16 +135,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"_That's it._ You've just created your first BentoML servie archive. It's a directory\n",
"containing all the source code, data and configurations files required to load\n",
"and run a BentoService. You will also find three 'magic' files generated\n",
"within the archive directory:\n",
"\n",
"* `bentoml.yml` - a YAML file containing all metadata related to this\n",
" BentoArchive\n",
"* `Dockerfile` - for building a Docker Image exposing this BentoService as REST\n",
" API endpoint\n",
"* `setup.py` - the config file that makes a BentoArchive 'pip' installable"
"_That's it._ You've just created your first Bento. It's a versioned archive, containing the BentoService you defined, along with trained model artifacts, dependencies and configurations etc. BentoML library can then load in a Bento file and turn it into a high performance prediction service."
]
},
{
@@ -232,7 +223,7 @@
"source": [
"## Loading BentoService in Python\n",
"\n",
"`bentoml.load` is the enssential API for loading a BentoArchive into your\n",
"`bentoml.load` is the enssential API for loading a Bento into your\n",
"python application:"
]
},
@@ -258,7 +249,7 @@
"## \"pip install\" a BentoML archive\n",
"\n",
"BentoML also supports distributing a BentoService as PyPI package, with the\n",
"generated `setup.py` file. A BentoArchive can be installed with `pip`:"
"generated `setup.py` file. A Bento directory can be installed with `pip`:"
]
},
{
@@ -293,7 +284,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"With the `setup.py` config, a BentoArchive can also be uploaded to pypi.org\n",
"A Bento PyPI package can also be uploaded to pypi.org\n",
"as a public python package, or to your organization's private PyPI index for all\n",
"developers in your organization to use:\n",
"\n",
@@ -545,7 +536,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
"version": "3.7.3"
}
},
"nbformat": 4,
@@ -340,7 +340,7 @@
"\n",
"** _Note: `docker` is not available when running in Google Colaboratory_\n",
"\n",
"### 1) build docker image with BentoArchive and tag it (e.g. sentiment-lr-model)"
"### 1) build docker image with saved Bento and tag it (e.g. sentiment-lr-model)"
]
},
{
@@ -400,7 +400,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
"version": "3.7.3"
}
},
"nbformat": 4,

0 comments on commit 8d30db4

Please sign in to comment.
You can’t perform that action at this time.