Skip to content

Commit

Permalink
Add NMT tutorials (#134)
Browse files Browse the repository at this point in the history
* Add NMT tutorials

Signed-off-by: PeganovAnton <peganoff2@mail.ru>

* fix: keep version in a separate file

Signed-off-by: PeganovAnton <peganoff2@mail.ru>

* fix: Add -y option to apt-get commands

Signed-off-by: Anton Peganov <apeganov@nvidia.com>

---------

Signed-off-by: PeganovAnton <peganoff2@mail.ru>
Signed-off-by: Anton Peganov <apeganov@nvidia.com>
Co-authored-by: Anton Peganov <apeganov@nvidia.com>
  • Loading branch information
PeganovAnton and PeganovAnton authored Mar 7, 2023
1 parent df8a25c commit 16a322d
Show file tree
Hide file tree
Showing 7 changed files with 2,006 additions and 12 deletions.
9 changes: 5 additions & 4 deletions asr-finetune-conformer-ctc-nemo.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "4NpvEOMs_mKp"
Expand All @@ -12,7 +11,7 @@
"# How to Fine-Tune a Riva ASR Acoustic Model with NVIDIA NeMo\n",
"This tutorial walks you through how to fine-tune an NVIDIA Riva ASR acoustic model with NVIDIA NeMo.\n",
"\n",
"**Important**: If you plan to fine-tune an ASR acoustic model using the same tokenizer with which the model was trained, skip this tutorial and refer to the \"Sub-word Encoding CTC Model\" section (starting with the \"Load pre-trained model\" subsection) of the [NeMo ASR Language Finetuning tutorial](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/ASR_CTC_Language_Finetuning.ipynb)."
"**Important**: If you plan to fine-tune an ASR acoustic model using the same tokenizer with which the model was trained, skip this tutorial and refer to the \"Sub-word Encoding CTC Model\" section (starting with the \"Load pre-trained model\" subsection) of the [NeMo ASR Language Finetuning tutorial](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/ASR_CTC_Language_Finetuning.ipynb)."
]
},
{
Expand Down Expand Up @@ -475,9 +474,11 @@
},
"outputs": [],
"source": [
"from version import __riva_version__\n",
"print(__riva_version__)\n",
"!pip install nvidia-pyindex\n",
"!ngc registry resource download-version \"nvidia/riva/riva_quickstart:2.8.1\"\n",
"!pip install \"riva_quickstart_v2.8.1/nemo2riva-2.8.1-py3-none-any.whl\"\n",
"!ngc registry resource download-version \"nvidia/riva/riva_quickstart:\"$__riva_version__\n",
"!pip install nemo2riva\n",
"!pip install protobuf==3.20.0"
]
},
Expand Down
Loading

0 comments on commit 16a322d

Please sign in to comment.