Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to fraud detection tutorial - OAI 2.15 review #60

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2_save_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Use the function to upload the `models` folder in a rescursive fashion:"
"Use the function to upload the `models` folder in a recursive fashion:"
]
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ The result should be a `models/fraud/1/model.onnx` file in your S3 bucket which

.Next step

(optional) xref:running-a-pipeline-generated-from-python-code.adoc[Automating workflows with data science pipelines]
(optional) xref:running-a-pipeline-generated-from-python-code.adoc[Running a data science pipeline generated from Python code]
14 changes: 11 additions & 3 deletions workshop/docs/modules/ROOT/pages/creating-a-workbench.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,21 @@ image::workbenches/create-workbench-form-image.png[Workbench image, 600]

. Choose a small deployment.
+
image::workbenches/create-workbench-form-size.png[Workbench size,600]
image::workbenches/create-workbench-form-size.png[Workbench size, 600]

. Leave the *Accelerator* field with the default `None` selection.
+
image::workbenches/create-workbench-form-accelerator.png[Workbench accelerator, 600]

. Leave the default environment variables and storage options.
+
image::workbenches/create-workbench-form-env-storage.png[Workbench storage, 600]

. Under *Data connections*, select *Use existing data connection* and select `My Storage` (the object storage that you configured previously) from the list.
. Under *Data connections*, select *Use a data connection*.
+
image::workbenches/create-workbench-form-use-data-connection.png[Use data connection, 600]

. Select *Use existing data connection*, and then select `My Storage` (the object storage that you configured previously) from the list.
+
image::workbenches/create-workbench-form-data-connection.png[Data connection, 600]

Expand All @@ -57,4 +65,4 @@ image::workbenches/ds-project-workbench-list-edit.png[Workbench list edit, 250]

.Next step

xref:importing-files-into-jupyter.adoc[Importing the {deliverable} files into the Jupyter environment]
xref:importing-files-into-jupyter.adoc[Importing the {deliverable} files into the Jupyter environment]
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ https://github.com/rh-aiservices-bu/fraud-detection.git
+
image::workbenches/jupyter-git-modal.png[Git Modal, 200]

.. Check the *Include submodules* option.

.. Check the *Include submodules* option, and then click *Clone*.

.. In the file browser, double-click the newly-created *fraud-detection* folder.
+
image::workbenches/jupyter-file-browser.png[Jupyter file browser, 300]

.. In the left navigation bar, click the *Git* icon and then, in the *Filter* field, enter *{git-version}*.
.. In the left navigation bar, click the *Git* icon, and then click *Current Branch* to expand the branches and tags selector panel.
... On the *Branches* tab, in the *Filter* field, enter *{git-version}*.
+
image::workbenches/jupyter-git-icon-version.png[Git Clone icon, 200]
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ image::pipelines/dsp-pipline-view-runs.png[]
. Click *Create run*.

. On the *Create run* page, provide the following values:
.. For *Experiment*, leave the default `Default` value.
.. For *Name*, type any name, for example `Run 1`.
.. For *Pipeline*, select the pipeline that you uploaded.
+
Expand All @@ -47,6 +48,6 @@ image::pipelines/pipeline-create-run-form.png[Create Pipeline Run form]

. Click *Create* to create the run.
+
A new run starts immediately. The *Details* page shows a pipeline created in Python that is running in {productname-short}.
A new run starts immediately. The run details page shows a pipeline created in Python that is running in {productname-short}.
+
image::pipelines/pipeline-run-in-progress.png[]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Now that you've deployed the model, you can test its API endpoints.
+
image::model-serving/ds-project-model-inference-endpoint.png[Model inference endpoint]
+
If the *Inference endpoint* field contains an *Internal Service* link, click the link to open a text box that shows the URL.
If the *Inference endpoint* field contains an *Internal endpoint details* link, click the link to open a text box that shows the URL details, and then take note of the *restUrl* value.

. Return to the Jupyter environment and try out your new endpoint.
+
Expand Down