Skip to content

Commit

Permalink
Fix(#1028): Add videos to Monitoring tutorial (#1033)
Browse files Browse the repository at this point in the history
* add videos and update tuto
  • Loading branch information
dvsrepo committed Jan 25, 2022
1 parent 7667ae8 commit 984ee7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 37 deletions.
Binary file added docs/_static/guides/monitoring/hf_monitoring.mp4
Binary file not shown.
Binary file added docs/_static/guides/monitoring/kibana.mp4
Binary file not shown.
43 changes: 6 additions & 37 deletions docs/guides/monitoring.ipynb
Expand Up @@ -32,18 +32,10 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "3cd93c3d-507e-4c23-a786-30e51d0697b9",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Reusing dataset imdb (/Users/dani/.cache/huggingface/datasets/imdb/plain_text/1.0.0/e3c66f1788a67a89c7058d97ff62b6c30531e05b549de56d3ab91891f0561f9a)\n"
]
}
],
"outputs": [],
"source": [
"from datasets import load_dataset\n",
"\n",
Expand Down Expand Up @@ -89,23 +81,23 @@
"id": "87c51edc-4fa9-495e-9949-53e444d1040b",
"metadata": {},
"source": [
"![Rubrix dataset](../tutorials/img/rb_monitor_hf.gif \"Rubrix dataset\")"
"<video width=\"100%\" controls><source src=\"../_static/guides/monitoring/hf_monitoring.mp4\" type=\"video/mp4\"></video>"
]
},
{
"cell_type": "markdown",
"id": "734ce9e4-17f5-4a4d-ae26-7a15c8ab793b",
"metadata": {},
"source": [
"The default Rubrix installation comes with Kibana configured, so you can easily explore your model predictions and build custom dashboards (for your team and other stakeholders):"
"The default Rubrix installation comes with **Elastic's Kibana** pre-configured, so you can easily build custom monitoring dashboards and alerts (for your team and other stakeholders):"
]
},
{
"cell_type": "markdown",
"id": "da4fc490-73d9-41ac-ae14-259386a5f6fb",
"metadata": {},
"source": [
"![Kibana Dashboard](../tutorials/img/rb_monitor_dashboard.gif \"Kibana\")"
"<video width=\"100%\" controls><source src=\"../_static/guides/monitoring/kibana.mp4\" type=\"video/mp4\"></video>"
]
},
{
Expand Down Expand Up @@ -170,14 +162,6 @@
"Once the `map` operation starts, you can start browsing the predictions in the Web-app:"
]
},
{
"cell_type": "markdown",
"id": "02ad2f9f-0003-4cf1-9aed-71c548907129",
"metadata": {},
"source": [
"![spacy](../tutorials/img/rb_monitor_spacy.gif \"spaCy\")"
]
},
{
"cell_type": "markdown",
"id": "936cbaec-223c-4902-beac-0a50dfe55b7b",
Expand Down Expand Up @@ -223,22 +207,7 @@
"execution_count": null,
"id": "4beb08dd-075f-4edd-9122-71f9973cba36",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "676291db705e4f99870350551e9f7c06",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
" 0%| | 0/1000 [00:00<?, ?ex/s]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"def make_prediction(example):\n",
" tagger.predict(Sentence(example[\"text\"]))\n",
Expand Down

0 comments on commit 984ee7d

Please sign in to comment.