Skip to content

Commit

Permalink
pinning nemo version for colab (#1322)
Browse files Browse the repository at this point in the history
Signed-off-by: ericharper <complex451@gmail.com>
  • Loading branch information
ericharper committed Oct 21, 2020
1 parent 90775ab commit 5cf0428
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion tutorials/00_NeMo_Primer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git#egg=nemo_toolkit[all]\n",
"!pip install nemo-toolkit[all]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\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 @@ -39,7 +39,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git#egg=nemo_toolkit[all]\n",
"!pip install nemo-toolkit[all]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n",
Expand Down
3 changes: 1 addition & 2 deletions tutorials/NeMo_voice_swap_app.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
"colab": {}
},
"source": [
"!pip install nemo-toolkit[all]==1.0.0b1\n",
"#!python -m pip install git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[all]"
"!pip install nemo-toolkit[all]==1.0.0b1\n"
],
"execution_count": null,
"outputs": []
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/01_ASR_with_NeMo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"!pip install matplotlib>=3.3.2\n",
"\n",
"## Install NeMo\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[all]\n",
"!pip install nemo-toolkit[all]==1.0.0b1\n",
"\n",
"## Grab the config we'll use in this example\n",
"!mkdir configs\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/02_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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git#egg=nemo_toolkit[asr]\n",
"!pip install nemo-toolkit[asr]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/03_Speech_Commands.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"!pip install unidecode\n",
"\n",
"# ## Install NeMo\n",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[asr]\n",
"!pip install nemo-toolkit[asr]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/05_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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[asr]\n",
"!pip install nemo-toolkit[asr]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/06_Voice_Activiy_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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[asr]\n",
"!pip install nemo-toolkit[asr]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/asr/07_Online_Offline_Microphone_VAD_Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"!pip install pyaudio\n",
"\n",
"# ## Install NeMo\n",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git#egg=nemo_toolkit[asr]\n",
"!pip install nemo-toolkit[asr]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html"
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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[nlp]"
"!pip install nemo-toolkit[nlp]==1.0.0b1"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/02_NLP_Tokenizers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@{BRANCH}#egg=nemo_toolkit[nlp]"
"!pip install nemo-toolkit[nlp]==1.0.0b1"
]
},
{
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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[nlp]\n"
"!pip install nemo-toolkit[nlp]==1.0.0b1\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 @@ -23,7 +23,7 @@
"\n",
"# install NeMo\n",
"BRANCH = 'main'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@{BRANCH}#egg=nemo_toolkit[nlp]"
"!pip install nemo-toolkit[nlp]==1.0.0b1"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/nlp/Punctuation_and_Capitalization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[nlp]\n"
"!pip install nemo-toolkit[nlp]==1.0.0b1\n"
],
"execution_count": null,
"outputs": []
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 @@ -73,7 +73,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@{BRANCH}#egg=nemo_toolkit[nlp]"
"!pip install nemo-toolkit[nlp]==1.0.0b1"
],
"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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git#egg=nemo_toolkit[nlp]\n"
"!pip install nemo-toolkit[nlp]==1.0.0b1]\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 @@ -42,7 +42,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[nlp]\n",
"!pip install nemo-toolkit[nlp]==1.0.0b1\n",
"\n"
],
"execution_count": null,
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 @@ -18,7 +18,7 @@
"# If you're using Google Colab and not running locally, run this cell\n",
"\n",
"# install NeMo\n",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git#egg=nemo_toolkit[nlp]\n"
"!pip install nemo-toolkit[nlp]==1.0.0b1]\n"
]
},
{
Expand Down
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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[nlp]\n"
"!pip install nemo-toolkit[nlp]==1.0.0b1\n"
],
"execution_count": null,
"outputs": []
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",
"!python -m pip install --upgrade git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[asr]\n",
"!pip install nemo-toolkit[asr]==1.0.0b1\n",
"\n",
"## Install TorchAudio\n",
"!pip install torchaudio>=0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n"
Expand Down
2 changes: 1 addition & 1 deletion tutorials/tts/1_TTS_inference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,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",
"# !pip install git+git://github.com/nvidia/NeMo.git@main#egg=nemo_toolkit[tts]"
"# !pip install nemo-toolkit[tts]==1.0.0b1"
]
},
{
Expand Down

0 comments on commit 5cf0428

Please sign in to comment.