Skip to content

Commit

Permalink
update notebooks branch
Browse files Browse the repository at this point in the history
Signed-off-by: ericharper <[email protected]>
  • Loading branch information
ericharper committed Aug 30, 2021
1 parent 5d53240 commit 0dbd919
Show file tree
Hide file tree
Showing 37 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion tutorials/00_NeMo_Primer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/01_NeMo_Models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/AudioTranslationSample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"cell_type": "code",
"execution_count": null,
"source": [
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]"
],
"outputs": [],
Expand Down
4 changes: 2 additions & 2 deletions tutorials/VoiceSwapSample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"cell_type": "code",
"execution_count": null,
"source": [
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n"
],
"outputs": [],
Expand All @@ -44,7 +44,7 @@
},
"outputs": [],
"source": [
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n"
]
},
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/ASR_for_telephony_speech.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"!pip install matplotlib>=3.3.2\n",
"\n",
"## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"## Grab the config we'll use in this example\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/ASR_with_NeMo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"!pip install matplotlib>=3.3.2\n",
"\n",
"## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"## Grab the config we'll use in this example\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Offline_ASR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"id": "I9eIxAyKHREB"
},
"source": [
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"try:\n",
" # Import NeMo Speech Recognition collection\n",
" import nemo.collections.asr as nemo_asr\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Online_ASR_Microphone_Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"!pip install pyaudio\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Online_Noise_Augmentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Online_Offline_Microphone_VAD_Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"!pip install pyaudio\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Online_Offline_Speech_Commands_Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"!pip install pyaudio\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Speech_Commands.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Streaming_ASR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"!pip install matplotlib>=3.3.2\n",
"\n",
"## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"## Grab the config we'll use in this example\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/Voice_Activity_Detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]"
"BRANCH = 'r1.3.0'\n!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions tutorials/nlp/02_NLP_Tokenizers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"outputs": [],
"source": [
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
]
},
{
Expand All @@ -35,7 +35,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!apt-get install gawk\n",
"\n",
"## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"!pip uninstall -y sacrebleu\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Entity_Linking_Medical.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"!pip install faiss-gpu\n",
"\n",
"## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]"
]
},
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/GLUE_Benchmark.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n"
"BRANCH = 'r1.3.0'\n!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n"
],
"execution_count": null,
"outputs": []
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Joint_Intent_and_Slot_Classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]"
]
},
Expand Down
4 changes: 2 additions & 2 deletions tutorials/nlp/Neural_Machine_Translation-Text2Sparql.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]"
]
},
Expand Down Expand Up @@ -149,7 +149,7 @@
"WORK_DIR = \"PATH_TO_CHECKPOINTS_AND_LOGS\"\n",
"\n",
"# NeMo Version\n",
"BRANCH = 'main'\n"
"BRANCH = 'r1.3.0'\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Non_English_Downstream_Tasks_(NER).ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -877,4 +877,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion tutorials/nlp/Punctuation_and_Capitalization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"metadata": {},
"outputs": [],
"source": [
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Question_Answering_Squad.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"id": "uRLPr0TnIAHO"
},
"source": [
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
],
"execution_count": null,
"outputs": []
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Relation_Extraction-BioMegatron.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n"
]
},
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Text_Classification_Sentiment_Analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n",
"\n"
]
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Token_Classification-BioMegatron.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"metadata": {},
"outputs": [],
"source": [
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
]
},
{
Expand All @@ -53,7 +53,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n"
"BRANCH = 'r1.3.0'\n!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n"
],
"execution_count": null,
"outputs": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n",
"\n",
"## Install TorchAudio\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/text_processing/Inverse_Text_Normalization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"3. Connect to an instance with a GPU (Runtime -> Change runtime type -> select \"GPU\" for hardware accelerator)\n",
"\"\"\"\n",
"\n",
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
],
"id": "YxVLI-f97Kxl",
"execution_count": null,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/text_processing/Text_Normalization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"BRANCH = 'r1.3.0'\n",
"if 'google.colab' in str(get_ipython()):\n",
" !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]"
],
Expand Down
2 changes: 1 addition & 1 deletion tutorials/tools/CTC_Segmentation_Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"metadata": {},
"outputs": [],
"source": [
"BRANCH = 'main'"
"BRANCH = 'r1.3.0'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/tts/1_Inference_ModelSelect.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"# # If you're using Google Colab and not running locally, uncomment and run this cell.\n",
"# !apt-get install sox libsndfile1 ffmpeg\n",
"# !pip install wget unidecode\n",
"# BRANCH = 'main'\n",
"# BRANCH = 'r1.3.0'\n",
"# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[tts]"
]
},
Expand Down
2 changes: 1 addition & 1 deletion tutorials/tts/3_Tacotron2_Training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"# # If you're using Colab and not running locally, uncomment and run this cell.\n",
"# !apt-get install sox libsndfile1 ffmpeg\n",
"# !pip install wget unidecode\n",
"# BRANCH = 'main'\n",
"# BRANCH = 'r1.3.0'\n",
"# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[tts]"
]
},
Expand Down
2 changes: 1 addition & 1 deletion tutorials/tts/4_TalkNet_Training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"# # If you're using Colab and not running locally, uncomment and run this cell.\n",
"# !apt-get install sox libsndfile1 ffmpeg\n",
"# !pip install wget unidecode pysptk\n",
"# BRANCH = 'main'\n",
"# BRANCH = 'r1.3.0'\n",
"# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]"
]
},
Expand Down

0 comments on commit 0dbd919

Please sign in to comment.