From 738af5cb9367b200d4c14268a2bc236668a50ff0 Mon Sep 17 00:00:00 2001 From: Ilya Matiach Date: Mon, 10 Jul 2023 16:13:21 -0400 Subject: [PATCH] bump RAI text and vision component versions to 0.0.8 (#2437) --- ...d-multilabel-text-classification-covid-events.ipynb | 6 +++--- ...nsibleaidashboard-text-classification-DBPedia.ipynb | 6 +++--- ...eaidashboard-text-classification-blbooksgenre.ipynb | 10 ++++------ ...idashboard-automl-image-classification-fridge.ipynb | 4 ++-- ...nsibleaidashboard-image-classification-fridge.ipynb | 6 +++--- ...hboard-image-multilabel-classification-fridge.ipynb | 6 +++--- ...esponsibleaidashboard-object-detection-MSCOCO.ipynb | 10 ++++++---- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/sdk/python/responsible-ai/text/responsibleaidashboard-multilabel-text-classification-covid-events.ipynb b/sdk/python/responsible-ai/text/responsibleaidashboard-multilabel-text-classification-covid-events.ipynb index fd1a0183f2..027056b698 100644 --- a/sdk/python/responsible-ai/text/responsibleaidashboard-multilabel-text-classification-covid-events.ipynb +++ b/sdk/python/responsible-ai/text/responsibleaidashboard-multilabel-text-classification-covid-events.ipynb @@ -57,7 +57,7 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"" + "version_string = \"0.0.8\"" ] }, { @@ -95,7 +95,7 @@ "metadata": {}, "outputs": [], "source": [ - "rai_example_version_string = \"8\"" + "rai_example_version_string = \"9\"" ] }, { @@ -595,7 +595,7 @@ " model_output_path:\n", " type: path\n", "code: ./covid19_events_component_src/\n", - "environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/16\n", + "environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/24\n", "command: >-\n", " python training_script.py\n", " --model_base_name ${{{{inputs.model_base_name}}}}\n", diff --git a/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-DBPedia.ipynb b/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-DBPedia.ipynb index 69998b83ae..313c914b95 100644 --- a/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-DBPedia.ipynb +++ b/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-DBPedia.ipynb @@ -47,7 +47,7 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"" + "version_string = \"0.0.8\"" ] }, { @@ -85,7 +85,7 @@ "metadata": {}, "outputs": [], "source": [ - "rai_example_version_string = \"8\"" + "rai_example_version_string = \"9\"" ] }, { @@ -576,7 +576,7 @@ " model_output_path:\n", " type: path\n", "code: ./dbpedia_component_src/\n", - "environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/16\n", + "environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/24\n", "command: >-\n", " python training_script.py\n", " --model_base_name ${{{{inputs.model_base_name}}}}\n", diff --git a/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb b/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb index 3747f198cf..270101fadf 100644 --- a/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb +++ b/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb @@ -31,9 +31,7 @@ "source": [ "%pip install datasets\n", "%pip install ml-wrappers\n", - "%pip install \"pandas<2.0.0\"\n", - "%pip install \"mlflow<2.3,>=2.1\"\n", - "%pip install azureml-mlflow" + "%pip install \"pandas<2.0.0\"" ] }, { @@ -52,7 +50,7 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"" + "version_string = \"0.0.8\"" ] }, { @@ -90,7 +88,7 @@ "metadata": {}, "outputs": [], "source": [ - "rai_example_version_string = \"20\"" + "rai_example_version_string = \"21\"" ] }, { @@ -569,7 +567,7 @@ " model_output_path:\n", " type: path\n", "code: ./blbooksgenre_component_src/\n", - "environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/21\n", + "environment: azureml://registries/azureml/environments/responsibleai-text-ubuntu20.04-py38-cpu/versions/24\n", "command: >-\n", " python training_script.py\n", " --model_base_name ${{{{inputs.model_base_name}}}}\n", diff --git a/sdk/python/responsible-ai/vision/responsibleaidashboard-automl-image-classification-fridge.ipynb b/sdk/python/responsible-ai/vision/responsibleaidashboard-automl-image-classification-fridge.ipynb index 7dd03a9b3e..7b0f5a8008 100644 --- a/sdk/python/responsible-ai/vision/responsibleaidashboard-automl-image-classification-fridge.ipynb +++ b/sdk/python/responsible-ai/vision/responsibleaidashboard-automl-image-classification-fridge.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"" + "version_string = \"0.0.8\"" ] }, { @@ -57,7 +57,7 @@ "metadata": {}, "outputs": [], "source": [ - "rai_example_version_string = \"50\"" + "rai_example_version_string = \"51\"" ] }, { diff --git a/sdk/python/responsible-ai/vision/responsibleaidashboard-image-classification-fridge.ipynb b/sdk/python/responsible-ai/vision/responsibleaidashboard-image-classification-fridge.ipynb index ede1152bb2..cf4004a534 100644 --- a/sdk/python/responsible-ai/vision/responsibleaidashboard-image-classification-fridge.ipynb +++ b/sdk/python/responsible-ai/vision/responsibleaidashboard-image-classification-fridge.ipynb @@ -20,7 +20,7 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"" + "version_string = \"0.0.8\"" ] }, { @@ -58,7 +58,7 @@ "metadata": {}, "outputs": [], "source": [ - "rai_example_version_string = \"8\"" + "rai_example_version_string = \"9\"" ] }, { @@ -505,7 +505,7 @@ " model_output_path:\n", " type: path\n", "code: ./fridge_component_src/\n", - "environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/17\n", + "environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/24\n", "command: >-\n", " python training_script.py\n", " --model_base_name ${{{{inputs.model_base_name}}}}\n", diff --git a/sdk/python/responsible-ai/vision/responsibleaidashboard-image-multilabel-classification-fridge.ipynb b/sdk/python/responsible-ai/vision/responsibleaidashboard-image-multilabel-classification-fridge.ipynb index 7c078f1b62..65e317d72f 100644 --- a/sdk/python/responsible-ai/vision/responsibleaidashboard-image-multilabel-classification-fridge.ipynb +++ b/sdk/python/responsible-ai/vision/responsibleaidashboard-image-multilabel-classification-fridge.ipynb @@ -20,7 +20,7 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"" + "version_string = \"0.0.8\"" ] }, { @@ -58,7 +58,7 @@ "metadata": {}, "outputs": [], "source": [ - "rai_example_version_string = \"9\"" + "rai_example_version_string = \"10\"" ] }, { @@ -509,7 +509,7 @@ " model_output_path:\n", " type: path\n", "code: ./fridge_component_src/\n", - "environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/17\n", + "environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/24\n", "command: >-\n", " python training_script.py\n", " --model_base_name ${{{{inputs.model_base_name}}}}\n", diff --git a/sdk/python/responsible-ai/vision/responsibleaidashboard-object-detection-MSCOCO.ipynb b/sdk/python/responsible-ai/vision/responsibleaidashboard-object-detection-MSCOCO.ipynb index 917804a8f3..3d3e697dc9 100644 --- a/sdk/python/responsible-ai/vision/responsibleaidashboard-object-detection-MSCOCO.ipynb +++ b/sdk/python/responsible-ai/vision/responsibleaidashboard-object-detection-MSCOCO.ipynb @@ -18,9 +18,9 @@ "metadata": {}, "outputs": [], "source": [ - "version_string = \"0.0.7\"\n", + "version_string = \"0.0.8\"\n", "compute_name = \"cpucluster\"\n", - "rai_example_version_string = \"6\"" + "rai_example_version_string = \"8\"" ] }, { @@ -64,7 +64,7 @@ " urlretrieve(data_url, filename=data_output_path)\n", "\n", "\n", - "annotations = \"msCOCOValExample.jsonl\"\n", + "annotations = \"msCOCOValExample7.jsonl\"\n", "\n", "data_path = \"./dataMSCOCO\"\n", "\n", @@ -436,7 +436,7 @@ " model_output_path:\n", " type: path\n", "code: ./mscoco_component_src_od_1/\n", - "environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/17\n", + "environment: azureml://registries/azureml/environments/responsibleai-vision-ubuntu20.04-py38-cpu/versions/24\n", "command: >-\n", " python model_script.py\n", " --model_base_name ${{{{inputs.model_base_name}}}}\n", @@ -649,6 +649,8 @@ " classes=classes,\n", " model_type=\"pytorch\",\n", " enable_error_analysis=False,\n", + " num_masks=100,\n", + " mask_res=4,\n", " )\n", " rai_image_job.set_limits(timeout=120)\n", "\n",