From 98c79f4b8b24efa4a6fa972580bf4df04c79ebc5 Mon Sep 17 00:00:00 2001 From: Nithin Rao Date: Tue, 23 Jul 2024 09:01:11 -0400 Subject: [PATCH 1/2] typos and branch name update to r2.0.0rc1 (#9846) Signed-off-by: Nithin Rao Koluguri Co-authored-by: Nithin Rao Koluguri --- tutorials/asr/Transducers_with_HF_Datasets.ipynb | 2 +- .../asr/asr_adapters/Multi_Task_Adapters.ipynb | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tutorials/asr/Transducers_with_HF_Datasets.ipynb b/tutorials/asr/Transducers_with_HF_Datasets.ipynb index 432906250a71..1ca7f6e5f26a 100644 --- a/tutorials/asr/Transducers_with_HF_Datasets.ipynb +++ b/tutorials/asr/Transducers_with_HF_Datasets.ipynb @@ -31,7 +31,7 @@ "!pip install matplotlib>=3.3.2\n", "\n", "## Install NeMo\n", - "BRANCH = 'r1.23.0'\n", + "BRANCH = 'r2.0.0rc1'\n", "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n" ] }, diff --git a/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb b/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb index 51877b53fb8a..dbeee9182dc9 100644 --- a/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb +++ b/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb @@ -32,7 +32,7 @@ "!pip install matplotlib>=3.3.2\n", "\n", "## Install NeMo\n", - "BRANCH = 'main'\n", + "BRANCH = 'r2.0.0rc1'\n", "!python -m pip install \"nemo_toolkit[asr] @ git+https://github.com/NVIDIA/NeMo.git@$BRANCH\"" ] }, @@ -46,7 +46,7 @@ "# Multi Task Adaptation with Adapters\n", "\n", "\n", - "In earliier tutorials, we utilized a specific model for one task - for example, an ASR model (CTC, RNN-T etc) for the singular task of Speech Recognition. This is very useful if we want to specialize one task per model, but it can be expensive to deploy a fleet of models for each task, and learn routers to pass user tasks to correct models.\n", + "In earlier tutorials, we utilized a specific model for one task - for example, an ASR model (CTC, RNN-T etc) for the singular task of Speech Recognition. This is very useful if we want to specialize one task per model, but it can be expensive to deploy a fleet of models for each task, and learn routers to pass user tasks to correct models.\n", "\n", "We now support Multi Task models in NeMo, such that a single model can perform multiple tasks such as speech recognition, speech translation, voice activity detection, and more in the future. With one model supporting multiple tasks, we can simplify the task of deploying models and also hope to leverage individual tasks to improve each other (for example: you do need strong speech recognition first before you start doing translation).\n", "\n", @@ -105,7 +105,7 @@ "id": "6c0c87c9-5290-4634-9338-818f181c936a" }, "source": [ - "# Enable Adapter Suppport in Model\n", + "# Enable Adapter Support in Model\n", "\n", "New in NeMo 2.0, we now have a simple utility function to convert the model into one that supports adapters, called `replace_adapter_compatible_modules()`.\n", "\n", @@ -837,7 +837,7 @@ "\n", "Data Modules are one way of organizing datasets in PyTorch Lightning. It provides a unified place where data loading and processing can be potentially handled.\n", "\n", - "**Note**: This isnt strictly necessary - you can achieve the same using just Pytorch dataloaders directly and passing it to Trainer.fit() but we showcase a data module codebase that can be extended by the user." + "**Note**: This isn't strictly necessary - you can achieve the same using just Pytorch dataloaders directly and passing it to Trainer.fit() but we showcase a data module codebase that can be extended by the user." ] }, { @@ -1493,10 +1493,10 @@ "id": "2525bec5-c42b-48c1-b03c-e8126c346238" }, "source": [ - "# Evaluate after Adaptatation\n", + "# Evaluate after Adaptation\n", "\n", - "Now that the model is done training, lets evalaute its scores on the test set again.\n", - "We should see a markedly higher translastion BLEU and lower WER from above." + "Now that the model is done training, lets evaluate its scores on the test set again.\n", + "We should see a markedly higher translation BLEU and lower WER from above." ] }, { @@ -1657,4 +1657,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} From d472e2d314e78f05824911ad78d90076b9a2a010 Mon Sep 17 00:00:00 2001 From: Nithin Rao Koluguri Date: Tue, 23 Jul 2024 06:10:45 -0700 Subject: [PATCH 2/2] restoring main branch name Signed-off-by: Nithin Rao Koluguri --- tutorials/asr/Transducers_with_HF_Datasets.ipynb | 2 +- tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/asr/Transducers_with_HF_Datasets.ipynb b/tutorials/asr/Transducers_with_HF_Datasets.ipynb index 1ca7f6e5f26a..a47cd00a0b9a 100644 --- a/tutorials/asr/Transducers_with_HF_Datasets.ipynb +++ b/tutorials/asr/Transducers_with_HF_Datasets.ipynb @@ -31,7 +31,7 @@ "!pip install matplotlib>=3.3.2\n", "\n", "## Install NeMo\n", - "BRANCH = 'r2.0.0rc1'\n", + "BRANCH = 'main'\n", "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n" ] }, diff --git a/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb b/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb index dbeee9182dc9..7bd36e6b6ad8 100644 --- a/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb +++ b/tutorials/asr/asr_adapters/Multi_Task_Adapters.ipynb @@ -32,7 +32,7 @@ "!pip install matplotlib>=3.3.2\n", "\n", "## Install NeMo\n", - "BRANCH = 'r2.0.0rc1'\n", + "BRANCH = 'main'\n", "!python -m pip install \"nemo_toolkit[asr] @ git+https://github.com/NVIDIA/NeMo.git@$BRANCH\"" ] },